Merge pull request #33233 from hilfazer/dollar-quoted-autocomplete

$ autocompletion keeps quotation
This commit is contained in:
Rémi Verschelde 2019-11-01 16:52:13 +01:00 committed by GitHub
commit 5160d4f5ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -6535,6 +6535,7 @@ void TextEdit::_update_completion_candidates() {
if (inquote && restore_quotes == 1 && !option.display.is_quoted()) {
String quote = single_quote ? "'" : "\"";
option.display = option.display.quote(quote);
option.insert_text = option.insert_text.quote(quote);
}
if (option.display.begins_with(s)) {