Fixed compilation error due to broken RSyntaxTextarea API evolution

This commit is contained in:
Lukas Eder 2013-06-14 17:40:56 +02:00
parent 4f62414b2a
commit d583f95e04

View File

@ -93,8 +93,7 @@ public class SqlTextArea extends RSyntaxTextArea {
switch(e.getKeyCode()) {
case KeyEvent.VK_P:
if(isControlDown && isShiftDown) {
//int position = RSyntaxUtilities.getMatchingBracketPosition(SqlTextArea.this, null).y;
int position = RSyntaxUtilities.getMatchingBracketPosition(SqlTextArea.this);
int position = RSyntaxUtilities.getMatchingBracketPosition(SqlTextArea.this, null).y;
if(position >= 0) {
setCaretPosition(position + 1);
}