summaryrefslogtreecommitdiffstats
path: root/scene/gui/text_edit.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-08-24 15:02:10 +0200
committerGitHub <noreply@github.com>2018-08-24 15:02:10 +0200
commitcad24adb977982a776a3ff3246ed9a47268da38e (patch)
tree54ff3bb78961ca5d8120cc7e6abe91f5c99d92b7 /scene/gui/text_edit.cpp
parentd442f3d0aa4185f154bee396efaf24ceb73c9d84 (diff)
parent52466d57e9c2897c40698a09482e5e7de230368f (diff)
downloadredot-engine-cad24adb977982a776a3ff3246ed9a47268da38e.tar.gz
Merge pull request #21354 from akien-mga/clean-print_line
Make some debug prints verbose-only, remove others
Diffstat (limited to 'scene/gui/text_edit.cpp')
-rw-r--r--scene/gui/text_edit.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp
index 9a8dc62e4e..9616caa811 100644
--- a/scene/gui/text_edit.cpp
+++ b/scene/gui/text_edit.cpp
@@ -5692,15 +5692,12 @@ void TextEdit::_update_completion_candidates() {
bool pre_keyword = false;
bool cancel = false;
- //print_line("inquote: "+itos(inquote)+"first quote "+itos(first_quote)+" cofs-1 "+itos(cofs-1));
if (!inquote && first_quote == cofs - 1) {
//no completion here
- //print_line("cancel!");
cancel = true;
} else if (inquote && first_quote != -1) {
s = l.substr(first_quote, cofs - first_quote);
- //print_line("s: 1"+s);
} else if (cofs > 0 && l[cofs - 1] == ' ') {
int kofs = cofs - 1;
String kw;
@@ -5713,7 +5710,6 @@ void TextEdit::_update_completion_candidates() {
}
pre_keyword = keywords.has(kw);
- //print_line("KW "+kw+"? "+itos(pre_keyword));
} else {