| 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
|
 |
 |
|
|
subject: Sytntax Highlighting - Where to begin?
|
|
|