Unicode in Notepad++ with ControlGet Selected

Report problems with documented functionality
gabi
Posts: 1
Joined: 11 Sep 2019, 03:12

Unicode in Notepad++ with ControlGet Selected

11 Sep 2019, 03:20

I use AHK with Notepad++ to execute code into Putty. To reproduce this bug, use the AHK code

Code: Select all

RShift & Enter::
ControlGet, outputVar, Selected,, Scintilla1, ahk_class Notepad++
MsgBox, Value Is: %outputVar%
and in notepad++ try two different scenarios
e
<begin selection>1+1<end selection>
Output: 1+1

and in notepad++ try two different scenarios
é
<begin selection>1+1<end selection>
Output: +1
lexikos
Posts: 6657
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: Unicode in Notepad++ with ControlGet Selected

11 Sep 2019, 04:57

Selected
Retrieves the selected text in an Edit control.
Scintilla controls are not Edit controls. If a control responds to Edit control messages correctly, it will work. Scintilla controls do not respond to all Edit control messages correctly.

See also: ControlGet Line (mainly the replies).

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 20 guests