#9822: StyledEdit fix -------------------------------------+--------------------------- Reporter: DanielW | Owner: korli Type: bug | Status: new Priority: normal | Milestone: R1 Component: Applications/StyledEdit | Version: R1/alpha4.1 Keywords: | Blocked By: Blocking: | Has a Patch: 0 Platform: All | -------------------------------------+--------------------------- StyledEdit's Statistics miscalculates the number of words. To reproduce type in a few words and instead of hitting space between them hit enter. The fix it is easy on line 1828 of StyledEditWindow.cpp is the method IsSpace(fTextView->Text()[i]) which should be changed to IsWhitespace(fTextView->Text()[i]). I have compiled my local copy and it now counts words correctly. -- Ticket URL: <http://dev.haiku-os.org/ticket/9822> Haiku <http://dev.haiku-os.org> Haiku - the operating system.