How does it work?

Questions on using RSyntaxTextArea should go here.

Moderator: robert

How does it work?

Postby Matias22 » Fri Mar 26, 2010 8:18 pm

Hello, I would like to ask for help.

So, I would like to know how its done: Click Here

I mean these options like: VIEV - > Line Numbers and Current Line Highlighting

I made the same menu, with jCheckBoxMenuItem and something like this:

Code: Select all
      if(jCheckBoxMenuItem1.isSelected()){
         textArea.setHighlightCurrentLine(true);
      }
      else{
         textArea.setHighlightCurrentLine(false);
      }


But it doesnt work, can anyone help me, please?
Matias22
 
Posts: 13
Joined: Fri Feb 26, 2010 4:46 pm

Re: How does it work?

Postby Matias22 » Fri Mar 26, 2010 8:31 pm

Ok, I made it.

(addChangeListener)
Matias22
 
Posts: 13
Joined: Fri Feb 26, 2010 4:46 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 9 guests

cron