mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 14:36:09 +02:00
IDE: word completion: fixed getting prefix with lines with tabs
git-svn-id: trunk@18206 -
This commit is contained in:
parent
0915feea3c
commit
2f13da5b12
@ -1545,7 +1545,7 @@ Begin
|
||||
else begin
|
||||
while (i > 0) and (TextS[i] in ['a'..'z','A'..'Z','0'..'9','_']) do
|
||||
dec(i);
|
||||
TextS2 := Trim(copy(TextS, i + 1, FEditor.CaretX - i - 1));
|
||||
TextS2 := Trim(copy(TextS, i + 1, LogCaret.X - i - 1));
|
||||
end;
|
||||
with TCustomSynEdit(Sender) do begin
|
||||
P := Point(CaretXPix - length(TextS2)*CharWidth,CaretYPix + LineHeight + 1);
|
||||
|
@ -13,7 +13,7 @@
|
||||
*****************************************************************************
|
||||
|
||||
Abstract:
|
||||
A wordcompletion stores words and can createe a list of words gathered
|
||||
A wordcompletion stores words and can createse a list of words gathered
|
||||
from the recently added words and provided source texts.
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user