mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 09:48:36 +02:00
codetools: fixed LineColIsOutSide
git-svn-id: trunk@40929 -
This commit is contained in:
parent
497c1f77e0
commit
b6a35980e9
@ -2536,6 +2536,7 @@ begin
|
||||
// context behind
|
||||
if (IdentEndPos<SrcLen) then begin
|
||||
MoveCursorToCleanPos(IdentEndPos);
|
||||
//debugln(['TIdentCompletionTool.GatherIdentifiers "',dbgstr(Src,IdentStartPos,IdentEndPos-IdentStartPos),'"']);
|
||||
InFrontOfDirective:=(CurPos.StartPos<SrcLen) and (Src[CurPos.StartPos]='{')
|
||||
and (Src[CurPos.StartPos+1]='$');
|
||||
ReadNextAtom;
|
||||
|
@ -781,7 +781,7 @@ begin
|
||||
if (Line=FLineCount+1)
|
||||
and ((Column>1) or (FSource='') or (not (FSource[FSrcLen] in [#10,#13]))) then
|
||||
exit;
|
||||
Result:=true;
|
||||
Result:=false;
|
||||
end;
|
||||
|
||||
function TSourceLog.LineColIsSpace(Line, Column: integer): boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user