| View previous topic :: View next topic |
| Author |
Message |
panraven Grandmaster Cheater
Reputation: 62
Joined: 01 Oct 2008 Posts: 959
|
Posted: Thu Mar 05, 2020 8:05 am Post subject: How to get SynEdit Selected Text? |
|
|
And also SelStart/SelLength equivalent of Edit?
Thank you~ _________________
- Retarded. |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25831 Location: The netherlands
|
Posted: Thu Mar 05, 2020 8:22 am Post subject: |
|
|
in git now: SelText, SelStart, SelEnd _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
panraven Grandmaster Cheater
Reputation: 62
Joined: 01 Oct 2008 Posts: 959
|
Posted: Thu Mar 05, 2020 9:40 am Post subject: |
|
|
| Dark Byte wrote: | | in git now: SelText, SelStart, SelEnd |
Thank you~
btw it seems SynEdit also lack a default popup menu (eg. Cut/Copy...FInd/Replace), can it be added? _________________
- Retarded. |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25831 Location: The netherlands
|
Posted: Thu Mar 05, 2020 2:07 pm Post subject: |
|
|
There is no default popup, but you can always make it in lua using a popupmenu
I've just added the properties CanPaste, CanRedo and CanUndo
and the methods:
CopyToClipboard()
CutToClipboard()
PasteFromClipboard()
ClearUndo()
Redo()
Undo()
MarkTextAsSaved()
ClearSelection()
SelectAll()
which should be enough to build a nice menu _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
panraven Grandmaster Cheater
Reputation: 62
Joined: 01 Oct 2008 Posts: 959
|
|
| Back to top |
|
 |
|