mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 13:39:30 +02:00
MG: fix for empty word completion
git-svn-id: trunk@310 -
This commit is contained in:
parent
68552f0239
commit
ff39f433d9
@ -727,7 +727,7 @@ Begin
|
||||
dec(i);
|
||||
while (i > 0) and (TextS[i] in ['a'..'z','A'..'Z','0'..'9','_']) do
|
||||
dec(i);
|
||||
TextS2 := copy(TextS, i + 1, FEditor.CaretX - i - 1);
|
||||
TextS2 := Trim(copy(TextS, i + 1, FEditor.CaretX - i - 1));
|
||||
end;
|
||||
with TCustomSynEdit(Sender) do
|
||||
P := ClientToScreen(Point(CaretXPix - length(TextS2)*CharWidth
|
||||
|
Loading…
Reference in New Issue
Block a user