Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Double click to select word does not include underscore when viewing source code

  • 4 replies
  • 19 have this problem
  • 36 views
  • Last reply by cor-el

more options

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?

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
)

Read this answer in context 👍 0

All Replies (4)

more options

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 by smorele

more options

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 by trand

more options

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 :(

more options

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
)