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