This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender/editors/space_text
Jacques Lucke 81d5f15a2a Fix T61253: Wrong syntax highlighting when @ is used as multiplication
This is obviously not a perfect solution. However, to do proper
highlighting a more advanced Python parser would be necessary.
I think this patch implements a good heuristic to differentiate
between the cases when `@` is used for a decorator vs for
multiplication.

When `@` is directly followed by an identifier, it is interpreted
as decorated. Otherwise not.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D4495
2019-03-11 16:15:46 +01:00
..
2019-02-18 08:22:12 +11:00
2019-02-18 08:22:12 +11:00
2019-02-18 08:22:12 +11:00
2019-02-18 08:22:12 +11:00
2019-02-18 08:22:12 +11:00
2019-02-18 08:22:12 +11:00
2019-02-18 08:22:12 +11:00