#383 add setting to configure word delimiters for selection

open
nobody
5
2012-05-31
2012-05-31
Nate
No

double-click selection has been added, very nicely thank you.
Problem is, the selection region is space-delimited.
A frequent example I deal with, grep -Hn output:

../path/to/filename.cpp:819:#define FOO(x) bar + x

If I double-click on, say, "filename.cpp," then I get the whole path, *plus* the ":819:#define" which I'm not interested in.
It would be helpful to configure the selection mechanism to limit itself to whitespace + certain "boundary" characters, like ':'
Happily, this wheel has already been invented, and should be available in some library somewhere. Unfortunately, I don't know what library this would be, but I can point to an example, the TeraTerm project available at http://ttssh2.sourceforge.jp. I'm attaching a screenshot of its configuration window.

the free PuTTY app has a similar selection configuration, but its configuration is more obscure, and I don't think it's opensource, anyway.

p.s. Thanks for all the work!

Discussion

  • Nate
    Nate
    2012-05-31

    screenshot of TeraTerm's Settings for Word Selection