mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00
Bug 468206 - Fix color for search matching
We used color keys not saved in the preferences and without any UI widget. The user wasn't able to change them. Change-Id: I48bc4e411d2bc016501613b7dbfb0e7f95532099 Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
This commit is contained in:
parent
e753c628ed
commit
e93ea0ab70
2 changed files with 18 additions and 5 deletions
|
@ -263,6 +263,8 @@ ParentNameSorter.label= &Parent Name
|
|||
ParentNameSorter.tooltip= Sort the view by C Element Parent Name
|
||||
PathNameSorter.label= P&ath
|
||||
PathNameSorter.tooltip= Sort the view by Resource Path
|
||||
CSearch.color.match_highlight= Match background highlight
|
||||
CSearch.color.match_write_highlight= Write match background highlight
|
||||
|
||||
# Action sets
|
||||
CSearchActionSet.label= C/C++ Search
|
||||
|
@ -608,6 +610,7 @@ preferenceKeywords.templates=editor templates snippet macros
|
|||
preferenceKeywords.folding=editor folding section comment header function method statement preprocessor
|
||||
preferenceKeywords.markoccurrences=editor occurrence mark highlight
|
||||
preferenceKeywords.smarttyping=editor typing type close comment tabs indentation indent imports wrap escape semicolons braces brackets parenthesis parentheses strings literals paste pasting tabulator automatically
|
||||
preferenceKeywords.colored_labels=search colors highlight matching
|
||||
|
||||
|
||||
historyAction.label = History...
|
||||
|
|
|
@ -627,14 +627,16 @@
|
|||
</colorDefinition>
|
||||
<colorDefinition
|
||||
id="org.eclipse.cdt.ui.ColoredLabels.match_highlight"
|
||||
isEditable="false"
|
||||
label="%Dummy.label"
|
||||
categoryId="org.eclipse.cdt.ui.presentation"
|
||||
isEditable="true"
|
||||
label="%CSearch.color.match_highlight"
|
||||
value="206, 204, 247">
|
||||
</colorDefinition>
|
||||
<colorDefinition
|
||||
id="org.eclipse.cdt.ui.ColoredLabels.writeaccess_highlight"
|
||||
isEditable="false"
|
||||
label="%Dummy.label"
|
||||
categoryId="org.eclipse.cdt.ui.presentation"
|
||||
isEditable="true"
|
||||
label="%CSearch.color.match_write_highlight"
|
||||
value="240, 216, 168">
|
||||
</colorDefinition>
|
||||
<colorDefinition
|
||||
|
@ -1386,7 +1388,15 @@
|
|||
<keyword
|
||||
label="%preferenceKeywords.indexer"
|
||||
id="org.eclipse.cdt.ui.indexer"/>
|
||||
</extension>
|
||||
<keyword
|
||||
label="%preferenceKeywords.colored_labels"
|
||||
id="org.eclipse.cdt.ui.ColoredLabels.match_highlight">
|
||||
</keyword>
|
||||
<keyword
|
||||
label="%preferenceKeywords.colored_labels"
|
||||
id="org.eclipse.cdt.ui.ColoredLabels.writeaccess_highlight">
|
||||
</keyword>
|
||||
</extension>
|
||||
|
||||
<extension
|
||||
point="org.eclipse.ui.menus">
|
||||
|
|
Loading…
Add table
Reference in a new issue