Using multiple instances of RSyntaxTextArea

Questions on using RSyntaxTextArea should go here.

Moderator: robert

Using multiple instances of RSyntaxTextArea

Postby JeffD » Sat Oct 19, 2013 8:23 pm

I was hoping to use a JTabbedPane with an instance of RSyntaxTextArea (along with some other stuff) in each tab, as a way to support editing of multiple files. However, it looks like quite a few things are static, so that (for example) all instances would use the same actions in their context menus. (I'm using those actions in some buttons as well.) I tried a few simple experiments, and it does indeed seem that there are problems.

Has anyone managed to use multiple instances? Is there some way of doing so that I may have overlooked?
Posts: 3
Joined: Tue Oct 15, 2013 7:15 pm

Re: Using multiple instances of RSyntaxTextArea

Postby robert » Sat Oct 19, 2013 11:02 pm

What problems are you having exactly? RText is an example of an editor application that hosts multiple instances of RSTA in tabs:
User avatar
Posts: 798
Joined: Sat May 10, 2008 5:16 pm

Return to Help

Who is online

Users browsing this forum: Google [Bot] and 1 guest