mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-24 10:39:30 +02:00
formatting
git-svn-id: trunk@21935 -
This commit is contained in:
parent
b3ebc0bd80
commit
17d9e2dd68
15
ide/main.pp
15
ide/main.pp
@ -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
|
||||
|
@ -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;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user