PeterPanettone 157 Posted April 30 (edited) In Tools -> Tool Properties -> Macros, there is no $Selection Macro to access the currently selected text in the Code Editor. The only macro to access content from the Code Editor is $CURTOKEN, which accesses the word at the caret position. Or is there a Macro to access the selected text? Edited April 30 by PeterPanettone Share this post Link to post
PeterPanettone 157 Posted May 1 A $Selection Macro would be very helpful. It would allow the creation of Tools that process the text selected in the Editor. Share this post Link to post
PeterBelow 238 Posted May 1 3 hours ago, PeterPanettone said: A $Selection Macro would be very helpful. It would allow the creation of Tools that process the text selected in the Editor. How could it deal with selections spanning multiple lines or columns? That cannot be handled as command-line parameters. Just hitting Ctrl-C and launching a tool that processes the content of the clipboard and puts the modified text back on it, then pressing Ctrl-V is much more flexible, IMO. Share this post Link to post
PeterPanettone 157 Posted May 1 1 hour ago, PeterBelow said: Just hitting Ctrl-C and launching a tool that processes the content of the clipboard and puts the modified text back on it, then pressing Ctrl-V That includes multiple tedious manual steps, whereas the whole procedure could be performed simply with one single keyboard shortcut: https://embt.atlassian.net/servicedesk/customer/portal/1/RSS-821 Share this post Link to post