Closed Bug 60613 Opened 24 years ago Closed 24 years ago

Double-click to select word shouldn't select punctuation marks

Categories

(Core :: DOM: Selection, defect, P3)

PowerPC
Mac System 9.x
defect

Tracking

()

VERIFIED DUPLICATE of bug 16352

People

(Reporter: devsin, Assigned: mjudge)

Details

When you select a word by double-clicking, any punctuation mark immediately following the word should not be selected. For example: SelectMeNow! Notice that both the word and the exclamation point are selected. I'm not aware of any other app that displays this behavior: the Finder, SimpleText, Word, AppleWorks, etc., all omit the punctuation mark when selecting via double-click. This is most annoying in HTML Form text entry fields (such as the comments field), but is present everywhere. Note that this has to be smart as you need to be allowed to select contractions (hasn't, etc.) and hyphenated words and not symbols (TM, etc.). My guess is to check to see if the last character is a letter and, if it isn't, omit it when selecting.
*** This bug has been marked as a duplicate of 16352 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verified, this is a duplicate of bug 16352 "Heuristics used for selecting double-clicked words are a bit primitive."
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.