Community
Participate
Working Groups
DS (6/1/01 3:35:32 PM) On 116 Test Case Have a program running and paused at a breakpoint Go to the display view With nothing selected, hit the Inpsect or Display actions An evaluation occurs on the empty String. NOTES: GDA (6/5/01 11:40:48 AM) Defer DS (10/10/2001 4:29:14 PM) This is still the current behaviour...but have proposal/prototype to select the entire current line of an empty selection. @see 1GJ6GR9: ITPDUI:ALL - Display window enhancement
Suggest not to select current line - we cannot infer what the user wants to "inspect/display". However, we need to find out from EG, if action should just be disabled when no selection, or if we should provide a dialog explaining that an expression needs to be selected to be evaluated.
From EG In your particular case of Display/Inspect: * automatically expanding the selection to the line is not consistent with the rest of the platform. In particular the user never sees this implicit selection and the wrong expression could be executed by accident. * recommend to just disable Display/Inspect when the selection is empty * to simplify the execution of the recently entered text, we could provide a short-cut (ctrl-w) that selects the text between the end of the last output and the current cursor position (see 5357)
Fixed. Please verify in the display and Java Editor context menus and tool bars
And the snippet editor.
Verified in context menu and toolbar for snippet editor, in context menu and toolbar for DisplayView, and in context menu for java editor.