mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 17:40:48 +01:00
Add hasBracketsAndQuotes Method
This commit is contained in:
@@ -1172,6 +1172,15 @@ public abstract class InputHandler extends KeyAdapter
|
||||
textArea.getToolkit().beep();
|
||||
}
|
||||
}
|
||||
|
||||
public boolean hasBracketsAndQuotes(String str){
|
||||
for (String bracketsAndQuotes : bracketsAndQuotesMap.keySet())
|
||||
{
|
||||
if (str.equals(bracketsAndQuotes))
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user