Option to force double-click to select a single word #5601
-
It's universal for any text field to select the word under caret when you double-click. Cuda has a feature that it recognizes var names and selects the entire name even if it's composed by multiple words (Kebab case). For instance, in a CSS file, if I dbclick I'm not used to that, In Np++ it always selects the word and I think it's better. For instance, I needed to change a I understand Cuda behavior as a good feature, but it would be good to have an option to change this. I don't think I need to compare my requests to other editors, but just for you to know: VSCode behaves as I want, SublimeText 3 behaves as I want, Sublime 4 is like Cuda, Kate is like Cuda, Notepad++ as already said is as I want. By the way, Kate is a bit different to Cuda as it also includes the 'type' in selection. For instance, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Kate's work and VSCode's work can be emulated if you change the option "nonword_chars" (do it in lexer override - for the CSS lexer it is file "lexer CSS.json"). |
Beta Was this translation helpful? Give feedback.
-
to select dot-chat in ".menu-title", remove dot-char from "nonword_chars". |
Beta Was this translation helpful? Give feedback.
Kate's work and VSCode's work can be emulated if you change the option "nonword_chars" (do it in lexer override - for the CSS lexer it is file "lexer CSS.json").