Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

codes were removed when split one line code to two lines #484

Closed
Yaqiang opened this issue Jan 7, 2023 · 4 comments
Closed

codes were removed when split one line code to two lines #484

Yaqiang opened this issue Jan 7, 2023 · 4 comments
Assignees
Labels
Milestone

Comments

@Yaqiang
Copy link

Yaqiang commented Jan 7, 2023

Description
Codes were removed when split one line code to two lines with Python syntax style. The bug occured when putting the mouse position in a code line and press 'Enter' button in keyboard.

Steps to Reproduce
I am using RSyntaxTextArea for Jython code editor in MeteoInfoLab (https://github.com/meteoinfo/MeteoInfo/blob/master/meteoinfo-lab/src/main/java/org/meteoinfo/lab/gui/EditorDockable.java#L171-L175). MITextEditorPane is an extents of TextEditorPane with auto code completion (https://github.com/meteoinfo/MeteoInfo/blob/master/meteoinfo-console/src/main/java/org/meteoinfo/console/editor/MITextEditorPane.java).

Screenshots
Before code line split
After code line split

Java version
Java 11

@Yaqiang Yaqiang added the bug label Jan 7, 2023
@bobbylight bobbylight self-assigned this Jan 7, 2023
@bobbylight
Copy link
Owner

bobbylight commented Jan 7, 2023

Ouch, this is really bad, looks like a broken InsertBreakAction. I'll get a fix published ASAP, but I'd recommend pinning an older RSTA version that works until then!

@bobbylight bobbylight added this to the 3.3.2 milestone Jan 7, 2023
@bobbylight
Copy link
Owner

This was broken in 3.3.1, please try pinning to 3.3.0 until I can get a 3.3.2 release out this weekend.

@Yaqiang
Copy link
Author

Yaqiang commented Jan 8, 2023

Thanks for your information and I am waiting the 3.3.2 version.

@bobbylight
Copy link
Owner

Fixed in 3.3.2-SNAPSHOT on Sonatype. I'll publish 3.3.2 to Maven Central this weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants