From 3731f23757f567ee37e855c01800329cebb3d857 Mon Sep 17 00:00:00 2001 From: juha Date: Wed, 31 Oct 2012 21:29:18 +0000 Subject: [PATCH] IDE: formatting git-svn-id: trunk@39212 - --- ide/sourceeditor.pp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ide/sourceeditor.pp b/ide/sourceeditor.pp index b278196fe5..8edb332ced 100644 --- a/ide/sourceeditor.pp +++ b/ide/sourceeditor.pp @@ -2676,8 +2676,7 @@ begin // Fill in history items LazFindReplaceDialog.TextToFindComboBox.Items.Assign(InputHistories.FindHistory); - LazFindReplaceDialog.ReplaceTextComboBox.Items.Assign( - InputHistories.ReplaceHistory); + LazFindReplaceDialog.ReplaceTextComboBox.Items.Assign(InputHistories.ReplaceHistory); with EditorComponent do begin if EditorOpts.FindTextAtCursor then begin @@ -2687,7 +2686,7 @@ begin ((ComparePoints(BlockBegin, LogicalCaretXY) >= 0) and (ComparePoints(BlockEnd, LogicalCaretXY) <= 0)) ) - then begin + then begin //debugln('TSourceEditor.StartFindAndReplace B FindTextAtCursor SelAvail'); LazFindReplaceDialog.FindText := SelText end else begin @@ -2840,8 +2839,7 @@ begin Result:=EditorComponent.SearchReplace(aFindText, aReplaceText, anOptions); except on E: ERegExpr do begin - MessageDlg(lisUEErrorInRegularExpression, - E.Message,mtError,[mbCancel],0); + MessageDlg(lisUEErrorInRegularExpression, E.Message,mtError,[mbCancel],0); exit; end; end;