Difference between revisions of "SDL's TextWrapper and TextSplitter"
From LinuxMCE
m (SDL's TextWrapper and TextSlitter moved to SDL's TextWrapper and TextSplitter) |
|
(No difference)
|
Revision as of 10:51, 7 April 2006
This page was written by Pluto and imported with their permission when LinuxMCE branched off in February, 2007. In general any information should apply to LinuxMCE. However, this page should be edited to reflect changes to LinuxMCE and remove old references to Pluto. |
Examples: 1) if the text is "I am cool", will have three words: "I ", "am " and "cool". 2) if the text is "I_am_busy right now", the words can be: "I_am", "busy ", "right ", "now ".
This change avoids the logic flaw from the old behavior when extra spaces appeared after non alpha-numeric chars. ("I_am_busy right now" was splitted as "I_", "am_", "busy", "right", "now", which was rendered as: "I_ am_ busy right now".