aspose file tools*
The moose likes Beginning Java and the fly likes Sytntax Highlighting - Where to begin? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Sytntax Highlighting - Where to begin?" Watch "Sytntax Highlighting - Where to begin?" New topic
Author

Sytntax Highlighting - Where to begin?

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

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


GenRocket - Experts at Building Test Data
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
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

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
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

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?