summaryrefslogtreecommitdiff
path: root/doc/classes/CodeHighlighter.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/CodeHighlighter.xml')
-rw-r--r--doc/classes/CodeHighlighter.xml90
1 files changed, 30 insertions, 60 deletions
diff --git a/doc/classes/CodeHighlighter.xml b/doc/classes/CodeHighlighter.xml
index 0406c25ffd..2b93188d10 100644
--- a/doc/classes/CodeHighlighter.xml
+++ b/doc/classes/CodeHighlighter.xml
@@ -10,16 +10,11 @@
</tutorials>
<methods>
<method name="add_color_region">
- <return type="void">
- </return>
- <argument index="0" name="start_key" type="String">
- </argument>
- <argument index="1" name="end_key" type="String">
- </argument>
- <argument index="2" name="color" type="Color">
- </argument>
- <argument index="3" name="line_only" type="bool" default="false">
- </argument>
+ <return type="void" />
+ <argument index="0" name="start_key" type="String" />
+ <argument index="1" name="end_key" type="String" />
+ <argument index="2" name="color" type="Color" />
+ <argument index="3" name="line_only" type="bool" default="false" />
<description>
Adds a color region such as comments or strings.
Both the start and end keys must be symbols. Only the start key has to be unique.
@@ -27,24 +22,18 @@
</description>
</method>
<method name="add_keyword_color">
- <return type="void">
- </return>
- <argument index="0" name="keyword" type="String">
- </argument>
- <argument index="1" name="color" type="Color">
- </argument>
+ <return type="void" />
+ <argument index="0" name="keyword" type="String" />
+ <argument index="1" name="color" type="Color" />
<description>
Sets the color for a keyword.
The keyword cannot contain any symbols except '_'.
</description>
</method>
<method name="add_member_keyword_color">
- <return type="void">
- </return>
- <argument index="0" name="member_keyword" type="String">
- </argument>
- <argument index="1" name="color" type="Color">
- </argument>
+ <return type="void" />
+ <argument index="0" name="member_keyword" type="String" />
+ <argument index="1" name="color" type="Color" />
<description>
Sets the color for a member keyword.
The member keyword cannot contain any symbols except '_'.
@@ -52,94 +41,75 @@
</description>
</method>
<method name="clear_color_regions">
- <return type="void">
- </return>
+ <return type="void" />
<description>
Removes all color regions.
</description>
</method>
<method name="clear_keyword_colors">
- <return type="void">
- </return>
+ <return type="void" />
<description>
Removes all keywords.
</description>
</method>
<method name="clear_member_keyword_colors">
- <return type="void">
- </return>
+ <return type="void" />
<description>
Removes all member keywords.
</description>
</method>
<method name="get_keyword_color" qualifiers="const">
- <return type="Color">
- </return>
- <argument index="0" name="keyword" type="String">
- </argument>
+ <return type="Color" />
+ <argument index="0" name="keyword" type="String" />
<description>
Returns the color for a keyword.
</description>
</method>
<method name="get_member_keyword_color" qualifiers="const">
- <return type="Color">
- </return>
- <argument index="0" name="member_keyword" type="String">
- </argument>
+ <return type="Color" />
+ <argument index="0" name="member_keyword" type="String" />
<description>
Returns the color for a member keyword.
</description>
</method>
<method name="has_color_region" qualifiers="const">
- <return type="bool">
- </return>
- <argument index="0" name="start_key" type="String">
- </argument>
+ <return type="bool" />
+ <argument index="0" name="start_key" type="String" />
<description>
Return [code]true[/code] if the start key exists, else [code]false[/code].
</description>
</method>
<method name="has_keyword_color" qualifiers="const">
- <return type="bool">
- </return>
- <argument index="0" name="keyword" type="String">
- </argument>
+ <return type="bool" />
+ <argument index="0" name="keyword" type="String" />
<description>
Return [code]true[/code] if the keyword exists, else [code]false[/code].
</description>
</method>
<method name="has_member_keyword_color" qualifiers="const">
- <return type="bool">
- </return>
- <argument index="0" name="member_keyword" type="String">
- </argument>
+ <return type="bool" />
+ <argument index="0" name="member_keyword" type="String" />
<description>
Return [code]true[/code] if the member keyword exists, else [code]false[/code].
</description>
</method>
<method name="remove_color_region">
- <return type="void">
- </return>
- <argument index="0" name="start_key" type="String">
- </argument>
+ <return type="void" />
+ <argument index="0" name="start_key" type="String" />
<description>
Removes the color region that uses that start key.
</description>
</method>
<method name="remove_keyword_color">
- <return type="void">
- </return>
- <argument index="0" name="keyword" type="String">
- </argument>
+ <return type="void" />
+ <argument index="0" name="keyword" type="String" />
<description>
Removes the keyword.
</description>
</method>
<method name="remove_member_keyword_color">
- <return type="void">
- </return>
- <argument index="0" name="member_keyword" type="String">
- </argument>
+ <return type="void" />
+ <argument index="0" name="member_keyword" type="String" />
<description>
Removes the member keyword.
</description>