Restore original selection interval after any kind of do-it.
This is important if you print-it the following and skip the compiler hint:
| x |
Before this commit, the answer was displayed just after x, not at the end of the snippet.
=============== Diff against Morphic-mt.1604 ===============
Item was changed:
----- Method: TextEditor>>evaluateSelectionAndDo: (in category 'do-its') -----
"Treat the current selection as an expression; evaluate it and invoke aBlock with the result."
+ | selectionInterval result rcvr ctxt |
- | result rcvr ctxt |
self lineSelectAndEmptyCheck: [^ nil].
+ selectionInterval := self selectionInterval.