Skip to content

Fixed the WrenMethod highlighting to handle static fields (and index fields)#10

Open
avivbeeri wants to merge 3 commits into
lluchs:masterfrom
avivbeeri:fixedStatic
Open

Fixed the WrenMethod highlighting to handle static fields (and index fields)#10
avivbeeri wants to merge 3 commits into
lluchs:masterfrom
avivbeeri:fixedStatic

Conversation

@avivbeeri

Copy link
Copy Markdown
Contributor

I realised that if you had a method like static [id] { _id } then the static part would not be highlighted correctly.

This fixes that.

@avivbeeri

Copy link
Copy Markdown
Contributor Author

Although, this fix causes some other issues:
_someVariable = {} is no longer highlighted, as an example.

So I'll go back to the drawing board.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant