
Double click to select word does not include underscore when viewing source code
When I double click on a word like 'a_word_with_underscore', I just get the result at the pointer's position. For example, my pointer is on the word 'with', double click and get 'with', it should be the whole world 'a_word_with_underscore'.
Could you please consider my idea?
Chosen solution
See:
- bug 196175 - underscore should be part of word, not punctuation
(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html)
All Replies (4)
Hi, trand, there is an option in Firefox to change the behavior. In your URL bar, tape about:config Agree with the message by clicking the button search for layout.word_select.stop_at_punctuation
Your value must be set to true then double-click on the line to set it as false. And voila !
Does it solve your issue?
Sébastien
Modified
Dear Sébastien,
Thank you for your feedback, but it doesn't solve the issue because I get more than expected.
Let's take a look at another case: resource://activity-stream/vendor/react_dom.js. If the value of stop_at_punctuation is false and I just want to get 'react_dom.js', I'll get the whole string if I double click on it. I tried on chrome and got expected result.
Modified
Well, thanks for your answer. At my level, I do not know how to do it and I even know if this feature exists in Firefox :(
Chosen Solution
See:
- bug 196175 - underscore should be part of word, not punctuation
(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html)