File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Advice about writing a code editor!

 
Sam Wang
Ranch Hand
Posts: 95
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to start from a simple code editor.
It's func only include hightlight reserve word
etc.
For example,There's only a JTextArea,a Document in it,a DocumentListener...
 
Frank Hale
Ranch Hand
Posts: 230
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Jedit project makes available the package which implements an editor pane that will allow you to do syntax highlighting.
You could always look at the actual Jedit code but the package by itself makes for an easier read. =)
Have a look at:
www.jedit.org
Have fun!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic