String (Editor editor, LogicalPosition pos) { if (EditorCoreUtil.inVirtualSpace(editor, pos)) { return String.valueOf(pos.column + 1); } int offset = editor.logicalPositionToOffset(pos); return getColumnNumber(editor, offset); }