| Summary: | Wrong QML highlight when a property has division and one of elements has a . | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Albert Astals Cid <aacid> |
| Component: | syntax | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | cfeck, chalkerx, flying-sheep, mail, samu.juvonen |
| Priority: | NOR | ||
| Version First Reported In: | 3.10.90 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/kate/ef3f53233393870546b373016c0c8df9aaa6fa78 | Version Fixed/Implemented In: | 4.11.1 |
| Sentry Crash Report: | |||
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. *** |
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)