From 8651b74a8708afa27711668cfe4c0783c28f3163 Mon Sep 17 00:00:00 2001 From: mattias Date: Sat, 13 Jun 2009 20:31:49 +0000 Subject: [PATCH] IDE: clean up git-svn-id: trunk@20619 - --- ide/main.pp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ide/main.pp b/ide/main.pp index fed31836b3..7c17d0d3bb 100644 --- a/ide/main.pp +++ b/ide/main.pp @@ -14009,17 +14009,15 @@ begin SaveSourceEditorChangesToCodeCache(EditorIndex); CodeBuf:=SrcEditor.CodeBuffer; CodeBuf.LineColToPosition(LogCaret.Y,LogCaret.X,p); - debugln(['TMainIDE.OnSrcNoteBookGetIndent AAA1 ',dbgs(LogCaret),' p=',p,' ',CodeBuf.Filename,' ',CodeBuf.SourceLength]); if p<1 then exit; NestedComments:=CodeToolBoss.GetNestedCommentsFlagForFile(CodeBuf.Filename); if not CodeToolBoss.Indenter.GetIndent(CodeBuf.Source,p,NestedComments,NewIndent) then exit; - debugln(['TMainIDE.OnSrcNoteBookGetIndent AAA2 ',NewIndent.IndentValid,' ',NewIndent.Indent,' Indent=',Indent,' BasedLine=',BasedLine,' ReplaceIndent=',ReplaceIndent]); if not NewIndent.IndentValid then exit; Indent:=NewIndent.Indent+1; ReplaceIndent:=true; BasedLine:=-1; - DebugLn(['TMainIDE.OnSrcNoteBookGetIndent END Indent=',Indent,' ReplaceIndent=',ReplaceIndent,' BasedLine=',BasedLine]); + //DebugLn(['TMainIDE.OnSrcNoteBookGetIndent END Indent=',Indent,' ReplaceIndent=',ReplaceIndent,' BasedLine=',BasedLine]); end; procedure TMainIDE.OnSrcNotebookMovingPage(Sender: TObject; OldPageIndex,