forked from qt-creator/qt-creator
Clean up whitespace before EOL
Change-Id: I385544a10b9be66589b0d1a48594128035836c8a Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -766,7 +766,7 @@ void CodeFormatter::correctIndentation(const QTextBlock &block)
|
||||
}
|
||||
|
||||
bool CodeFormatter::tryExpression(bool alsoExpression)
|
||||
{
|
||||
{
|
||||
int newState = -1;
|
||||
|
||||
const int kind = m_currentToken.kind();
|
||||
@@ -1027,7 +1027,7 @@ void CodeFormatter::saveCurrentState(const QTextBlock &block)
|
||||
|
||||
void CodeFormatter::restoreCurrentState(const QTextBlock &block)
|
||||
{
|
||||
if (block.isValid()) {
|
||||
if (block.isValid()) {
|
||||
BlockData blockData;
|
||||
if (loadBlockData(block, &blockData)) {
|
||||
m_indentDepth = blockData.m_indentDepth;
|
||||
|
||||
Reference in New Issue
Block a user