codetools: fixed LineColIsOutSide

git-svn-id: trunk@40929 -
This commit is contained in:
mattias 2013-04-29 10:08:49 +00:00
parent 497c1f77e0
commit b6a35980e9
2 changed files with 2 additions and 1 deletions

View File

@ -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;

View File

@ -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;