Merge pull request #18642 from flashyincceo/engine-click

Fix script editor CTRL+CLICK on singleton functions
This commit is contained in:
Juan Linietsky 2018-05-07 11:49:34 -03:00 committed by GitHub
commit 6e9517ca83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: {