Skip to content

Forward slashes break in 3.6.0 #609

@mochawoof

Description

@mochawoof

Description
When a line with two forward slashes is loaded into the RSyntaxTextArea via setText, it corrupts the rest of the line.

Steps to Reproduce
Create a RSyntaxTextArea on version 3.6.0 and use setText to load a string with multiple lines, one of them containing two forward slashes. One forward slash may break it as well, but I'm not sure as I only tested with two forward slashes at the beginning of a line.

Expected behavior
The forward slashes should be displayed normally.

Actual behavior
The rest of the line becomes a garbled mess.

Screenshots
Add a screenshot if it helps explain the problem.

Java version
1.8.0, Windows 10

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions