You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Add coloring for completion of vector components
This commit is contained in:
committed by
Yuri Roubinski
parent
f7c48cf803
commit
35802374ac
@@ -344,14 +344,16 @@ public:
|
||||
Vector<Pair<int, int>> matches;
|
||||
Vector<Pair<int, int>> last_matches = { { -1, -1 } }; // This value correspond to an impossible match
|
||||
int location = LOCATION_OTHER;
|
||||
String theme_color_name;
|
||||
|
||||
CodeCompletionOption() {}
|
||||
|
||||
CodeCompletionOption(const String &p_text, CodeCompletionKind p_kind, int p_location = LOCATION_OTHER) {
|
||||
CodeCompletionOption(const String &p_text, CodeCompletionKind p_kind, int p_location = LOCATION_OTHER, const String &p_theme_color_name = "") {
|
||||
display = p_text;
|
||||
insert_text = p_text;
|
||||
kind = p_kind;
|
||||
location = p_location;
|
||||
theme_color_name = p_theme_color_name;
|
||||
}
|
||||
|
||||
TypedArray<int> get_option_characteristics(const String &p_base);
|
||||
|
||||
Reference in New Issue
Block a user