mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 14:12:10 +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
|
ParentNameSorter.tooltip= Sort the view by C Element Parent Name
|
||||||
PathNameSorter.label= P&ath
|
PathNameSorter.label= P&ath
|
||||||
PathNameSorter.tooltip= Sort the view by Resource Path
|
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
|
# Action sets
|
||||||
CSearchActionSet.label= C/C++ Search
|
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.folding=editor folding section comment header function method statement preprocessor
|
||||||
preferenceKeywords.markoccurrences=editor occurrence mark highlight
|
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.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...
|
historyAction.label = History...
|
||||||
|
|
|
@ -627,14 +627,16 @@
|
||||||
</colorDefinition>
|
</colorDefinition>
|
||||||
<colorDefinition
|
<colorDefinition
|
||||||
id="org.eclipse.cdt.ui.ColoredLabels.match_highlight"
|
id="org.eclipse.cdt.ui.ColoredLabels.match_highlight"
|
||||||
isEditable="false"
|
categoryId="org.eclipse.cdt.ui.presentation"
|
||||||
label="%Dummy.label"
|
isEditable="true"
|
||||||
|
label="%CSearch.color.match_highlight"
|
||||||
value="206, 204, 247">
|
value="206, 204, 247">
|
||||||
</colorDefinition>
|
</colorDefinition>
|
||||||
<colorDefinition
|
<colorDefinition
|
||||||
id="org.eclipse.cdt.ui.ColoredLabels.writeaccess_highlight"
|
id="org.eclipse.cdt.ui.ColoredLabels.writeaccess_highlight"
|
||||||
isEditable="false"
|
categoryId="org.eclipse.cdt.ui.presentation"
|
||||||
label="%Dummy.label"
|
isEditable="true"
|
||||||
|
label="%CSearch.color.match_write_highlight"
|
||||||
value="240, 216, 168">
|
value="240, 216, 168">
|
||||||
</colorDefinition>
|
</colorDefinition>
|
||||||
<colorDefinition
|
<colorDefinition
|
||||||
|
@ -1386,6 +1388,14 @@
|
||||||
<keyword
|
<keyword
|
||||||
label="%preferenceKeywords.indexer"
|
label="%preferenceKeywords.indexer"
|
||||||
id="org.eclipse.cdt.ui.indexer"/>
|
id="org.eclipse.cdt.ui.indexer"/>
|
||||||
|
<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>
|
||||||
|
|
||||||
<extension
|
<extension
|
||||||
|
|
Loading…
Add table
Reference in a new issue