An Idea Exchange for SAS software and services

by Regular Contributor
on ‎07-31-2017 12:54 PM

Great suggestion! Also would come in handy when running a large section of code and needing to change a variable at the top. I would use this shortcut frequently.


I have seen this ability in other editors/IDEs. Something simple like the arrow keys or home/end would be nice.

by SAS Super FREQ
on ‎08-01-2017 01:10 AM

Thanks for the suggestion.  Please help me understand the idea...


Currently, if there is a selection and you press the left arrow, the caret moves to the beginning of the selection and the selection is cleared.  If there is a selection and you press the right arrow, the caret moves to the end of the selection and the selection is cleared.  Are you asking for a way to edit the text within the selection without losing the selection?


If you aren't concerned about retaining the selection (and the fact that it overwrites your clipboard and doesn't behave well when no selection), you can accomplish "quoting the entire selection with one set of comment markers" with a keyboard macro such as the following:






by Regular Contributor
on ‎08-01-2017 09:23 AM

I was mistaken; I thought if you had a selection highlighted and used the arrow keys, it would only impact the location where the cursor was last, not the selection start/end points.


Thanks, @CaseySmith!

by SAS Employee fifthand57th
on ‎08-02-2017 09:33 AM
Status changed to: Implemented
Idea Statuses
Top Liked Authors