1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 01:06:01 +02:00

Fix for 224567: Makefile compare editor uses non fixed width font

This commit is contained in:
Anton Leherbauer 2008-04-03 08:57:57 +00:00
parent fdff1402b2
commit 0ba4cad18d
2 changed files with 20 additions and 2 deletions

View file

@ -1,5 +1,5 @@
###############################################################################
# Copyright (c) 2003, 2007 QNX Software Systems and others.
# Copyright (c) 2003, 2008 QNX Software Systems and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
@ -7,6 +7,7 @@
#
# Contributors:
# QNX Software Systems - initial API and implementation
# Anton Leherbauer (Wind River Systems)
###############################################################################
pluginName=C/C++ Standard make Build UI
@ -78,4 +79,8 @@ CDTPathSymbolsProperty.name=C/C++ Project paths and symbols
Includes=Includes
Symbols=Symbols
# menu label
Make.targets.menu=Make targets
Make.targets.menu=Make targets
# Makefile compare font
makeCompareFontDefinition.label= Makefile compare text font
makeCompareFontDefinition.description= The Makefile compare text font is used by Makefile compare/merge tools.

View file

@ -489,4 +489,17 @@
contentMergeViewerId="org.eclipse.cdt.make.ui.compare.MakefileContentViewerCreator">
</contentTypeBinding>
</extension>
<!-- compare font -->
<extension
point="org.eclipse.ui.themes">
<fontDefinition
label="%makeCompareFontDefinition.label"
defaultsTo="org.eclipse.jface.textfont"
categoryId="org.eclipse.compare.contentmergeviewer.TextMergeViewer"
id="org.eclipse.cdt.make.internal.ui.compare.MakefileMergeViewer">
<description>
%makeCompareFontDefinition.description
</description>
</fontDefinition>
</extension>
</plugin>