Navigatable () { Side side = getCurrentSide(); LineCol position = LineCol.fromCaret(getEditor(side)); Navigatable navigatable = getContent(side).getNavigatable(position); if (navigatable != null) return navigatable; LineCol otherPosition = transferPosition(side, position); return getContent(side.other()).getNavigatable(otherPosition); }