RSyntaxTextArea icon indicating copy to clipboard operation
RSyntaxTextArea copied to clipboard

A syntax highlighting, code folding text editor for Java Swing applications.

Results 169 RSyntaxTextArea issues
Sort by recently updated
recently updated
newest added

I'm using a setup where line wrap is enabled using `rsta.setLineWrap(true)` and where I programmatically highlight lines in the editor. In the following example I highlighted lines `7`, `8`, and...

bug

Copied over from SourceForge: It would be handy to be able to add new keywords to existing language scanners, such as Java. This would allow users to leverage existing TokenMaker...

enhancement

Here is the fix for num pad cursor keys on Linux. Run the code before making any RSyntaxTextAreas. ``` static Map keyStrokeMap = litmap( KeyEvent.VK_UP, KeyEvent.VK_KP_UP, KeyEvent.VK_DOWN, KeyEvent.VK_KP_DOWN, KeyEvent.VK_LEFT, KeyEvent.VK_KP_LEFT,...

Is anyone interested in adding support for Scala and Python to RSyntaxTextArea (or rather RSTALanguageSupport I guess)? My company is willing to sponsor this, fully open-source/upstream of course. @bobbylight

enhancement

I have this kind of content with setMarkOccurrences(true); ![1](https://user-images.githubusercontent.com/10043970/45407011-e3d85c80-b670-11e8-968d-3925b3a788f7.PNG) When I put a cursor on one of lines "aaaaaaaaa", the same word is highligted in all content and RSTA.markedOccurrencesChanged property...

Hello. I tryed to set setToolTipText for Gutter element. But it's not working.

In an RSyntaxTextArea, set the content to the following: ``` ▀▀▀███ ▀▀▀███ ▀▀▀███ ▀▀▀███ ▀▀▀███ ▀▀▀███ //etc ``` Now, move the cursor down; you should see that these characters go...

bug

I have the following code: ``` public class Classe1 extends JFrame { public Classe1() { JPanel contentPane = new JPanel(new BorderLayout()); RSyntaxTextArea textArea = new RSyntaxTextArea(20, 60); textArea.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_JAVA); textArea.setCodeFoldingEnabled(true); RTextScrollPane...

I guess such check should be done in OccurrenceMarker implementations. In my case I'm not able to mark occurrences of some 1-digit numbers because of this check.

I have discovered, that when adding a border to the textArea with an offset to the top and also activating the line-wrap, it causes the text to be misaligned by...

bug