mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Check String, do matchBracketsAndQuotes()
This commit is contained in:
@@ -1165,7 +1165,11 @@ public abstract class InputHandler extends KeyAdapter
|
||||
StringBuilder sb = new StringBuilder();
|
||||
for(int i = 0; i < repeatCount; i++)
|
||||
sb.append(str);
|
||||
textArea.overwriteSetSelectedText(sb.toString());
|
||||
if (hasBracketsAndQuotes(str)) {
|
||||
matchBracketsAndQuotes(str, evt, textArea, sb);
|
||||
} else {
|
||||
textArea.overwriteSetSelectedText(sb.toString());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user