diff options
| author | Peter Folkins | 2018-05-04 21:04:39 -0500 |
|---|---|---|
| committer | Peter Folkins | 2018-05-05 13:23:47 -0500 |
| commit | 0c1a71b0471d30138db00f9a50d3bf4157523586 (patch) | |
| tree | 7e94a1f567b92fc32e54d5294511924306a000b2 | |
| parent | c9f5288b671ea7dda8a07e9834058438ebe8bbc4 (diff) | |
| download | godot-0c1a71b0471d30138db00f9a50d3bf4157523586.tar.gz godot-0c1a71b0471d30138db00f9a50d3bf4157523586.tar.zst godot-0c1a71b0471d30138db00f9a50d3bf4157523586.zip | |
| -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 c872a6f28..c41032467 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: { |
