Layout.word select.stop at punctuation
From MozillaZine Knowledge Base
Jump to navigationJump to search
Background
This preference controls the selection behaviour when double-clicking text as it relates to punctuation surrounding the text. It also affects the way some shortcuts (e.g. Ctrl+Left/Right arrow) and Ctrl+Backspace) work when editing text.
Possible values and their effects
True
"Word" selection includes surrounding punctuation and only stops at whitespace, so that for example double-clicking example.com/the/path and the other above-mentioned shortcuts select the entire URL. (Default on Linux/Unix and OS2 for all apps except Minimo and Firefox after bug 190615)
False
Word selection using the above mentioned shortcuts ends at punctuation characters. (Default on Minimo and all platforms except Linux/Unix and OS2)
First checked in
Has an effect in
- Netscape (all versions since 7.0)
- Mozilla Suite (all versions since 0.9.6)
- Phoenix (all versions)
- Firebird (all versions)
- Firefox (all versions)
- Thunderbird (verified for 1.5.0.9)
- Minimo (all versions)
- SeaMonkey (all versions)
Related bugs
- Bug 98546 - Better word-break detection (double-clicking, Control+arrow keys, Control+Backspace/Delete)
- Bug 190615 - make stop_at_punctuation=true the default on unix (double-clicking shouldn't select punctuation)
- Bug 193025 - Pref "layout.word_select.stop_at_punctuation" can't be set in user's user.js.
- Bug 194925 - Split layout.word_select.stop_at_punctuation behaviour in two prefs, one for keyboard, one for mouse