mirror of
				https://gitlab.com/freepascal.org/lazarus/lazarus.git
				synced 2025-11-04 16:34:24 +01: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
 | 
					      // context behind
 | 
				
			||||||
      if (IdentEndPos<SrcLen) then begin
 | 
					      if (IdentEndPos<SrcLen) then begin
 | 
				
			||||||
        MoveCursorToCleanPos(IdentEndPos);
 | 
					        MoveCursorToCleanPos(IdentEndPos);
 | 
				
			||||||
 | 
					        //debugln(['TIdentCompletionTool.GatherIdentifiers "',dbgstr(Src,IdentStartPos,IdentEndPos-IdentStartPos),'"']);
 | 
				
			||||||
        InFrontOfDirective:=(CurPos.StartPos<SrcLen) and (Src[CurPos.StartPos]='{')
 | 
					        InFrontOfDirective:=(CurPos.StartPos<SrcLen) and (Src[CurPos.StartPos]='{')
 | 
				
			||||||
                            and (Src[CurPos.StartPos+1]='$');
 | 
					                            and (Src[CurPos.StartPos+1]='$');
 | 
				
			||||||
        ReadNextAtom;
 | 
					        ReadNextAtom;
 | 
				
			||||||
 | 
				
			|||||||
@ -781,7 +781,7 @@ begin
 | 
				
			|||||||
  if (Line=FLineCount+1)
 | 
					  if (Line=FLineCount+1)
 | 
				
			||||||
  and ((Column>1) or (FSource='') or (not (FSource[FSrcLen] in [#10,#13]))) then
 | 
					  and ((Column>1) or (FSource='') or (not (FSource[FSrcLen] in [#10,#13]))) then
 | 
				
			||||||
    exit;
 | 
					    exit;
 | 
				
			||||||
  Result:=true;
 | 
					  Result:=false;
 | 
				
			||||||
end;
 | 
					end;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function TSourceLog.LineColIsSpace(Line, Column: integer): boolean;
 | 
					function TSourceLog.LineColIsSpace(Line, Column: integer): boolean;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user