From 1329b3aedff0f0614ec9bf3f2d3f028c27b813ed Mon Sep 17 00:00:00 2001 From: Alain Magloire Date: Thu, 20 May 2004 02:18:09 +0000 Subject: [PATCH] 2004-05-19 Alain Magloire Comply with Eclipse-3.0 and use the theme extension to change the CEditor text font. Move the CBuildConsole font in the same category. --- core/org.eclipse.cdt.ui/ChangeLog | 6 ++++ core/org.eclipse.cdt.ui/plugin.properties | 9 ++++- core/org.eclipse.cdt.ui/plugin.xml | 35 +++++++++++++------ .../ui/preferences/CEditorPreferencePage.java | 21 +---------- 4 files changed, 39 insertions(+), 32 deletions(-) diff --git a/core/org.eclipse.cdt.ui/ChangeLog b/core/org.eclipse.cdt.ui/ChangeLog index e480de07264..8e85be38efe 100644 --- a/core/org.eclipse.cdt.ui/ChangeLog +++ b/core/org.eclipse.cdt.ui/ChangeLog @@ -1,3 +1,9 @@ +2004-05-19 Alain Magloire + + Comply with Eclipse-3.0 and use the theme + extension to change the CEditor text font. + Move the CBuildConsole font in the same category. + 2004-05-18 Bogdan Gheorghe Got rid of deprecated methods in CSearchResultPage and MouseClickListener. diff --git a/core/org.eclipse.cdt.ui/plugin.properties b/core/org.eclipse.cdt.ui/plugin.properties index a4e6e220f39..74423675033 100644 --- a/core/org.eclipse.cdt.ui/plugin.properties +++ b/core/org.eclipse.cdt.ui/plugin.properties @@ -158,4 +158,11 @@ CDTIndexerProperty.name=C/C++ Indexer cDocumentFactory=C Document Factory cDocumentSetupParticipant=C Document Setup Participant -defaultPathContainerPage=Default Path Container \ No newline at end of file +defaultPathContainerPage=Default Path Container + +## CEditor Fonts +CEditorFontDefiniton.label= C/C++ Editor Text Font +CEditorFontDefintion.description= The editor text font is used by C/C++ editors. +#--- presentation +CPresentation.label= C/C++ +CEditorPresentation.label= Editor diff --git a/core/org.eclipse.cdt.ui/plugin.xml b/core/org.eclipse.cdt.ui/plugin.xml index 4791d8c7822..6aba83e82a0 100644 --- a/core/org.eclipse.cdt.ui/plugin.xml +++ b/core/org.eclipse.cdt.ui/plugin.xml @@ -239,6 +239,7 @@ icon="icons/full/obj16/c_file_obj.gif" class="org.eclipse.cdt.internal.ui.editor.CEditor" contributorClass="org.eclipse.cdt.internal.ui.editor.CEditorActionContributor" + symbolicFontName="org.eclipse.cdt.ui.editors.textfont" id="org.eclipse.cdt.ui.editor.CEditor"> + + + + + + %CEditorFontDefinition.description + + + + + %BuildConsoleFontDefinition.description + + + - - - - %BuildConsoleFontDefinition.description - - -