0 Replies Latest reply on Oct 28, 2007 6:07 AM by jonpor

    determining richtexteditor cursor caret position

    jonpor
      I've seen this question asked before but I've never seen a solution. I want to place a popup/dropdown at the current cursor position in a richtexteditor. Since this control is multi line it is not as simple as using the insertion point. Any ideas?

      I could parse the htmltext in the richTextEditor looking for linebreaks and such, then relate it to the current scroll bar position, etc, but that sounds like a HECK of a lot of work and rather bug prone/hackish..

      Any suggestions? I'm going to dig more at the application level and see if perhaps there is something outside of the richTextEditor control that can relate the cursor position to a global point.

      Thanks!