RSyntaxTextArea icon indicating copy to clipboard operation
RSyntaxTextArea copied to clipboard

Insert break action bug

Open ytrsoft opened this issue 4 years ago • 2 comments

1 | {}

1 | { 2 | }

bug

ytrsoft avatar Feb 04 '21 02:02 ytrsoft

Just for confirmation - the expectation here is that the closing curly brace would be put on the next line (line 3) after an Enter press in this scenario?

This is somewhat low priority in my opinion since RSTA doesn't auto-close curly braces (so to get into this scenario you'd have to type "{}"), but does insert the closing brace (and in the proper place) if Enter is pressed after the opening brace and there isn't yet a closing brace.

Fix would be in RSyntaxTextAreaEditorKit.InsertBreakAction.

bobbylight avatar Mar 12 '21 04:03 bobbylight

Okay, I have an obsessive quality to me, cant work like ecplise

ytrsoft avatar Mar 12 '21 04:03 ytrsoft