mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-93466 Cannot always jump to matching bracket
This commit is contained in:
@@ -100,7 +100,7 @@ public class CodeBlockUtil {
|
||||
}
|
||||
else {
|
||||
final IndentGuideDescriptor guide = editor.getIndentsModel().getCaretIndentGuide();
|
||||
if (guide != null) {
|
||||
if (guide != null && guide.startLine != editor.getCaretModel().getLogicalPosition().line) {
|
||||
editor.getCaretModel().moveToLogicalPosition(new LogicalPosition(guide.startLine, guide.indentLevel));
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user