3 Replies Latest reply on Nov 19, 2012 7:40 AM by dvvk

    Adding a TABSTOP character into a RichEditableText component

    smon_ed Level 1

      I am placing html text, loaded from a database, into a RichEditableText component.


      instance.textFlow = TextConverter.importToFlow(txtString, TextConverter.TEXT_FIELD_HTML_FORMAT);


      The loaded text contains tab characters but they are not displaying.


      I have tried to find a solution by saving my text to database with the tab characters replaced with a custom string like ~tab~


      I then am using a search-and-replace function to replace all of the instances of ~tab~ with a tabstop character.


      But I still can't get the character to display.  "\t" doesn't workand nor does anything else I have tried.


      Any ideas what I can do to get the tabstops to display?  *confused*