mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 12:40:20 +02:00
Synedit: Codetemplate fix for tabs. Issue #0020700
git-svn-id: trunk@33589 -
This commit is contained in:
parent
a0906eb9fc
commit
7a39358a8c
@ -245,7 +245,7 @@ begin
|
|||||||
if AEditor <> nil then begin
|
if AEditor <> nil then begin
|
||||||
// get token
|
// get token
|
||||||
s := AEditor.LineText;
|
s := AEditor.LineText;
|
||||||
j := AEditor.CaretX;
|
j := AEditor.LogicalCaretXY.x;
|
||||||
i := j - 1;
|
i := j - 1;
|
||||||
if i <= Length(s) then begin
|
if i <= Length(s) then begin
|
||||||
while (i > 0) and (s[i] > ' ') and (Pos(s[i], fEOTokenChars) = 0) do
|
while (i > 0) and (s[i] > ' ') and (Pos(s[i], fEOTokenChars) = 0) do
|
||||||
|
Loading…
Reference in New Issue
Block a user