Commit 9844cd24 authored by Tim Jenssen's avatar Tim Jenssen
Browse files

QmlDesigner: space only cleanups



Change-Id: I959208b27694ff3c75650a3f482a0a975ca6e769
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@theqtcompany.com>
parent 19e026d7
......@@ -134,7 +134,7 @@ static ComponentTextModifier *createComponentTextModifier(TextModifier *original
componentEndOffset = componentStartOffset + rewriterView->nodeLength(componentNode);
}
return new ComponentTextModifier (originalModifier, componentStartOffset, componentEndOffset, rootStartOffset);
return new ComponentTextModifier(originalModifier, componentStartOffset, componentEndOffset, rootStartOffset);
}
bool DesignDocument::loadInFileComponent(const ModelNode &componentNode)
......
......@@ -134,7 +134,6 @@ bool BaseTextEditModifier::moveToComponent(int nodeOffset)
QmlJSEditor::ComponentFromObjectDef::perform(document->filePath().toString(), object);
return true;
}
}
return false;
......
......@@ -26,6 +26,7 @@
#include "componenttextmodifier.h"
using namespace QmlDesigner;
ComponentTextModifier::ComponentTextModifier(TextModifier *originalModifier, int componentStartOffset, int componentEndOffset, int rootStartOffset) :
m_originalModifier(originalModifier),
m_componentStartOffset(componentStartOffset),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment