Skip to content

Reported message should define startLine, endLine, startCol, endCol (instead of just line, col) #411

Open
@angelozerr

Description

@angelozerr

I'm writing a lint CodeMirror addon with your great CSSLint but message getted from CSSLint.verify returns an array of message which contains just line and col. To highlight correctly the error/warn message in the CodeMirror editor, I need start/end of line/col.

I have noticed that token contains this info. I have updated at hand your release/csslint.js by adding endCol and endLine and it work's great.

You can see in this screenshot that @namespace is highlighted correctly because I use your end col.

csslint-codemirror

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions