Synedit: Codetemplate fix for tabs. Issue #0020700

git-svn-id: trunk@33589 -
This commit is contained in:
martin 2011-11-17 15:01:41 +00:00
parent a0906eb9fc
commit 7a39358a8c

View File

@ -245,7 +245,7 @@ begin
if AEditor <> nil then begin
// get token
s := AEditor.LineText;
j := AEditor.CaretX;
j := AEditor.LogicalCaretXY.x;
i := j - 1;
if i <= Length(s) then begin
while (i > 0) and (s[i] > ' ') and (Pos(s[i], fEOTokenChars) = 0) do