Opened 15 years ago

Closed 14 years ago

#4754 closed bug (fixed)

BTextView::FindWord works differently compared to BeOS R5 or BeBook

Reported by: ilzu Owned by: zooey
Priority: normal Milestone: R1
Component: Kits/Interface Kit Version: R1/alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

According to BeBook BTextView::FindWord() should work like this:

As implemented, this function allows the user to select a group of similar characters with a double-click. For example, in the following line of malformed text,

"You what!!?"

it would allow the user to select the words "You" and "what," the group of spaces between the words, and the group of punctuation marks at the end.

On BeOS R5 BTextView behaves like this, but on Haiku it does select the punctuation marks as part of the second word instead of a word of its own.

Attachments (1)

TextView.diff (470 bytes ) - added by ilzu 15 years ago.
After sending the last patch, I read BeBook, and noticed it was wrong, this only adds more characters to _CharClassification and doesn't do anything to wrapping

Download all attachments as: .zip

Change History (4)

comment:1 by axeld, 15 years ago

Owner: changed from axeld to zooey

by ilzu, 15 years ago

Attachment: TextView.diff added

After sending the last patch, I read BeBook, and noticed it was wrong, this only adds more characters to _CharClassification and doesn't do anything to wrapping

comment:2 by zooey, 14 years ago

Status: newassigned

comment:3 by zooey, 14 years ago

Resolution: fixed
Status: assignedclosed

Fixed in hrev33882 - thanks for reporting!

Note: See TracTickets for help on using tickets.