steelbrain / linter-ui-default

Default UI for the Atom Linter package
MIT License
85 stars 47 forks source link

fix: use DisplayMarker in Editor #654

Open aminya opened 3 years ago

aminya commented 3 years ago

This replaces the usage of textBuffer.markRange with textEditor.markBufferRange. This was one of the things that TypeScript was bugging about for a long time.

I verified that the message.location.position remains the same:

After: image

Before: image