Add hasBracketsAndQuotes Method

This commit is contained in:
atk
2015-07-12 17:26:34 +09:00
parent 3ed9fe50a5
commit 021fded2dc

View File

@@ -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;
}
}