Procházet zdrojové kódy

Fixed autocomlete strings not appearing for function arguments

Paulb23 před 9 roky
rodič
revize
9e6234201b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      scene/gui/text_edit.cpp

+ 1 - 1
scene/gui/text_edit.cpp

@@ -3903,7 +3903,7 @@ void TextEdit::_update_completion_candidates() {
 		}
 	}
 
-	if (l[cursor.column - 1] == '(' && !pre_keyword) {
+	if (l[cursor.column - 1] == '(' && !pre_keyword && !completion_strings[0].begins_with("\"")) {
 		cancel = true;
 	}