Rainbow-color lambda parameters and comprehension variables.

Authored by flherne on Aug 29 2017, 4:55 PM.

Description

Rainbow-color lambda parameters and comprehension variables.

The base-class method disables rainbow coloring for declarations in
DUContext::Other contexts unless they have an identifier.

In kdev-python, the only Other contexts without identifiers are lambdas
and comprehensions, and it makes sense to highlight variables defined
in either of those.

Details

Committed
flherneAug 29 2017, 5:02 PM
Parents
R53:a39fefadcd34: Avoid creating duplicate declarations for lambda parameters.
Branches
Unknown
Tags
Unknown