* * *

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

Alextp

  • Sr. Member
  • ****
  • Posts: 368
    • 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

?

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus