Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

class/struct constructor initializer lists have inconsistent member highlighting when a newline begins #101

Open
jaredmpayne opened this issue Nov 6, 2015 · 2 comments · May be fixed by terrorizer1980/language-c#2
Labels

Comments

@jaredmpayne
Copy link

Using Atom 1.1.0 on OS X 10.11.

Screenshot:
screen shot 2015-11-06 at 2 11 53 am

As seen in the screenshot, most members in the list are white (variable color), but the first member at the beginning of a newline is incorrectly highlighted blue (function color). This issue occurs with both classes and structs.

@winstliu winstliu added the bug label Nov 6, 2015
@winstliu
Copy link
Contributor

winstliu commented Feb 5, 2017

struct Node {
    T value;
    int balance_factor;
    Node *parent, *left, *right;

    Node(T_value) : value(_value), balance_factor(0), parent(nullptr),
    left(nullptr), right(nullptr) {}
};

for easy copy/paste testing.

@sean-mcmanus
Copy link

Another repro seems to be microsoft/vscode-cpptools#529 .

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants