How to implement a code editor with syntax colored [message #50666] |
Thu, 05 June 2003 12:44  |
Eclipse User |
|
|
|
Originally posted by: li_ma.email.com
Hi there,
In my own project, I need to implement a script language editor with Java.
I would like to have a color-syntax editor for the script. Anyone can
point me where to learn the trick?
Thanks in advance!
-Li
|
|
|
|
Re: How to implement a code editor with syntax colored [message #51246 is a reply to message #50666] |
Fri, 06 June 2003 03:10  |
Eclipse User |
|
|
|
Originally posted by: hcs33.egon.gyaloglo.hu
Hi,
If you download the examples there is a java editor example which shows you
how deal with syntax-coloring, code-completion and outline.
Also try to New-->Plugin project-->...-->Plugin with an editor. This wizard
creates source code for a basic xml-editor with syntax-highlighting.
If you want to get only syntax-highlighting for that script language (and
nothing else) I can recommend you to download the color editor plugin from
http://gstaff.org/colorEditor/
It does syntax-highlighting for a number of languages and I think you can
create new ones simply editing the xml files in
plugins\cbg.editor_0.2.8\modes.
HTH,
Regards,
Csaba
"Li" <li_ma@email.com> wrote in message news:bbns1m$bin$1@rogue.oti.com...
> Hi there,
> In my own project, I need to implement a script language editor with Java.
> I would like to have a color-syntax editor for the script. Anyone can
> point me where to learn the trick?
>
> Thanks in advance!
>
> -Li
>
|
|
|
Powered by
FUDForum. Page generated in 0.08337 seconds