Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » How to implement a code editor with syntax colored
How to implement a code editor with syntax colored [message #50666] Thu, 05 June 2003 12:44 Go to next message
Eclipse UserFriend
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 #51220 is a reply to message #50666] Fri, 06 June 2003 03:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: yves.somewhere.com

You can learn a lot from the javaeditor in the Eclipse examples.

Li wrote:
> 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 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:JRun Plugin Alternative?
Next Topic:incremental project builder not compiling
Goto Forum:
  


Current Time: Thu Mar 13 17:39:45 EDT 2025

Powered by FUDForum. Page generated in 0.08337 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top