void (@Nullable VisualPosition startPosition, int startOffset, @Nullable VisualPosition endPosition, int endOffset, boolean updateSystemSelection) { // updating system selection is not supported currently for TextComponentEditor setSelection(startOffset, endOffset); }