Great Job !

another question:
is ther any way to apply syntax highlighting in this <editor> ?

On 3/15/06, Paul Tomlin < [EMAIL PROTECTED]> wrote:
Michael Bar-David wrote:
> hi all
>
> I didnt succeed to work with <editor>.
>
> is this syantax OK ?
>
>     <editor type="content-primary" id="main-editor"
> src="" href="http://www.google.com"> http://www.google.com <http://www.google.com>"/>

Go to:
http://ted.mielczarek.org/code/mozilla/xuledit/xuledit.xul

Put the code below into the text box..

<?xml version="1.0"?>
<?xml-stylesheet href="" type="text/css"?>
<window id="yourwindow"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

<editor
        type="content-primary"
        id="main-editor"
        flex="1"
        src="" href="http://www.google.com">http://www.google.com "/>

</window>


See you're editor :)
You missed off the

flex="1"

bit, but that could equally be achieved with a style

<editor
        type="content-primary"
        id="main-editor"
        style="height: 200px;"
        src="" href="http://www.google.com">http://www.google.com "/>


_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to