Bug 58921 Texts created with unsupported styles
- org.eclipse.jdt.internal.ui.text.AbstractInformationControl.createFilterText creates a Text with style SWT.FLAT - org.eclipse.jdt.internal.ui.filters.CustomFiltersDialog.createCheckBoxList creates a Text with style SWT.VERTICAL (perhaps V_SCROLL was meant?)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/AbstractInformationControl.java
/**
	 * Selects the first element in the tree which
	 * matches the current filter pattern.
	 */
	protected void selectFirstMatch() {
		Tree tree= fTreeViewer.getTree();
		Object element= findElement(tree.getItems());
		if (element != null)
			fTreeViewer.setSelection(new StructuredSelection(element), true);
		else
			fTreeViewer.setSelection(StructuredSelection.EMPTY);
	}
	private IJavaElement findElement(TreeItem[] items) {
		ILabelProvider labelProvider= (ILabelProvider)fTreeViewer.getLabelProvider();
		for (int i= 0; i < items.length; i++) {
			IJavaElement element= (IJavaElement)items[i].getData();
			if (fStringMatcher == null)
				return element;
			
			if (element != null) {
				String label= labelProvider.getText(element);
				if (fStringMatcher.match(label))
					return element;
			}
			element= findElement(items[i].getItems());
			if (element != null)
				return element;
		}
		return null;
	}