Hi,
I can't use the command SCI_GETTARGETTEXT
https://scintilla.sourceforge.io/Scintil...TARGETTEXT
I found its value #define SCI_GETTARGETTEXT 2687
The following code does not work
I tried to replace qmsci.dll with version5.33, but it didn't work
Thanks in advance for any advice and help
david
Macro Macro6
I can't use the command SCI_GETTARGETTEXT
https://scintilla.sourceforge.io/Scintil...TARGETTEXT
I found its value #define SCI_GETTARGETTEXT 2687
The following code does not work
I tried to replace qmsci.dll with version5.33, but it didn't work
Thanks in advance for any advice and help
david
Macro Macro6
int sci=GetQmCodeEditor
int cp=SendMessage(sci SCI.SCI_GETCURRENTPOS 0 0)
int line=SendMessage(sci SCI.SCI_LINEFROMPOSITION cp 0)
int lineStart=SendMessage(sci SCI.SCI_POSITIONFROMLINE line 0)
SendMessage(sci SCI.SCI_SETTARGETSTART lineStart 0)
int lineEnd=SendMessage(sci SCI.SCI_GETLINEENDPOSITION line 0)
SendMessage(sci SCI.SCI_SETTARGETEND lineEnd 0)
def SCI_GETTARGETTEXT 2687
SendMessage(sci SCI.SCI_GETTARGETTEXT 0 _s)