4242
4343/**
4444 * A simple filter text widget.
45- *
45+ *
4646 * TODO: Remove this class once Bug 293230 is fixed
4747 */
4848public class FilterTextControl {
@@ -62,7 +62,7 @@ public class FilterTextControl {
6262 private static Boolean fgUseNativeSearchField ;
6363
6464 private static boolean useNativeSearchField (Composite composite ) {
65- if (fgUseNativeSearchField == null ) {https ://github.com/vi-eclipse/Eclipse-Platform/issues/178#issuecomment-2586992567
65+ if (fgUseNativeSearchField == null ) { // https://github.com/vi-eclipse/Eclipse-Platform/issues/178#issuecomment-2586992567
6666 fgUseNativeSearchField = Boolean .FALSE ;
6767 Text testText = null ;
6868 try {
@@ -97,7 +97,7 @@ public FilterTextControl(Composite parent) {
9797 fComposite = new Composite (parent , nativeField ? SWT .NONE : SWT .BORDER );
9898 if (!nativeField )
9999 fComposite .setBackground (parent .getDisplay ().getSystemColor (SWT .COLOR_LIST_BACKGROUND ));
100-
100+
101101 GridLayout filterLayout = new GridLayout (2 , false );
102102 filterLayout .marginHeight = 0 ;
103103 filterLayout .marginWidth = 0 ;
@@ -110,7 +110,7 @@ public FilterTextControl(Composite parent) {
110110
111111 /**
112112 * Create the filter controls.
113- *
113+ *
114114 * @param parent parent <code>Composite</code> of the filter controls
115115 */
116116 private void createControls (Composite parent ) {
@@ -121,7 +121,7 @@ private void createControls(Composite parent) {
121121
122122 /**
123123 * Creates the text control.
124- *
124+ *
125125 * @param parent <code>Composite</code> of the filter text
126126 */
127127 private void createTextControl (Composite parent ) {
@@ -144,7 +144,7 @@ private void createTextControl(Composite parent) {
144144
145145 /**
146146 * Creates the button that clears the text.
147- *
147+ *
148148 * @param parent parent <code>Composite</code> of button
149149 */
150150 private void createClearButton (Composite parent ) {
@@ -245,7 +245,7 @@ public void getRole(AccessibleControlEvent e) {
245245
246246 /**
247247 * Get the text control for the receiver, if it was created. Otherwise return <code>null</code>.
248- *
248+ *
249249 * @return the Text control, or null if it was not created
250250 */
251251 public Text getFilterControl () {
@@ -255,7 +255,7 @@ public Text getFilterControl() {
255255 /**
256256 * Convenience method to return the text of the filter control. If the text widget is not
257257 * created, then null is returned.
258- *
258+ *
259259 * @return String in the text, or null if the text does not exist
260260 */
261261 public String getFilterString () {
@@ -267,7 +267,7 @@ private void updateClearButtonVisibility(boolean visible) {
267267 fClearButton .setVisible (visible );
268268 }
269269 }
270-
270+
271271 /**
272272 * Enables the filter text control if the argument is <code>true</code>, and disables it
273273 * otherwise.
0 commit comments