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 100377 Details for
Bug 231863
ScrollVerticalRuler5000Test should be dark green
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
fix HEAD
fix_231863.txt (text/plain), 2.37 KB, created by
Benno Baumgartner
on 2008-05-15 04:05:02 EDT
(
hide
)
Description:
fix HEAD
Filename:
MIME Type:
Creator:
Benno Baumgartner
Created:
2008-05-15 04:05:02 EDT
Size:
2.37 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.text.tests >Index: src/org/eclipse/jdt/text/tests/performance/ScrollVerticalRulerTest.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/performance/ScrollVerticalRulerTest.java,v >retrieving revision 1.2 >diff -u -r1.2 ScrollVerticalRulerTest.java >--- src/org/eclipse/jdt/text/tests/performance/ScrollVerticalRulerTest.java 14 May 2008 13:33:41 -0000 1.2 >+++ src/org/eclipse/jdt/text/tests/performance/ScrollVerticalRulerTest.java 15 May 2008 08:00:48 -0000 >@@ -22,6 +22,7 @@ > import org.eclipse.core.runtime.preferences.InstanceScope; > import org.eclipse.jdt.ui.JavaUI; > import org.eclipse.jdt.ui.PreferenceConstants; >+import org.eclipse.jface.preference.IPreferenceStore; > import org.eclipse.jface.text.Document; > import org.eclipse.jface.text.IDocument; > import org.eclipse.jface.text.source.IAnnotationModel; >@@ -30,6 +31,7 @@ > import org.eclipse.ui.texteditor.AbstractTextEditor; > import org.eclipse.ui.texteditor.AnnotationPreference; > import org.eclipse.ui.texteditor.MarkerAnnotationPreferences; >+import org.eclipse.ui.texteditor.spelling.SpellingService; > > > /** >@@ -61,6 +63,12 @@ > IEclipsePreferences jdtNode= scope.getNode(JavaUI.ID_PLUGIN); > jdtNode.putInt(PreferenceConstants.SPELLING_PROBLEMS_THRESHOLD, 100000); > >+ boolean isInstalled= EditorsUI.getSpellingService().getSpellingEngineDescriptors().length > 0; >+ assertTrue("No spelling engine installed", isInstalled); >+ >+ IPreferenceStore store= EditorsUI.getPreferenceStore(); >+ store.setDefault(SpellingService.PREFERENCE_SPELLING_ENABLED, true); >+ > IEclipsePreferences editorsNode= scope.getNode(EditorsUI.PLUGIN_ID); > > MarkerAnnotationPreferences markerAnnotationPreferences= EditorsPlugin.getDefault().getMarkerAnnotationPreferences(); >@@ -84,6 +92,9 @@ > IEclipsePreferences jdtNode= scope.getNode(JavaUI.ID_PLUGIN); > jdtNode.putInt(PreferenceConstants.SPELLING_PROBLEMS_THRESHOLD, 100); > >+ IPreferenceStore store= EditorsUI.getPreferenceStore(); >+ store.setDefault(SpellingService.PREFERENCE_SPELLING_ENABLED, false); >+ > IEclipsePreferences editorsNode= scope.getNode(EditorsUI.PLUGIN_ID); > > MarkerAnnotationPreferences markerAnnotationPreferences= EditorsPlugin.getDefault().getMarkerAnnotationPreferences();
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 231863
:
99987
| 100377 |
100378