Aug 6, 2011 Replies: 121 This library contains RichString and RichStringBuilder objects. These objects are analogous to the normal String and StringBuilder. However RichStrings can contain formatting information that controls how they are drawn when used as the text in a View. This library also contains a RichStringFormatter object. This object, once suitably initialised, will efficiently format RichStrings passed to it. For long strings that require many changes of format this is much more efficient than using the individual RichString formatting commands. EDIT :- Version 1.1 posted. See post #8 for details. EDIT :- Version 1.2 posted including RichStringFormatter. See post #13 for details. EDIT :- Version 1.3 posted. See post #15 for details. EDIT :- Version 1.4 posted. See post #56 for details. EDIT (by Erel) :- Version 1.5: https://www.b4x.com/android/forum/threads/richstring-library.10680/page-6#post-475477 Attachments RichString.zip RichString.zip 11.6 KB · Views: 3,217 Last edited by a moderator: Jan 5, 2017 Click to expand...
This library contains RichString and RichStringBuilder objects. These objects are analogous to the normal String and StringBuilder. However RichStrings can contain formatting information that controls how they are drawn when used as the text in a View. This library also contains a RichStringFormatter object. This object, once suitably initialised, will efficiently format RichStrings passed to it. For long strings that require many changes of format this is much more efficient than using the individual RichString formatting commands. EDIT :- Version 1.1 posted. See post #8 for details. EDIT :- Version 1.2 posted including RichStringFormatter. See post #13 for details. EDIT :- Version 1.3 posted. See post #15 for details. EDIT :- Version 1.4 posted. See post #56 for details. EDIT (by Erel) :- Version 1.5: https://www.b4x.com/android/forum/threads/richstring-library.10680/page-6#post-475477
Erel B4X founder Staff member Licensed User Longtime User Jul 16, 2018 #121 Turbo3 said: So we have come full circle from "it can already be done" to " never be updated". Click to expand... I don't think that agraham will update this library. Don't wait for it. Instead learn how to use CSBuilder if RichString doesn't work for you.
Turbo3 said: So we have come full circle from "it can already be done" to " never be updated". Click to expand... I don't think that agraham will update this library. Don't wait for it. Instead learn how to use CSBuilder if RichString doesn't work for you.
T Turbo3 Active Member Licensed User Longtime User Jul 17, 2018 #122 As I said, with the modifications I made, RichString now does everything I need so I can concentration on adding features to my app.
As I said, with the modifications I made, RichString now does everything I need so I can concentration on adding features to my app.