mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 23:29:25 +02:00
Merged revision(s) 55460 #39b48d2cf9 from trunk:
IDE: Fix left/right arrow key behavior in identifier completion. Issue #32117, patch from Anton. ........ git-svn-id: branches/fixes_1_8@55472 -
This commit is contained in:
parent
e3226dc645
commit
31d2751d41
@ -2566,7 +2566,7 @@ begin
|
||||
if Editor=nil then exit;
|
||||
Editor.CaretX:=Editor.CaretX-1;
|
||||
NewLen:=UTF8FindNearestCharStart(PChar(NewPrefix),length(NewPrefix),
|
||||
length(NewPrefix))-1;
|
||||
length(NewPrefix)-1);
|
||||
NewPrefix:=copy(NewPrefix,1,NewLen);
|
||||
CurrentString:=NewPrefix;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user