summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-02-04 14:38:51 +0100
committerRémi Verschelde <rverschelde@gmail.com>2021-02-04 14:45:06 +0100
commit69152af45d4e130794f01e479976bd2ad0765bc7 (patch)
tree761b80dcbb22f16afe1460dcf26a83ed23c751be /doc/classes
parent444f57210e9ce22b8ede1057dcf794ed9938209f (diff)
doc: Don't bind argument names with p_ prefix
This prefix is used in the C++ codebase, not in the scripting API.
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/CodeHighlighter.xml12
-rw-r--r--doc/classes/SyntaxHighlighter.xml4
2 files changed, 8 insertions, 8 deletions
diff --git a/doc/classes/CodeHighlighter.xml b/doc/classes/CodeHighlighter.xml
index 5311498677..f078e4e5b0 100644
--- a/doc/classes/CodeHighlighter.xml
+++ b/doc/classes/CodeHighlighter.xml
@@ -12,13 +12,13 @@
<method name="add_color_region">
<return type="void">
</return>
- <argument index="0" name="p_start_key" type="String">
+ <argument index="0" name="start_key" type="String">
</argument>
- <argument index="1" name="p_end_key" type="String">
+ <argument index="1" name="end_key" type="String">
</argument>
- <argument index="2" name="p_color" type="Color">
+ <argument index="2" name="color" type="Color">
</argument>
- <argument index="3" name="p_line_only" type="bool" default="false">
+ <argument index="3" name="line_only" type="bool" default="false">
</argument>
<description>
Adds a color region such as comments or strings.
@@ -93,7 +93,7 @@
<method name="has_color_region" qualifiers="const">
<return type="bool">
</return>
- <argument index="0" name="p_start_key" type="String">
+ <argument index="0" name="start_key" type="String">
</argument>
<description>
Return [code]true[/code] if the start key exists, else [code]false[/code].
@@ -120,7 +120,7 @@
<method name="remove_color_region">
<return type="void">
</return>
- <argument index="0" name="p_start_key" type="String">
+ <argument index="0" name="start_key" type="String">
</argument>
<description>
Removes the color region that uses that start key.
diff --git a/doc/classes/SyntaxHighlighter.xml b/doc/classes/SyntaxHighlighter.xml
index ac682554ce..3f87e4f61d 100644
--- a/doc/classes/SyntaxHighlighter.xml
+++ b/doc/classes/SyntaxHighlighter.xml
@@ -21,7 +21,7 @@
<method name="_get_line_syntax_highlighting" qualifiers="virtual">
<return type="Dictionary">
</return>
- <argument index="0" name="p_line" type="int">
+ <argument index="0" name="line" type="int">
</argument>
<description>
Virtual method which can be overridden to return syntax highlighting data.
@@ -46,7 +46,7 @@
<method name="get_line_syntax_highlighting">
<return type="Dictionary">
</return>
- <argument index="0" name="p_line" type="int">
+ <argument index="0" name="line" type="int">
</argument>
<description>
Returns syntax highlighting data for a single line. If the line is not cached, calls [method _get_line_syntax_highlighting] to calculate the data.