How can I give some basic text editing functionality to a firefox plugin?

Posted by roddik on Stack Overflow See other posts from Stack Overflow or by roddik
Published on 2010-04-06T13:22:54Z Indexed on 2010/04/06 13:23 UTC
Read the original article Hit count: 167

Filed under:
|

Hello. I'm writing a plugin to Firefox, which is basically a sidebar, that is filled with yaml-formatted information based on what user does on the page (just another web testing solution). I want to enable user to change generated text manually right in the sidebar and:

  1. Add code-folding (folding click: \n text: some text to a single line)
  2. Add highlighting of registered actions (click, fill and so on) and unregistered actions (syntax errors)

How do I do that? Is placing an iframe to the sidebar and trying to do that with html/js the best solution (seen it in a similar one)?

As you may have noticed, I'm a newbie in plugin writing, so please excuse if anything.

© Stack Overflow or respective owner

Related posts about firefox-extension

Related posts about xul