diff options
Diffstat (limited to 'core/org.eclipse.cdt.ui/schema/semanticHighlighting.exsd')
-rw-r--r-- | core/org.eclipse.cdt.ui/schema/semanticHighlighting.exsd | 54 |
1 files changed, 23 insertions, 31 deletions
diff --git a/core/org.eclipse.cdt.ui/schema/semanticHighlighting.exsd b/core/org.eclipse.cdt.ui/schema/semanticHighlighting.exsd index f5960fd03c8..f97968ede34 100644 --- a/core/org.eclipse.cdt.ui/schema/semanticHighlighting.exsd +++ b/core/org.eclipse.cdt.ui/schema/semanticHighlighting.exsd @@ -22,9 +22,7 @@ Contributed highlightings will be visible in the Code tree of the 'C/C++ - </p> </documentation> </annotation> - <include schemaLocation="schema://org.eclipse.core.expressions/schema/expressionLanguage.exsd"/> - <element name="extension"> <annotation> <appInfo> @@ -61,7 +59,6 @@ Contributed highlightings will be visible in the Code tree of the 'C/C++ - </attribute> </complexType> </element> - <element name="semanticHighlighting"> <complexType> <sequence> @@ -70,14 +67,17 @@ Contributed highlightings will be visible in the Code tree of the 'C/C++ - <attribute name="id" type="string" use="required"> <annotation> <documentation> - a unique identifier for the Quick Fix processor + A unique identifier for the Quick Fix processor. </documentation> + <appInfo> + <meta.attribute kind="identifier"/> + </appInfo> </annotation> </attribute> <attribute name="name" type="string"> <annotation> <documentation> - a localized name of the Quick Fix processor + A localized name of the Quick Fix processor. </documentation> <appInfo> <meta.attribute translatable="true"/> @@ -101,8 +101,7 @@ with a public 0-argument constructor. <annotation> <documentation> The priority determines the order in which highlightings are given the opportunity to highlight a token. Lower values are more important. - -The priorities of the built-in highlightings are available in org.eclipse.cdt.internal.ui.editor.SemanticHighlightings.loadBuiltInSemanticHighlightings. +The priorities of the built-in highlightings are available in <code>org.eclipse.cdt.internal.ui.editor.SemanticHighlightings.loadBuiltInSemanticHighlightings</code>. </documentation> </annotation> </attribute> @@ -133,41 +132,48 @@ The priorities of the built-in highlightings are available in org.eclipse.cdt.in <attribute name="defaultBold" type="boolean"> <annotation> <documentation> - false by default + Defaults to <code>false</code>. </documentation> </annotation> </attribute> <attribute name="defaultItalic" type="boolean"> <annotation> <documentation> - false by default + Defaults to <code>false</code>. </documentation> </annotation> </attribute> <attribute name="defaultStrikethrough" type="boolean"> <annotation> <documentation> - false by default + Defaults to <code>false</code>. </documentation> </annotation> </attribute> <attribute name="defaultUnderline" type="boolean"> <annotation> <documentation> - false by default + Defaults to <code>false</code>. </documentation> </annotation> </attribute> <attribute name="defaultEnabled" type="boolean"> <annotation> <documentation> - false by default + Defaults to <code>false</code>. </documentation> </annotation> </attribute> </complexType> </element> - + <annotation> + <appInfo> + <meta.section type="apiInfo"/> + </appInfo> + <documentation> + The contributed class must implement <code>org.eclipse.cdt.ui.text.ISemanticHighlighter</code> + </documentation> + </annotation> <annotation> <appInfo> <meta.section type="since"/> @@ -176,14 +182,12 @@ The priorities of the built-in highlightings are available in org.eclipse.cdt.in 8.2 </documentation> </annotation> - <annotation> <appInfo> <meta.section type="examples"/> </appInfo> <documentation> The following is an example of a Semantic Highligher contribution: - <p> <pre> <extension @@ -206,10 +210,10 @@ The priorities of the built-in highlightings are available in org.eclipse.cdt.in </iterate> </with> <with variable="languageId"> - <or> - <equals value="org.eclipse.cdt.core.g++"/> - <equals value="org.eclipse.cdt.core.gcc"/> - </or> + <or> + <equals value="org.eclipse.cdt.core.g++"/> + <equals value="org.eclipse.cdt.core.gcc"/> + </or> </with> </enablement> </semanticHighlighting> @@ -218,17 +222,6 @@ The priorities of the built-in highlightings are available in org.eclipse.cdt.in </p> </documentation> </annotation> - - <annotation> - <appInfo> - <meta.section type="apiInfo"/> - </appInfo> - <documentation> - The contributed class must implement <code>org.eclipse.cdt.ui.text.ISemanticHighlighter</code> - </documentation> - </annotation> - - <annotation> <appInfo> <meta.section type="copyright"/> @@ -241,5 +234,4 @@ which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html </documentation> </annotation> - </schema> |