Opened 7 years ago

Closed 7 years ago

#9822 closed bug (fixed)

StyledEdit fix

Reported by: DanielW Owned by: korli
Priority: normal Milestone: R1
Component: Applications/StyledEdit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
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.

Change History (1)

comment:1 by korli, 7 years ago

Resolution: fixed
Status: newclosed
Version: R1/alpha4.1R1/Development

Applied fix in hrev45760. Thanks! Please next time provide a git-format patch.

Note: See TracTickets for help on using tickets.