-
Notifications
You must be signed in to change notification settings - Fork 42
Conversation
Thanks for the contribution! 🙇 I've started reviewing your changes, and overall it looks awesome. There are some style problems that will have to be addressed however. For some reason unknown to me right now, the CI linting is not behaving as expected and is currently producing false positives. In the meantime to uncover said style issues you can locally execute $ ./node_modules/.bin/standard lib/**/*.js For your convenience, I dumped the errors into a gist: Side note: I'm looking into the false positives right now. |
The CI process now correctly fails on the style issues mentioned earlier. To make it even easier to uncover these during local development, I'll look into providing some utility functions, as well as creating a contribution guide. |
Thanks for the feedback. I fixed the issues with formatting. Let me know if it needs any more changes. |
|
||
mark () { | ||
for (let error of this.errors) { | ||
this.markRow(error.lineNumber - 1, 'line-red') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change this class name from line-red
to latex-error
.
Done |
Excellent, but we also need to address the explicit color usage as I mentioned in #167 (comment). I can change it post-merge, but it would be great if you could refactor the style. Exactly what I want is this @import "ui-variables";
:host(:host) .gutter .line-number {
&.latex-error {
background-color: fade(@background-color-error, 50%);
color: @text-color-error;
}
&.latex-warning {
background-color: fade(@background-color-warning, 50%);
color: @text-color-warning;
}
} Note that I haven't tested these styles, but they follow the official Atom styleguide, so I'm reasonably confident it will look OK. |
I have given you access to my fork, so that you can push your own changes as well. I am more than happy to help with anything as well. |
This looks really good! I can make some minor tweaks after merging if necessary. |
Excellent. Thanks for feedback |
Implemented markers #165. Along the way there was an issue with the way log parser was parsing #166 which is fixed.