Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 167869 Details for
Bug 302038
Semantic Highlighting is lost in many cases
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
patch for wtp sse
302038.txt (text/plain), 1.26 KB, created by
Zhongwei Zhao
on 2010-05-11 03:44:43 EDT
(
hide
)
Description:
patch for wtp sse
Filename:
MIME Type:
Creator:
Zhongwei Zhao
Created:
2010-05-11 03:44:43 EDT
Size:
1.26 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.wst.sse.ui >Index: src/org/eclipse/wst/sse/ui/internal/style/SemanticHighlightingPresenter.java >=================================================================== >RCS file: /cvsroot/webtools/sourceediting/plugins/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/internal/style/SemanticHighlightingPresenter.java,v >retrieving revision 1.4 >diff -u -r1.4 SemanticHighlightingPresenter.java >--- src/org/eclipse/wst/sse/ui/internal/style/SemanticHighlightingPresenter.java 5 Apr 2010 13:45:45 -0000 1.4 >+++ src/org/eclipse/wst/sse/ui/internal/style/SemanticHighlightingPresenter.java 11 May 2010 07:43:36 -0000 >@@ -12,6 +12,8 @@ > > import java.util.ArrayList; > import java.util.Arrays; >+import java.util.Collections; >+import java.util.Comparator; > import java.util.HashMap; > import java.util.Iterator; > import java.util.List; >@@ -489,6 +491,14 @@ > } > } > fPositions= newPositions; >+ Collections.sort(fPositions, new Comparator() { >+ >+ public int compare(Object arg0, Object arg1) { >+ Position p1 = (Position) arg0; >+ Position p2 = (Position) arg1; >+ return p1.offset - p2.offset; >+ } >+ }); > } > } catch (BadPositionCategoryException e) { > // Should not happen
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 302038
:
162155
| 167869 |
176179
|
176180