Browse files

sort properly

  • Loading branch information...
JPMoresmau committed Jan 31, 2013
1 parent 6b8c248 commit 2163d6c2667ebdd4c81454c9410f1679a663db81
@@ -17,15 +17,17 @@ Fixes:
- Haskell test results does not reclaim focus on each refresh, less flicker on update
- Quick fix on multiple GHC suggestions
- Cabal Packages view shows a green tick on installed packages and versions when you display the list of all hackage packages.
- Distinguish comments/haddock/pragmas in syntax highlighting (
- Use project root as HLint working folder
- Organize imports on single file: only keep actually used imports
- Refactor->rename can rename local bindings
+ - Synchronize from editor use a long running buildwrapper instance, should enhance performance. Closing the editor for a file closes the long running process, so no memory hog.
+ - Start SQLite in a thread to avoid native locking (maybe)
Upgrade notes:
- Upgrade via the Eclipse install site
@@ -57,6 +57,7 @@
import org.eclipse.swt.widgets.Text;
import org.eclipse.ui.IViewPart;
import org.eclipse.ui.IWorkbenchPage;
+import org.eclipse.ui.model.WorkbenchViewerComparator;
import org.eclipse.ui.part.ViewPart;
@@ -223,7 +224,7 @@ public void run() {
packageViewer=new TreeViewer(parent,SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER | SWT.SINGLE);
packageViewer.getTree().setLayoutData( new GridData(GridData.FILL_BOTH) );
packageViewer.setContentProvider( new CabalPackageContentProvider() );
- //packageViewer.setComparator( new WorkbenchViewerComparator() ); // cabal already sorts the data
+ packageViewer.setComparator( new WorkbenchViewerComparator() ); // cabal already sorts the data, but takes case into account...
packageViewer.setLabelProvider(labelProvider );
packageViewer.addFilter( new ViewerFilter() {

0 comments on commit 2163d6c

Please sign in to comment.