You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In NetLogo a string is surrounded by double quotes: "mystring"
Typing a string in the NetLogo code tab worked correctly using rsyntaxtextarea 3.3.0.
We upgraded to 3.3.4 and then the same typing lead to a second final quote: "mystring""
By trying the intermediate releases I determined that this issue arose in version 3.3.1
The attached screenshots show the difference
Steps to Reproduce
Reproducing this would take a lot of effort.
What language/TokenMaker are you using? Looks like this?
Versaion 3.3.1 introduced features such as auto-closing of double quotes that might be contributing to this. Can you try calling textArea.=setInsertPairedCharacters(false) and see if this addresses things?
If not, do you know if your parser is identifying "mystring" as a single token of type TokenTypes.LITERAL_STRING_DOUBLE_QUOTE?
In NetLogo a string is surrounded by double quotes: "mystring"
Typing a string in the NetLogo code tab worked correctly using rsyntaxtextarea 3.3.0.
We upgraded to 3.3.4 and then the same typing lead to a second final quote: "mystring""
By trying the intermediate releases I determined that this issue arose in version 3.3.1
The attached screenshots show the difference
Steps to Reproduce
Reproducing this would take a lot of effort.
./sbt
, in the sbt shellnetlogo/run
"com.fifesoft" % "rsyntaxtextarea" % "3.3.0"
with"com.fifesoft" % "rsyntaxtextarea" % "3.3.1"
netlogo/run
and repeat steps 3)I tried to see if this happened with one of your demos, but didn't get it to work
However the relevant file seems to be there
Screenshots
Compare the good and bad screenshots
Java version
What version of Java are you running?
OpenJDK 64-Bit Server VM (build 17.0.8.1+1-LTS, mixed mode, sharing)
The text was updated successfully, but these errors were encountered: