feat: updated engine version to 4.4-rc1
This commit is contained in:
parent
ee00efde1f
commit
21ba8e33af
5459 changed files with 1128836 additions and 198305 deletions
|
|
@ -41,11 +41,11 @@
|
|||
<return type="Dictionary" />
|
||||
<param index="0" name="line" type="int" />
|
||||
<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.
|
||||
The return [Dictionary] is column number to [Dictionary]. The column number notes the start of a region, the region will end if another region is found, or at the end of the line. The nested [Dictionary] contains the data for that region, currently only the key "color" is supported.
|
||||
[b]Example return:[/b]
|
||||
Returns the syntax highlighting data for the line at index [param line]. If the line is not cached, calls [method _get_line_syntax_highlighting] first to calculate the data.
|
||||
Each entry is a column number containing a nested [Dictionary]. The column number denotes the start of a region, the region will end if another region is found, or at the end of the line. The nested [Dictionary] contains the data for that region. Currently only the key [code]"color"[/code] is supported.
|
||||
[b]Example:[/b] Possible return value. This means columns [code]0[/code] to [code]4[/code] should be red, and columns [code]5[/code] to the end of the line should be green:
|
||||
[codeblock]
|
||||
var color_map = {
|
||||
{
|
||||
0: {
|
||||
"color": Color(1, 0, 0)
|
||||
},
|
||||
|
|
@ -54,7 +54,6 @@
|
|||
}
|
||||
}
|
||||
[/codeblock]
|
||||
This will color columns 0-4 red, and columns 5-eol in green.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_text_edit" qualifiers="const">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue