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

@ -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