How to Modify Line Highlighting

Questions on using RSyntaxTextArea should go here.

Moderator: robert

How to Modify Line Highlighting

Postby Azlan » Wed May 08, 2013 9:36 pm

How do I modify the line highlighting? Like getting the color, and turning it off.
Azlan
 
Posts: 14
Joined: Thu Apr 11, 2013 4:54 pm

Re: How to Modify Line Highlighting

Postby robert » Thu May 09, 2013 3:49 am

That functionality is in the RTextArea class, the parent class of RSyntaxTextArea:

java code:

public boolean getHighlightCurrentLine();
public void setHighlightCurrentLine(boolean highlight);
public Color getCurrentLineHighlightColor();
public void setCurrentLineHighlightColor(Color color);
public boolean getFadeCurrentLineHighlight();
public void setFadeCurrentLineHighlight(boolean fade);
User avatar
robert
 
Posts: 794
Joined: Sat May 10, 2008 5:16 pm

Re: How to Modify Line Highlighting

Postby Azlan » Thu May 09, 2013 5:20 am

Thanks!
Azlan
 
Posts: 14
Joined: Thu Apr 11, 2013 4:54 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 5 guests

cron