formatting

git-svn-id: trunk@21935 -
This commit is contained in:
paul 2009-10-01 08:48:38 +00:00
parent b3ebc0bd80
commit 17d9e2dd68
2 changed files with 8 additions and 9 deletions

View File

@ -1840,7 +1840,7 @@ begin
SourceNotebook.OnOpenFileAtCursorClicked := @OnSrcNotebookFileOpenAtCursor;
SourceNotebook.OnProcessUserCommand := @OnProcessIDECommand;
SourceNotebook.OnReadOnlyChanged := @OnSrcNotebookReadOnlyChanged;
SourceNotebook.OnShowHintForSource :=@OnSrcNotebookShowHintForSource;
SourceNotebook.OnShowHintForSource := @OnSrcNotebookShowHintForSource;
SourceNotebook.OnShowUnitInfo := @OnSrcNoteBookShowUnitInfo;
SourceNotebook.OnToggleFormUnitClicked := @OnSrcNotebookToggleFormUnit;
SourceNotebook.OnToggleObjectInspClicked:= @OnSrcNotebookToggleObjectInsp;
@ -13539,13 +13539,12 @@ begin
itDebugger: begin
Identifier := SrcEdit.GetWordFromCaret(CaretPos);
if Identifier = '' then Exit;
if SrcEdit.SelectionAvailable
and SrcEdit.CaretInSelection(CaretPos)
then Expression := SrcEdit.GetText(True)
else Expression := Identifier;
if not DebugBoss.Evaluate(Expression, DebugEval)
or (DebugEval = '')
then DebugEval := '???';
if SrcEdit.SelectionAvailable and SrcEdit.CaretInSelection(CaretPos) then
Expression := SrcEdit.GetText(True)
else
Expression := Identifier;
if not DebugBoss.Evaluate(Expression, DebugEval) or (DebugEval = '') then
DebugEval := '???';
SmartHintStr := Expression + ' = ' + DebugEval;
end;
else

View File

@ -3602,7 +3602,7 @@ begin
DragManager.MouseMove(Shift, P.X, P.Y);
end;
if Assigned(FOnMouseMove) then FOnMouseMove(Self, Shift, X,Y);
if Assigned(FOnMouseMove) then FOnMouseMove(Self, Shift, X, Y);
end;
{------------------------------------------------------------------------------