QmlJS Live Preview: Fixed highlighting from text editor-> qml observer

Now, the items about to be selected must inherit from QGraphicsObject.
Also, coding style was cleaned up a bit.
This commit is contained in:
Lasse Holmstedt
2010-07-27 11:57:06 +02:00
parent 689cbc06f1
commit cdb5dadfc2
4 changed files with 63 additions and 40 deletions

View File

@@ -274,7 +274,7 @@ private:
virtual void indentBlock(QTextDocument *doc, QTextBlock block, QChar typedChar);
bool isClosingBrace(const QList<QmlJS::Token> &tokens) const;
void setSelectedElement();
void setSelectedElements();
QString wordUnderCursor() const;
SemanticHighlighter::Source currentSource(bool force = false);