mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 17:40:17 +02:00
codetools: clean up
git-svn-id: trunk@28499 -
This commit is contained in:
parent
94948dde5e
commit
9eb142f295
@ -1087,7 +1087,6 @@ begin
|
||||
if AtomIsChar(';') then begin
|
||||
// last unit in uses section -> delete whole uses section
|
||||
StartPos:=FindLineEndOrCodeInFrontOfPosition(UsesNode.StartPos,true,true);
|
||||
debugln(['TStandardCodeTool.RemoveUnitFromUsesSection AAA1 "',dbgstr(copy(Src,StartPos,UsesNode.EndPos-StartPos)),'"']);
|
||||
if not SourceChangeCache.Replace(gtNone,gtNone,
|
||||
StartPos,UsesNode.EndPos,'') then exit;
|
||||
end else begin
|
||||
|
Loading…
Reference in New Issue
Block a user