In vanilla Flash I could get the current cursor position via the Selection class, but this doesn't not appear to be available in Flex 2. The extensibility of the RichTextEditor control is severely compromised if there is not a way to get the current cursor position (and dynamically update the text). I know this information is available in the control since it is able to insert BOLD tags in the middle of the text.
Is there an API for this? If not can we get one? Something like, richTextEditor.textArea.currentIndex would be valuable. ~harris --- In [email protected], "Harris Reynolds" <[EMAIL PROTECTED]> wrote: > > Is there a way to find the current position of the cursor on a > RichTextEditor control? I see how to get the start and end position > of selected text, but not how to get the single index of the cursor > (when there isn't any text selected/highlighted). > > thanks, > > ~harris > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

