2020-09-11 10:22:10 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
<class name= "CodeEdit" inherits= "TextEdit" version= "4.0" >
<brief_description >
</brief_description>
<description >
2021-03-18 11:04:28 +00:00
[b]Note[/b]: By default [CodeEdit] always use left-to-right text direction to correctly display source code.
2020-09-11 10:22:10 +00:00
</description>
<tutorials >
</tutorials>
<methods >
2021-05-22 14:11:04 +00:00
<method name= "_confirm_code_completion" qualifiers= "virtual" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
<argument index= "0" name= "replace" type= "bool" />
2021-05-22 14:11:04 +00:00
<description >
Override this method to define how the selected entry should be inserted. If [code]replace[/code] is true, any existing text should be replaced.
</description>
</method>
<method name= "_filter_code_completion_candidates" qualifiers= "virtual" >
2021-07-30 13:28:05 +00:00
<return type= "Array" />
<argument index= "0" name= "candidates" type= "Array" />
2021-05-22 14:11:04 +00:00
<description >
Override this method to define what items in [code]candidates[/code] should be displayed.
Both [code]candidates[/code] and the return is a [Array] of [Dictionary], see [method get_code_completion_option] for [Dictionary] content.
</description>
</method>
<method name= "_request_code_completion" qualifiers= "virtual" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
<argument index= "0" name= "force" type= "bool" />
2021-05-22 14:11:04 +00:00
<description >
Override this method to define what happens when the user requests code completion. If [code]force[/code] is true, any checks should be bypassed.
</description>
</method>
2021-06-28 16:14:44 +00:00
<method name= "add_auto_brace_completion_pair" >
<return type= "void" >
</return>
<argument index= "0" name= "start_key" type= "String" >
</argument>
<argument index= "1" name= "end_key" type= "String" >
</argument>
<description >
Adds a brace pair.
Both the start and end keys must be symbols. Only the start key has to be unique.
</description>
</method>
2021-05-22 14:11:04 +00:00
<method name= "add_code_completion_option" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
<argument index= "0" name= "type" type= "int" enum= "CodeEdit.CodeCompletionKind" />
<argument index= "1" name= "display_text" type= "String" />
<argument index= "2" name= "insert_text" type= "String" />
<argument index= "3" name= "text_color" type= "Color" default= "Color(1, 1, 1, 1)" />
<argument index= "4" name= "icon" type= "Resource" default= "null" />
<argument index= "5" name= "value" type= "Variant" default= "0" />
2021-05-22 14:11:04 +00:00
<description >
Submits an item to the queue of potential candidates for the autocomplete menu. Call [method update_code_completion_options] to update the list.
[b]Note[/b]: This list will replace all current candidates.
</description>
</method>
<method name= "add_comment_delimiter" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
<argument index= "0" name= "start_key" type= "String" />
<argument index= "1" name= "end_key" type= "String" />
<argument index= "2" name= "line_only" type= "bool" default= "false" />
2021-05-22 14:11:04 +00:00
<description >
Adds a comment delimiter.
Both the start and end keys must be symbols. Only the start key has to be unique.
Line only denotes if the region should continue until the end of the line or carry over on to the next line. If the end key is blank this is automatically set to [code]true[/code].
</description>
</method>
<method name= "add_string_delimiter" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
<argument index= "0" name= "start_key" type= "String" />
<argument index= "1" name= "end_key" type= "String" />
<argument index= "2" name= "line_only" type= "bool" default= "false" />
2021-05-22 14:11:04 +00:00
<description >
Adds a string delimiter.
Both the start and end keys must be symbols. Only the start key has to be unique.
Line only denotes if the region should continue until the end of the line or carry over on to the next line. If the end key is blank this is automatically set to [code]true[/code].
</description>
</method>
2021-03-13 14:09:49 +00:00
<method name= "can_fold_line" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "bool" />
<argument index= "0" name= "line" type= "int" />
2021-03-13 14:09:49 +00:00
<description >
Returns if the given line is foldable, that is, it has indented lines right below it or a comment / string block.
</description>
</method>
2021-05-22 14:11:04 +00:00
<method name= "cancel_code_completion" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
2021-05-22 14:11:04 +00:00
<description >
Cancels the autocomplete menu.
</description>
</method>
2020-09-11 10:22:10 +00:00
<method name= "clear_bookmarked_lines" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
2020-09-11 10:22:10 +00:00
<description >
</description>
</method>
<method name= "clear_breakpointed_lines" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
2020-09-11 10:22:10 +00:00
<description >
</description>
</method>
2021-05-22 14:11:04 +00:00
<method name= "clear_comment_delimiters" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
2021-05-22 14:11:04 +00:00
<description >
Removes all comment delimiters.
</description>
</method>
2020-09-11 10:22:10 +00:00
<method name= "clear_executing_lines" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
2020-09-11 10:22:10 +00:00
<description >
</description>
</method>
2021-05-22 14:11:04 +00:00
<method name= "clear_string_delimiters" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
2021-05-22 14:11:04 +00:00
<description >
Removes all string delimiters.
</description>
</method>
<method name= "confirm_code_completion" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
<argument index= "0" name= "replace" type= "bool" default= "false" />
2021-05-22 14:11:04 +00:00
<description >
Inserts the selected entry into the text. If [code]replace[/code] is true, any existing text is replaced rather then merged.
</description>
</method>
2021-06-15 14:05:01 +00:00
<method name= "do_indent" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
2021-06-15 14:05:01 +00:00
<description >
Perform an indent as if the user activated the "ui_text_indent" action.
</description>
</method>
<method name= "do_unindent" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
2021-06-15 14:05:01 +00:00
<description >
Perform an unindent as if the user activated the "ui_text_unindent" action.
</description>
</method>
2021-03-13 14:09:49 +00:00
<method name= "fold_all_lines" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
2021-03-13 14:09:49 +00:00
<description >
Folds all lines that are possible to be folded (see [method can_fold_line]).
</description>
</method>
<method name= "fold_line" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
<argument index= "0" name= "line" type= "int" />
2021-03-13 14:09:49 +00:00
<description >
Folds the given line, if possible (see [method can_fold_line]).
</description>
</method>
2021-06-28 16:14:44 +00:00
<method name= "get_auto_brace_completion_close_key" qualifiers= "const" >
<return type= "String" >
</return>
<argument index= "0" name= "open_key" type= "String" >
</argument>
<description >
Gets the matching auto brace close key for [code]open_key[/code].
</description>
</method>
2020-09-11 10:22:10 +00:00
<method name= "get_bookmarked_lines" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "Array" />
2020-09-11 10:22:10 +00:00
<description >
</description>
</method>
<method name= "get_breakpointed_lines" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "Array" />
2020-09-11 10:22:10 +00:00
<description >
</description>
</method>
2021-05-22 14:11:04 +00:00
<method name= "get_code_completion_option" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "Dictionary" />
<argument index= "0" name= "index" type= "int" />
2021-05-22 14:11:04 +00:00
<description >
Gets the completion option at [code]index[/code]. The return [Dictionary] has the following key-values:
[code]kind[/code]: [enum CodeCompletionKind]
[code]display_text[/code]: Text that is shown on the autocomplete menu.
[code]insert_text[/code]: Text that is to be inserted when this item is selected.
[code]font_color[/code]: Color of the text on the autocomplete menu.
[code]icon[/code]: Icon to draw on the autocomplete menu.
[code]default_value[/code]: Value of the symbol.
</description>
</method>
<method name= "get_code_completion_options" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "Dictionary[]" />
2021-05-22 14:11:04 +00:00
<description >
Gets all completion options, see [method get_code_completion_option] for return content.
</description>
</method>
<method name= "get_code_completion_selected_index" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "int" />
2021-05-22 14:11:04 +00:00
<description >
Gets the index of the current selected completion option.
</description>
</method>
<method name= "get_delimiter_end_key" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "String" />
<argument index= "0" name= "delimiter_index" type= "int" />
2021-05-22 14:11:04 +00:00
<description >
Gets the end key for a string or comment region index.
</description>
</method>
2021-06-16 14:15:29 +00:00
<method name= "get_delimiter_end_position" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "Vector2" />
<argument index= "0" name= "line" type= "int" />
<argument index= "1" name= "column" type= "int" />
2021-05-22 14:11:04 +00:00
<description >
If [code]line[/code] [code]column[/code] is in a string or comment, returns the end position of the region. If not or no end could be found, both [Vector2] values will be [code]-1[/code].
</description>
</method>
<method name= "get_delimiter_start_key" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "String" />
<argument index= "0" name= "delimiter_index" type= "int" />
2021-05-22 14:11:04 +00:00
<description >
Gets the start key for a string or comment region index.
</description>
</method>
2021-06-16 14:15:29 +00:00
<method name= "get_delimiter_start_position" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "Vector2" />
<argument index= "0" name= "line" type= "int" />
<argument index= "1" name= "column" type= "int" />
2021-05-22 14:11:04 +00:00
<description >
If [code]line[/code] [code]column[/code] is in a string or comment, returns the start position of the region. If not or no start could be found, both [Vector2] values will be [code]-1[/code].
</description>
</method>
2020-09-11 10:22:10 +00:00
<method name= "get_executing_lines" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "Array" />
2020-09-11 10:22:10 +00:00
<description >
</description>
</method>
2021-03-13 14:09:49 +00:00
<method name= "get_folded_lines" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "int[]" />
2021-03-13 14:09:49 +00:00
<description >
Return all lines that are current folded.
</description>
</method>
2021-05-22 14:11:04 +00:00
<method name= "get_text_for_code_completion" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "String" />
2021-05-22 14:11:04 +00:00
<description >
Returns the full text with char [code]0xFFFF[/code] at the caret location.
</description>
</method>
2021-06-28 16:14:44 +00:00
<method name= "has_auto_brace_completion_close_key" qualifiers= "const" >
<return type= "bool" >
</return>
<argument index= "0" name= "close_key" type= "String" >
</argument>
<description >
Returns [code]true[/code] if close key [code]close_key[/code] exists.
</description>
</method>
<method name= "has_auto_brace_completion_open_key" qualifiers= "const" >
<return type= "bool" >
</return>
<argument index= "0" name= "open_key" type= "String" >
</argument>
<description >
Returns [code]true[/code] if open key [code]open_key[/code] exists.
</description>
</method>
2021-05-22 14:11:04 +00:00
<method name= "has_comment_delimiter" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "bool" />
<argument index= "0" name= "start_key" type= "String" />
2021-05-22 14:11:04 +00:00
<description >
Returns [code]true[/code] if comment [code]start_key[/code] exists.
</description>
</method>
<method name= "has_string_delimiter" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "bool" />
<argument index= "0" name= "start_key" type= "String" />
2021-05-22 14:11:04 +00:00
<description >
Returns [code]true[/code] if string [code]start_key[/code] exists.
</description>
</method>
2021-06-15 14:05:01 +00:00
<method name= "indent_lines" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
2021-06-15 14:05:01 +00:00
<description >
Indents selected lines, or in the case of no selection the caret line by one.
</description>
</method>
2021-05-22 14:11:04 +00:00
<method name= "is_in_comment" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "int" />
<argument index= "0" name= "line" type= "int" />
<argument index= "1" name= "column" type= "int" default= "-1" />
2021-05-22 14:11:04 +00:00
<description >
Return delimiter index if [code]line[/code] [code]column[/code] is in a comment. If [code]column[/code] is not provided, will return delimiter index if the entire [code]line[/code] is a comment. Otherwise [code]-1[/code].
</description>
</method>
<method name= "is_in_string" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "int" />
<argument index= "0" name= "line" type= "int" />
<argument index= "1" name= "column" type= "int" default= "-1" />
2021-05-22 14:11:04 +00:00
<description >
Return the delimiter index if [code]line[/code] [code]column[/code] is in a string. If [code]column[/code] is not provided, will return the delimiter index if the entire [code]line[/code] is a string. Otherwise [code]-1[/code].
</description>
</method>
2020-09-11 10:22:10 +00:00
<method name= "is_line_bookmarked" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "bool" />
<argument index= "0" name= "line" type= "int" />
2020-09-11 10:22:10 +00:00
<description >
</description>
</method>
<method name= "is_line_breakpointed" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "bool" />
<argument index= "0" name= "line" type= "int" />
2020-09-11 10:22:10 +00:00
<description >
</description>
</method>
<method name= "is_line_executing" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "bool" />
<argument index= "0" name= "line" type= "int" />
2020-09-11 10:22:10 +00:00
<description >
</description>
</method>
2021-03-13 14:09:49 +00:00
<method name= "is_line_folded" qualifiers= "const" >
2021-07-30 13:28:05 +00:00
<return type= "bool" />
<argument index= "0" name= "line" type= "int" />
2021-03-13 14:09:49 +00:00
<description >
Returns whether the line at the specified index is folded or not.
</description>
</method>
2021-05-22 14:11:04 +00:00
<method name= "remove_comment_delimiter" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
<argument index= "0" name= "start_key" type= "String" />
2021-05-22 14:11:04 +00:00
<description >
Removes the comment delimiter with [code]start_key[/code].
</description>
</method>
<method name= "remove_string_delimiter" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
<argument index= "0" name= "start_key" type= "String" />
2021-05-22 14:11:04 +00:00
<description >
Removes the string delimiter with [code]start_key[/code].
</description>
</method>
<method name= "request_code_completion" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
<argument index= "0" name= "force" type= "bool" default= "false" />
2021-05-22 14:11:04 +00:00
<description >
Emits [signal request_code_completion], if [code]force[/code] is true will bypass all checks. Otherwise will check that the caret is in a word or in front of a prefix. Will ignore the request if all current options are of type file path, node path or signal.
</description>
</method>
<method name= "set_code_completion_selected_index" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
<argument index= "0" name= "index" type= "int" />
2021-05-22 14:11:04 +00:00
<description >
Sets the current selected completion option.
</description>
</method>
<method name= "set_code_hint" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
<argument index= "0" name= "code_hint" type= "String" />
2021-05-22 14:11:04 +00:00
<description >
Sets the code hint text. Pass an empty string to clear.
</description>
</method>
<method name= "set_code_hint_draw_below" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
<argument index= "0" name= "draw_below" type= "bool" />
2021-05-22 14:11:04 +00:00
<description >
Sets if the code hint should draw below the text.
</description>
</method>
2020-09-11 10:22:10 +00:00
<method name= "set_line_as_bookmarked" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
<argument index= "0" name= "line" type= "int" />
<argument index= "1" name= "bookmarked" type= "bool" />
2020-09-11 10:22:10 +00:00
<description >
</description>
</method>
<method name= "set_line_as_breakpoint" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
<argument index= "0" name= "line" type= "int" />
<argument index= "1" name= "breakpointed" type= "bool" />
2020-09-11 10:22:10 +00:00
<description >
</description>
</method>
<method name= "set_line_as_executing" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
<argument index= "0" name= "line" type= "int" />
<argument index= "1" name= "executing" type= "bool" />
2020-09-11 10:22:10 +00:00
<description >
</description>
</method>
2021-03-13 14:09:49 +00:00
<method name= "toggle_foldable_line" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
<argument index= "0" name= "line" type= "int" />
2021-03-13 14:09:49 +00:00
<description >
Toggle the folding of the code block at the given line.
</description>
</method>
<method name= "unfold_all_lines" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
2021-03-13 14:09:49 +00:00
<description >
</description>
</method>
<method name= "unfold_line" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
<argument index= "0" name= "line" type= "int" />
2021-03-13 14:09:49 +00:00
<description >
Unfolds all lines that were previously folded.
</description>
</method>
2021-06-15 14:05:01 +00:00
<method name= "unindent_lines" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
2021-06-15 14:05:01 +00:00
<description >
Unindents selected lines, or in the case of no selection the caret line by one.
</description>
</method>
2021-05-22 14:11:04 +00:00
<method name= "update_code_completion_options" >
2021-07-30 13:28:05 +00:00
<return type= "void" />
<argument index= "0" name= "force" type= "bool" />
2021-05-22 14:11:04 +00:00
<description >
Submits all completion options added with [method add_code_completion_option]. Will try to force the autoccomplete menu to popup, if [code]force[/code] is [code]true[/code].
[b]Note[/b]: This will replace all current candidates.
</description>
</method>
2020-09-11 10:22:10 +00:00
</methods>
<members >
2021-06-28 16:14:44 +00:00
<member name= "auto_brace_completion_enabled" type= "bool" setter= "set_auto_brace_completion_enabled" getter= "is_auto_brace_completion_enabled" default= "false" >
Sets whether brace pairs should be autocompleted.
</member>
2021-06-30 10:58:13 +00:00
<member name= "auto_brace_completion_highlight_matching" type= "bool" setter= "set_highlight_matching_braces_enabled" getter= "is_highlight_matching_braces_enabled" default= "false" >
Highlight mismatching brace pairs.
</member>
2021-06-28 16:14:44 +00:00
<member name= "auto_brace_completion_pairs" type= "Dictionary" setter= "set_auto_brace_completion_pairs" getter= "get_auto_brace_completion_pairs" default= "{"\"": "\"","'": "'","(": ")","[": "]","{": "}"}" >
Sets the brace pairs to be autocompleted.
</member>
2021-05-22 14:11:04 +00:00
<member name= "code_completion_enabled" type= "bool" setter= "set_code_completion_enabled" getter= "is_code_completion_enabled" default= "false" >
Sets whether code completion is allowed.
</member>
2019-09-24 17:45:03 +00:00
<member name= "code_completion_prefixes" type= "String[]" setter= "set_code_completion_prefixes" getter= "get_code_comletion_prefixes" default= "[]" >
2021-05-22 14:11:04 +00:00
Sets prefixes that will trigger code completion.
</member>
2019-09-24 17:45:03 +00:00
<member name= "delimiter_comments" type= "String[]" setter= "set_comment_delimiters" getter= "get_comment_delimiters" default= "[]" >
2021-05-22 14:11:04 +00:00
Sets the comment delimiters. All existing comment delimiters will be removed.
</member>
2019-09-24 17:45:03 +00:00
<member name= "delimiter_strings" type= "String[]" setter= "set_string_delimiters" getter= "get_string_delimiters" default= "[]" >
2021-05-22 14:11:04 +00:00
Sets the string delimiters. All existing string delimiters will be removed.
</member>
2020-09-11 10:22:10 +00:00
<member name= "draw_bookmarks" type= "bool" setter= "set_draw_bookmarks_gutter" getter= "is_drawing_bookmarks_gutter" default= "false" >
</member>
<member name= "draw_breakpoints_gutter" type= "bool" setter= "set_draw_breakpoints_gutter" getter= "is_drawing_breakpoints_gutter" default= "false" >
</member>
<member name= "draw_executing_lines" type= "bool" setter= "set_draw_executing_lines_gutter" getter= "is_drawing_executing_lines_gutter" default= "false" >
</member>
<member name= "draw_fold_gutter" type= "bool" setter= "set_draw_fold_gutter" getter= "is_drawing_fold_gutter" default= "false" >
</member>
<member name= "draw_line_numbers" type= "bool" setter= "set_draw_line_numbers" getter= "is_draw_line_numbers_enabled" default= "false" >
</member>
2021-06-15 14:05:01 +00:00
<member name= "indent_automatic" type= "bool" setter= "set_auto_indent_enabled" getter= "is_auto_indent_enabled" default= "false" >
Sets whether automatic indent are enabled, this will add an extra indent if a prefix or brace is found.
</member>
<member name= "indent_automatic_prefixes" type= "String[]" setter= "set_auto_indent_prefixes" getter= "get_auto_indent_prefixes" default= "["(", ":", "[", "{"]" >
Prefixes to trigger an automatic indent.
</member>
<member name= "indent_size" type= "int" setter= "set_indent_size" getter= "get_indent_size" default= "4" >
Size of tabs, if [code]indent_use_spaces[/code] is enabled the amount of spaces to use.
</member>
<member name= "indent_use_spaces" type= "bool" setter= "set_indent_using_spaces" getter= "is_indent_using_spaces" default= "false" >
Use spaces instead of tabs for indentation.
</member>
2020-08-12 11:49:10 +00:00
<member name= "layout_direction" type= "int" setter= "set_layout_direction" getter= "get_layout_direction" override= "true" enum= "Control.LayoutDirection" default= "2" />
2021-03-13 14:09:49 +00:00
<member name= "line_folding" type= "bool" setter= "set_line_folding_enabled" getter= "is_line_folding_enabled" default= "true" >
Sets whether line folding is allowed.
</member>
2019-09-24 17:45:03 +00:00
<member name= "structured_text_bidi_override_options" type= "Array" setter= "set_structured_text_bidi_override_options" getter= "get_structured_text_bidi_override_options" override= "true" default= "[]" />
2020-08-12 11:49:10 +00:00
<member name= "text_direction" type= "int" setter= "set_text_direction" getter= "get_text_direction" override= "true" enum= "Control.TextDirection" default= "1" />
2020-09-11 10:22:10 +00:00
<member name= "zero_pad_line_numbers" type= "bool" setter= "set_line_numbers_zero_padded" getter= "is_line_numbers_zero_padded" default= "false" >
</member>
</members>
<signals >
<signal name= "breakpoint_toggled" >
2021-07-30 13:28:05 +00:00
<argument index= "0" name= "line" type= "int" />
2020-09-11 10:22:10 +00:00
<description >
</description>
</signal>
2021-05-22 14:11:04 +00:00
<signal name= "request_code_completion" >
<description >
Emitted when the user requests code completion.
</description>
</signal>
2020-09-11 10:22:10 +00:00
</signals>
<constants >
2021-05-22 14:11:04 +00:00
<constant name= "KIND_CLASS" value= "0" enum= "CodeCompletionKind" >
</constant>
<constant name= "KIND_FUNCTION" value= "1" enum= "CodeCompletionKind" >
</constant>
<constant name= "KIND_SIGNAL" value= "2" enum= "CodeCompletionKind" >
</constant>
<constant name= "KIND_VARIABLE" value= "3" enum= "CodeCompletionKind" >
</constant>
<constant name= "KIND_MEMBER" value= "4" enum= "CodeCompletionKind" >
</constant>
<constant name= "KIND_ENUM" value= "5" enum= "CodeCompletionKind" >
</constant>
<constant name= "KIND_CONSTANT" value= "6" enum= "CodeCompletionKind" >
</constant>
<constant name= "KIND_NODE_PATH" value= "7" enum= "CodeCompletionKind" >
</constant>
<constant name= "KIND_FILE_PATH" value= "8" enum= "CodeCompletionKind" >
</constant>
<constant name= "KIND_PLAIN_TEXT" value= "9" enum= "CodeCompletionKind" >
</constant>
2020-09-11 10:22:10 +00:00
</constants>
<theme_items >
2019-09-24 17:45:03 +00:00
<theme_item name= "background_color" type= "Color" default= "Color(0, 0, 0, 0)" >
2020-09-11 10:22:10 +00:00
</theme_item>
<theme_item name= "bookmark" type= "Texture2D" >
</theme_item>
2019-09-24 17:45:03 +00:00
<theme_item name= "bookmark_color" type= "Color" default= "Color(0.5, 0.64, 1, 0.8)" >
2020-09-11 10:22:10 +00:00
</theme_item>
2019-09-24 17:45:03 +00:00
<theme_item name= "brace_mismatch_color" type= "Color" default= "Color(1, 0.2, 0.2, 1)" >
2020-09-11 10:22:10 +00:00
</theme_item>
<theme_item name= "breakpoint" type= "Texture2D" >
</theme_item>
2019-09-24 17:45:03 +00:00
<theme_item name= "breakpoint_color" type= "Color" default= "Color(0.9, 0.29, 0.3, 1)" >
2020-09-11 10:22:10 +00:00
</theme_item>
<theme_item name= "can_fold" type= "Texture2D" >
</theme_item>
2019-09-24 17:45:03 +00:00
<theme_item name= "caret_background_color" type= "Color" default= "Color(0, 0, 0, 1)" >
2020-09-11 10:22:10 +00:00
</theme_item>
2019-09-24 17:45:03 +00:00
<theme_item name= "caret_color" type= "Color" default= "Color(0.88, 0.88, 0.88, 1)" >
2020-09-11 10:22:10 +00:00
</theme_item>
2019-09-24 17:45:03 +00:00
<theme_item name= "code_folding_color" type= "Color" default= "Color(0.8, 0.8, 0.8, 0.8)" >
2020-09-11 10:22:10 +00:00
</theme_item>
<theme_item name= "completion" type= "StyleBox" >
</theme_item>
2019-09-24 17:45:03 +00:00
<theme_item name= "completion_background_color" type= "Color" default= "Color(0.17, 0.16, 0.2, 1)" >
2020-09-11 10:22:10 +00:00
</theme_item>
2019-09-24 17:45:03 +00:00
<theme_item name= "completion_existing_color" type= "Color" default= "Color(0.87, 0.87, 0.87, 0.13)" >
2020-09-11 10:22:10 +00:00
</theme_item>
2019-09-24 17:45:03 +00:00
<theme_item name= "completion_font_color" type= "Color" default= "Color(0.67, 0.67, 0.67, 1)" >
2020-09-11 10:22:10 +00:00
</theme_item>
<theme_item name= "completion_lines" type= "int" default= "7" >
</theme_item>
<theme_item name= "completion_max_width" type= "int" default= "50" >
</theme_item>
2019-09-24 17:45:03 +00:00
<theme_item name= "completion_scroll_color" type= "Color" default= "Color(1, 1, 1, 1)" >
2020-09-11 10:22:10 +00:00
</theme_item>
<theme_item name= "completion_scroll_width" type= "int" default= "3" >
</theme_item>
2019-09-24 17:45:03 +00:00
<theme_item name= "completion_selected_color" type= "Color" default= "Color(0.26, 0.26, 0.27, 1)" >
2020-09-11 10:22:10 +00:00
</theme_item>
2019-09-24 17:45:03 +00:00
<theme_item name= "current_line_color" type= "Color" default= "Color(0.25, 0.25, 0.26, 0.8)" >
2020-09-11 10:22:10 +00:00
</theme_item>
<theme_item name= "executing_line" type= "Texture2D" >
</theme_item>
2019-09-24 17:45:03 +00:00
<theme_item name= "executing_line_color" type= "Color" default= "Color(0.98, 0.89, 0.27, 1)" >
2020-09-11 10:22:10 +00:00
</theme_item>
<theme_item name= "focus" type= "StyleBox" >
</theme_item>
<theme_item name= "folded" type= "Texture2D" >
</theme_item>
2021-03-13 14:09:49 +00:00
<theme_item name= "folded_eol_icon" type= "Texture2D" >
</theme_item>
2020-09-11 10:22:10 +00:00
<theme_item name= "font" type= "Font" >
</theme_item>
2019-09-24 17:45:03 +00:00
<theme_item name= "font_color" type= "Color" default= "Color(0.88, 0.88, 0.88, 1)" >
2020-09-11 10:22:10 +00:00
</theme_item>
2019-09-24 17:45:03 +00:00
<theme_item name= "font_outline_color" type= "Color" default= "Color(1, 1, 1, 1)" >
2020-12-25 21:45:28 +00:00
The tint of text outline of the [CodeEdit].
</theme_item>
2019-09-24 17:45:03 +00:00
<theme_item name= "font_readonly_color" type= "Color" default= "Color(0.88, 0.88, 0.88, 0.5)" >
2020-09-11 10:22:10 +00:00
</theme_item>
2019-09-24 17:45:03 +00:00
<theme_item name= "font_selected_color" type= "Color" default= "Color(0, 0, 0, 1)" >
2020-09-11 10:22:10 +00:00
</theme_item>
2020-08-12 11:49:10 +00:00
<theme_item name= "font_size" type= "int" >
Font size of the [CodeEdit]'s text.
</theme_item>
2019-09-24 17:45:03 +00:00
<theme_item name= "line_number_color" type= "Color" default= "Color(0.67, 0.67, 0.67, 0.4)" >
2020-09-11 10:22:10 +00:00
</theme_item>
<theme_item name= "line_spacing" type= "int" default= "4" >
</theme_item>
<theme_item name= "normal" type= "StyleBox" >
</theme_item>
2020-12-25 21:45:28 +00:00
<theme_item name= "outline_size" type= "int" default= "0" >
The size of the text outline.
</theme_item>
2020-09-11 10:22:10 +00:00
<theme_item name= "read_only" type= "StyleBox" >
</theme_item>
2019-09-24 17:45:03 +00:00
<theme_item name= "safe_line_number_color" type= "Color" default= "Color(0.67, 0.78, 0.67, 0.6)" >
2020-09-11 10:22:10 +00:00
</theme_item>
2019-09-24 17:45:03 +00:00
<theme_item name= "selection_color" type= "Color" default= "Color(0.49, 0.49, 0.49, 1)" >
2020-09-11 10:22:10 +00:00
</theme_item>
<theme_item name= "space" type= "Texture2D" >
</theme_item>
<theme_item name= "tab" type= "Texture2D" >
</theme_item>
2019-09-24 17:45:03 +00:00
<theme_item name= "word_highlighted_color" type= "Color" default= "Color(0.8, 0.9, 0.9, 0.15)" >
2020-09-11 10:22:10 +00:00
</theme_item>
</theme_items>
</class>