This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sytntax Highlighting - Where to begin?

 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8521
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe that the code at www.jedit.org is open source, so you can see how they did it.
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8521
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!! I'll check it out.
------------------
Happy Coding,
Gregg Bolinger
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic