diff options
| author | Juan Linietsky | 2018-05-07 11:49:34 -0300 |
|---|---|---|
| committer | GitHub | 2018-05-07 11:49:34 -0300 |
| commit | 6e9517ca838ee01444614cdc9e6899c2555a172e (patch) | |
| tree | 689938d966e3927d92154df25c7eb304b16fcaef /editor/plugins/script_text_editor.cpp | |
| parent | d4cdee5f9e4d39493e3f28ab229935a143a52015 (diff) | |
| parent | 0c1a71b0471d30138db00f9a50d3bf4157523586 (diff) | |
| download | godot-6e9517ca838ee01444614cdc9e6899c2555a172e.tar.gz godot-6e9517ca838ee01444614cdc9e6899c2555a172e.tar.zst godot-6e9517ca838ee01444614cdc9e6899c2555a172e.zip | |
Diffstat (limited to 'editor/plugins/script_text_editor.cpp')
| -rw-r--r-- | editor/plugins/script_text_editor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp index 0114dfc63..45f5e667f 100644 --- a/editor/plugins/script_text_editor.cpp +++ b/editor/plugins/script_text_editor.cpp @@ -746,6 +746,8 @@ void ScriptTextEditor::_lookup_symbol(const String &p_symbol, int p_row, int p_c _goto_line(p_row); + result.class_name = result.class_name.trim_prefix("_"); + switch (result.type) { case ScriptLanguage::LookupResult::RESULT_SCRIPT_LOCATION: { |
