mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
2004-09-14 Alain Magloire
Pr 73831. Tentative fix * src/org/eclipse/cdt/internal/ui/preferences/CEditorPreferencPage.java * src/org/eclipse/cdt/internal/ui/text/util/CColorManager.java
This commit is contained in:
parent
ebecafa648
commit
2aad3cda65
3 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-09-14 Alain Magloire
|
||||
|
||||
Pr 73831. Tentative fix
|
||||
* src/org/eclipse/cdt/internal/ui/preferences/CEditorPreferencPage.java
|
||||
* src/org/eclipse/cdt/internal/ui/text/util/CColorManager.java
|
||||
|
||||
2004-09-14 Alain Magloire
|
||||
|
||||
Define contentTypes for some of the
|
||||
|
|
|
@ -470,8 +470,7 @@ public class CEditorPreferencePage extends PreferencePage implements IWorkbenchP
|
|||
|
||||
private Control createPreviewer(Composite parent) {
|
||||
|
||||
fCTextTools = new CTextTools(fOverlayStore);
|
||||
|
||||
fCTextTools = CUIPlugin.getDefault().getTextTools();
|
||||
fPreviewViewer = new SourceViewer(parent, null, SWT.V_SCROLL | SWT.H_SCROLL);
|
||||
fPreviewViewer.configure(new CSourceViewerConfiguration(fCTextTools, null));
|
||||
fPreviewViewer.getTextWidget().setFont(JFaceResources.getFontRegistry().get(JFaceResources.TEXT_FONT));
|
||||
|
|
|
@ -69,7 +69,7 @@ public class CColorManager implements IColorManager, IColorManagerExtension {
|
|||
* @see IColorManager#dispose
|
||||
*/
|
||||
public void dispose() {
|
||||
// nothing to dispose
|
||||
dispose(Display.getCurrent());
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue