If you look at the highlight of Item { id: root width: 40 height: root.width / 30 objectName: "hola" } versus the highlight of Item { id: root width: 40 height: width / 30 objectName: "hola" } or Item { id: root width: 40 height: width / 30 objectName: "hola" } Item { id: root width: 40 height: root.width objectName: "hola" } you'll see that in the first case the 'objectName: "hola"' line is colored green and in the other two is colored correctly (property in blue and text in red)
Milian, as author of qml.xml can you take care of this?
Git commit 5959ddab8ec4a70fe434b40d8d9d786f40ed4b83 by Milian Wolff. Committed on 18/07/2013 at 19:01. Pushed by mwolff into branch 'master'. Fix highlighting of devisions after object member access. M +2 -5 part/syntax/data/javascript.xml http://commits.kde.org/kate/5959ddab8ec4a70fe434b40d8d9d786f40ed4b83
*** Bug 322577 has been marked as a duplicate of this bug. ***
*** Bug 321728 has been marked as a duplicate of this bug. ***
*** Bug 322730 has been marked as a duplicate of this bug. ***
Guys, this never made it to the 4.11 branch :'-( Can someone backport it?
Git commit ef3f53233393870546b373016c0c8df9aaa6fa78 by Dominik Haumann, on behalf of Milian Wolff. Committed on 18/07/2013 at 19:01. Pushed by dhaumann into branch 'KDE/4.11'. Fix highlighting of devisions after object member access. M +2 -5 part/syntax/data/javascript.xml http://commits.kde.org/kate/ef3f53233393870546b373016c0c8df9aaa6fa78
*** Bug 324206 has been marked as a duplicate of this bug. ***