The moose likes Beginning Java and the fly likes Sytntax Highlighting - Where to begin? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Sytntax Highlighting - Where to begin?" Watch "Sytntax Highlighting - Where to begin?" New topic
Author

Sytntax Highlighting - Where to begin?

Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15229

Could someone point me in the write direction for creating an editor in java that enables syntax highlighting. Just links to other topics here at javaranch, links to web sites that explain this, or some key API's I should be looking at will suffice.
Thank you

------------------
Happy Coding,
Gregg Bolinger
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
I believe that the code at www.jedit.org is open source, so you can see how they did it.

"JavaRanch, where the deer and the Certified play" - David O'Meara
Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15229

Thanks Cindy. But when I downloaded the source code, and looked around, I couldn't find what I was looking for.
I think that I don't have enough JAVA training and/or experience to really look at a project that large, and find the puzzle peices I need.

------------------
Happy Coding,
Gregg Bolinger
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Try reading about the flyweight design pattern in "Design Patterns" by Gamma, Helm,Johnson and Vlissides. They use a word processor as a description of how this pattern might be used.
Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15229

Thanks!! I'll check it out.
------------------
Happy Coding,
Gregg Bolinger
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sytntax Highlighting - Where to begin?
 
Similar Threads
Seting instance pool limit for stateful session bean
Syntax Highlighting
Code Review tool for JSP
Using Voucher
Jython IDE??