Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'core/org.eclipse.cdt.ui/schema/semanticHighlighting.exsd')
-rw-r--r--core/org.eclipse.cdt.ui/schema/semanticHighlighting.exsd54
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 &apos;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 &apos;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 &lt;code&gt;org.eclipse.cdt.internal.ui.editor.SemanticHighlightings.loadBuiltInSemanticHighlightings&lt;/code&gt;.
</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 &lt;code&gt;false&lt;/code&gt;.
</documentation>
</annotation>
</attribute>
<attribute name="defaultItalic" type="boolean">
<annotation>
<documentation>
- false by default
+ Defaults to &lt;code&gt;false&lt;/code&gt;.
</documentation>
</annotation>
</attribute>
<attribute name="defaultStrikethrough" type="boolean">
<annotation>
<documentation>
- false by default
+ Defaults to &lt;code&gt;false&lt;/code&gt;.
</documentation>
</annotation>
</attribute>
<attribute name="defaultUnderline" type="boolean">
<annotation>
<documentation>
- false by default
+ Defaults to &lt;code&gt;false&lt;/code&gt;.
</documentation>
</annotation>
</attribute>
<attribute name="defaultEnabled" type="boolean">
<annotation>
<documentation>
- false by default
+ Defaults to &lt;code&gt;false&lt;/code&gt;.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
-
+ <annotation>
+ <appInfo>
+ <meta.section type="apiInfo"/>
+ </appInfo>
+ <documentation>
+ The contributed class must implement &lt;code&gt;org.eclipse.cdt.ui.text.ISemanticHighlighter&lt;/code&gt;
+ </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:
-
&lt;p&gt;
&lt;pre&gt;
&lt;extension
@@ -206,10 +210,10 @@ The priorities of the built-in highlightings are available in org.eclipse.cdt.in
&lt;/iterate&gt;
&lt;/with&gt;
&lt;with variable=&quot;languageId&quot;&gt;
- &lt;or&gt;
- &lt;equals value=&quot;org.eclipse.cdt.core.g++&quot;/&gt;
- &lt;equals value=&quot;org.eclipse.cdt.core.gcc&quot;/&gt;
- &lt;/or&gt;
+ &lt;or&gt;
+ &lt;equals value=&quot;org.eclipse.cdt.core.g++&quot;/&gt;
+ &lt;equals value=&quot;org.eclipse.cdt.core.gcc&quot;/&gt;
+ &lt;/or&gt;
&lt;/with&gt;
&lt;/enablement&gt;
&lt;/semanticHighlighting&gt;
@@ -218,17 +222,6 @@ The priorities of the built-in highlightings are available in org.eclipse.cdt.in
&lt;/p&gt;
</documentation>
</annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- The contributed class must implement &lt;code&gt;org.eclipse.cdt.ui.text.ISemanticHighlighter&lt;/code&gt;
- </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>

Back to the top