2
0
Эх сурвалжийг харах

Fixed code completion after opening bracket, issue 3977

Paulb23 9 жил өмнө
parent
commit
0a2b341d0a

+ 3 - 0
scene/gui/text_edit.cpp

@@ -3911,6 +3911,9 @@ void TextEdit::_update_completion_candidates() {
 		}
 		}
 	}
 	}
 
 
+	if (l[cursor.column - 1] == '(' && !pre_keyword) {
+		cancel = true;
+	}
 
 
 	update();
 	update();