gnunn1 / tilix

A tiling terminal emulator for Linux using GTK+ 3
https://gnunn1.github.io/tilix-web
Mozilla Public License 2.0
5.36k stars 293 forks source link

Word-wise select chars are ignored #2150

Open JanStreffing opened 1 year ago

JanStreffing commented 1 year ago

As far as I understand under Preferences>Profiles>Default>Word-wise select chars users should be able to define which characters limit the extent of selected text when double clicking. Currently I have the following limiters defined: image

Yet double clicking into the following line: image The highlight looks like this: image

It crosses multiple of the specified select chars. I found a related, closed issues, where a user tagged this problem at the end: https://github.com/gnunn1/tilix/issues/1372

sjpp commented 1 year ago

I have noticed the same behavior and, odd enough, if I remove the :from the list, it worked. I had the same in Mate Terminal (from MAte Desktop). With the : in separator settings the words cat and toto are selected all together:

Capture d’écran 2023-02-17 à 07 31 01

Without it, they are selected per word:

Capture d’écran 2023-02-17 à 07 32 59

I don't know why (just a Tilix user here), my guess is that something has been integrated in the underlying VTE lib that conflicts with this setting ?

JanStreffing commented 1 year ago

You are right, that does indeed circumvent the bug for me too. And the colon even works as a word separator after telling tilix that it should not be one anymore. I guess that's an easy enough workaround for now.