Support for visual selection