New topic: Adding "Word Wrap" to Text Editor program
<http://forums.realsoftware.com/viewtopic.php?t=45881> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message barrytraver Post subject: Adding "Word Wrap" to Text Editor programPosted: Tue Nov 13, 2012 5:34 am Joined: Fri Sep 30, 2005 1:53 pm Posts: 769 Location: Philadelphia, PA Writing a text editor program in RB is (for most features) surprisingly simple, but thus far I've been unsuccessful in adding a "Word Wrap" feature that not only affects what appears on the screen but, more importantly, also modifies appropriately the contents of the file. I know that I need to remove carriage returns at the end of MOST lines EXCEPT FOR the carriage returns at the end of paragraphs, but How can I "teach" RB to recognize the difference between the two situations? (It's simple to remove ALL carriage returns, but that just makes ONE LONG PARAGRAPH, and that's not what I want to do.) Any advice? Barry Traver Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
