0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 16:44:39 +03:00

Script completion has been fixed

This commit is contained in:
Arin Alexander 2018-07-09 22:52:47 +03:00
parent 9b4d2c934c
commit 2a5b83296b

View File

@ -170,7 +170,7 @@ QString CodeEditor::textUnderCursor() const
currentText = blockText.at(i-1) + currentText;
else break;
}
return currentText;
return currentText.trimmed();
}
bool CodeEditor::matchLeftParenthesis(QTextBlock currentBlock, QChar parenthesisType, int i, int numLeftParentheses)