Improved go-to definition (Ctrl + Click)
Co-Authored-By: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
This commit is contained in:
parent
20edf69f96
commit
be7a353c70
6 changed files with 64 additions and 3 deletions
|
|
@ -1158,7 +1158,7 @@ void TextEdit::_notification(int p_what) {
|
|||
highlighted_text_col = _get_column_pos_of_word(highlighted_text, str, SEARCH_MATCH_CASE | SEARCH_WHOLE_WORDS, 0);
|
||||
|
||||
if (select_identifiers_enabled && highlighted_word.length() != 0) {
|
||||
if (_is_char(highlighted_word[0])) {
|
||||
if (_is_char(highlighted_word[0]) || highlighted_word[0] == '.') {
|
||||
highlighted_word_col = _get_column_pos_of_word(highlighted_word, fullstr, SEARCH_MATCH_CASE | SEARCH_WHOLE_WORDS, 0);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue