ide: add watch at cursor: add full expression instead of the current word

git-svn-id: trunk@21970 -
This commit is contained in:
paul 2009-10-02 02:44:23 +00:00
parent 71d8ecf4de
commit a27471e433

View File

@ -1337,7 +1337,7 @@ begin
// get the sourceEditor.
SE := TSourceNotebook(Sender).GetActiveSE;
if not Assigned(SE) then Exit;
WatchVar := SE.GetWordAtCurrentCaret;
WatchVar := SE.GetOperandAtCurrentCaret;
if WatchVar = '' then Exit;
if (Watches.Find(WatchVar) = nil)