2 Replies Latest reply on Oct 18, 2011 5:24 AM by UBianca

    RichEditableText  that contains readonly parts of text in Flex 4.1





      Is there a way to make parts of text readonly in a RichEditableText ?

      What I actualy want is to be able to append words that would act as a char, meaning the user won't be able to modify the word and if he tries to delete it , the whole word will be deleted.

      I've tried to search for the 'editable' properties on the elements from a TextFlow or  on a TextLayoutFormat but there's no such thing ....

      The other solution I thought would be to save the position for the readonly words, and on each text change update positions and check if the editing affects any readonly word. The problem is that I fear this solution  would add a semnificant delay on editing .

      Can you please point me to a solution?