08-29-2022, 06:35 PM
Many editors copy entire line if there is no selection. Some have an option to turn off it.
Then the text usually ends with newline character. If I don't need entire lines:
Macro Macro3237
Else don't know.
Then the text usually ends with newline character. If I don't need entire lines:
Macro Macro3237
_s.getsel
out _s.len
if(_s.len=0) ret
if(_s[_s.len-1]=10) mes "please select a word, not entire line"; ret
out _s
Else don't know.