richmemo: win32 fix the regerssion in getting sub text
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5708 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
f1a4e8043a
commit
f75e49b2fd
@ -1152,6 +1152,7 @@ begin
|
||||
RichEditManager.GetSelRange(Hnd, Orig);
|
||||
end;
|
||||
|
||||
RichEditManager.SetSelection(Hnd, TextStart, TextLen);
|
||||
isUnicode:=AsUnicode;
|
||||
if AsUnicode then
|
||||
utxt:=RichEditManager.GetTextW(Hnd, true)
|
||||
|
Loading…
Reference in New Issue
Block a user