mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 17:26:01 +02:00
Cosmetics
Change-Id: Ia9a8c9052f255bfbadf919b4aea029707d77b294
This commit is contained in:
parent
26569fbf72
commit
94a97818bf
2 changed files with 1 additions and 7 deletions
|
@ -25,7 +25,6 @@ import org.eclipse.jface.viewers.TableViewerColumn;
|
|||
import org.eclipse.jface.viewers.TreeViewer;
|
||||
import org.eclipse.jface.viewers.Viewer;
|
||||
import org.eclipse.jface.viewers.ViewerComparator;
|
||||
import org.eclipse.jface.viewers.ViewerSorter;
|
||||
import org.eclipse.search.ui.text.AbstractTextSearchViewPage;
|
||||
import org.eclipse.search.ui.text.Match;
|
||||
import org.eclipse.swt.SWT;
|
||||
|
@ -181,7 +180,7 @@ public class CSearchViewPage extends AbstractTextSearchViewPage {
|
|||
* <p>
|
||||
* This sorter categorizes the different kinds of ICElement matches (as well as IStatus
|
||||
* messages and External Files groups) to place them in groups. The items within a
|
||||
* category are sorted in the default way {@link ViewerSorter#compare(Viewer, Object, Object)} works,
|
||||
* category are sorted in the default way {@link ViewerComparator#compare(Viewer, Object, Object)} works,
|
||||
* by comparing text labels.
|
||||
* <p>
|
||||
* A potential concern here is that, in sorting the elements by name, the user may
|
||||
|
@ -192,8 +191,6 @@ public class CSearchViewPage extends AbstractTextSearchViewPage {
|
|||
* a big deal. Furthermore, usually it would be a wildcard search that would result in
|
||||
* this situation -- indicating the user doesn't know the identifier and wants to find it using
|
||||
* search. In such a case, a sorted list of results in much more friendly to navigate.
|
||||
* @author eswartz
|
||||
*
|
||||
*/
|
||||
private class SearchViewerComparator extends ViewerComparator {
|
||||
@Override
|
||||
|
|
|
@ -1115,9 +1115,6 @@ public class CAutoIndentStrategy extends DefaultIndentLineAutoEditStrategy {
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* @see org.eclipse.jface.text.IAutoEditStrategy#customizeDocumentCommand(IDocument, DocumentCommand)
|
||||
*/
|
||||
@Override
|
||||
public void customizeDocumentCommand(IDocument d, DocumentCommand c) {
|
||||
if (!c.doit)
|
||||
|
|
Loading…
Add table
Reference in a new issue