Hi Neil,
Thanks for your answer!
Neil wrote:
That's actually part of editor. Look at editor/ui/dialogs/content/EdA* for inspiration.
Okay, I've set f'up to n.p.m.editor.
Now I've looked at the directory mentioned and already was lucky in changing the XUL code for this dialog, like this:
<menulist editable="true" id="AddCSSAttributeNameInput" flex="1" oncommand="onSelectCSSAttribute();" > <menupopup/> </menulist>
When I view the XUL file in the browser, that looks nice, just as I wanted it. :-)
But now the big question: the "HTML Attributes" tab has a similar behaviour like the one I desire. Above the <menulist>, there is a nice comment "<!-- Lists are built at runtime -->". So I searched the whole source code for "AddHTMLAttributeNameInput" because I assume there must be something like:
- find element "AddHTMLAttributeNameInput" in window - add item "background", add item "bgcolor", add item "text", and so on
But unfortunately, I was not lucky finding that piece of code, so it must be quite different than I thought.
May be you can give some hint again, where I can find the code? And may be you can instruct me on how to find such code myself, I don't want to bother you all the time with my questions. ;-) I've looked at mozilla.org/editor and read some of the documents, but didn't find what I need.
Best regards,
Michael _______________________________________________ mozilla-editor mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-editor
