[Project_owners] xul <editor>

Michael Bar-David mbd1987 at gmail.com
Wed Mar 15 20:57:52 EST 2006


Great Job !

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

On 3/15/06, Paul Tomlin <paul at paultomlin.com> 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="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="chrome://global/skin/" 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="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="http://www.google.com "/>
>
>
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/project_owners/attachments/20060315/696b183d/attachment.htm


More information about the Project_owners mailing list