Recent

Author Topic: How to handle PrimarySelection in ATSynEdit?  (Read 1913 times)

AlexTP

  • Hero Member
  • *****
  • Posts: 2401
    • UVviewsoft
How to handle PrimarySelection in ATSynEdit?
« on: March 08, 2017, 12:21:03 pm »
How should ATSynEdit (not SynEdit) handle Primary selection on Linux gtk2?
How to code it?

maybe like this?-

- on copy Ctrl+C I need to do
  Clipboard.AsText:= s;
  PrimarySelection.AsText:= s;

- on middle click I need to paste
  text:= PrimarySelection.AsText

- on Ctrl+V I need
  text:= Clipboard.AsText

?

 

TinyPortal © 2005-2018