Fixed compilation error due to broken RSyntaxTextarea API evolution
This commit is contained in:
parent
4f62414b2a
commit
d583f95e04
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user