Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: java syntax highlighting

  1. #1
    Junior Member
    Join Date
    Aug 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default java syntax highlighting

    Hi all,

    I'm planning to possibly rewrite one of my programs to Java. I originally wrote it in Python as a school assignment, but it fails to please me to the full expectations. It is a dedicate editor for a music notation language called ABC. However, one of the MUSTS is that it has syntax-highlighting, but there is no lexer currently available for this language.
    Do you know any libraries that I could use to do the lexing for a custom language?
    I'm planning to write my program through the use of swing.

    Many greetings,

    Saulius


  2. #2
    Member
    Join Date
    Aug 2011
    Posts
    48
    My Mood
    Fine
    Thanks
    1
    Thanked 4 Times in 4 Posts

    Default Re: java syntax highlighting

    Did you google for your problem? A quick search returns a lot of results.

    immutable objects
    Last edited by ha.minh.nam; December 4th, 2011 at 07:34 PM.

  3. #3
    Junior Member
    Join Date
    Aug 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: java syntax highlighting

    I do tend to make a habbit of exhausting Google to accomodate my problems.
    However, this time it hasn't yielded any obvious results, else I wouldn't be here.
    I've found quite a many topics on customizing coloring for Eclipse and a myriad of other editors, but not on how to write a highlighter/lexer for a self-written IDE.

    Greetings,

    Saulius

Similar Threads

  1. do while syntax error problem
    By derekxec in forum What's Wrong With My Code?
    Replies: 5
    Last Post: July 1st, 2011, 06:30 PM
  2. syntax question
    By surfbumb in forum What's Wrong With My Code?
    Replies: 2
    Last Post: March 9th, 2011, 04:01 PM
  3. How do you read this syntax?
    By meowCat in forum Java Theory & Questions
    Replies: 5
    Last Post: August 8th, 2010, 03:09 PM
  4. New Syntax Highlighting Feature!
    By JavaPF in forum Forum Updates & Feedback
    Replies: 15
    Last Post: July 14th, 2010, 09:20 AM
  5. Highlighting both row and column in JTable
    By bschneider14 in forum AWT / Java Swing
    Replies: 4
    Last Post: May 29th, 2010, 09:14 AM