Closed scttcper closed 7 years ago
@scttcper Thank you very much for reporting this issue!
May i ask if
language-javascript
& language-babel
)?Thanks in advance!
Playing around with it more it seems to be python too and probably other syntaxes. Only line 51 and up flash. All lines before that seem unaffected.
I cloned this repo and tried to reproduce and it doesn't seem to happen. It could have something to do with my particular editor config? Edit: nevermind spoke too soon
That's pretty interesting and i guess this is indirectly caused by a other package. I already started crawling their sources to see if there is anything suspicious.
Just for clarification, if trim_trailing_whitespace
(true) or insert_final_newline
(true or false) are set, editorconfig will "adjust" the text immediately before it gets saved (onWillSave). So it might be that other packages listen get invoked again due to this edit.
I am searching how this might happen.
Here's a terrible gif of the flashing in this repo.
Thanks a lot!
@scttcper I am able to reproduce it - i am working on a solution.
Okay @scttcper this issue is indirectly caused by our call of TextBuffer.setText()
-- i have currently no clue why this happens, but i will solve this as soon as possible. I am sorry for any inconvenience! ☕️
Hey @scttcper - i figured out what made this happen. Thanks again for your support!
Oh, and it would be nice if you could check if this is working for you! 💝
Oh -- it may take some time until the updates are available.. Heroku seems to have troubles: https://status.heroku.com/
Have not been able to confirm yet. 1.5.3 still seems to be the latest version. Maybe its still catching up from the outage this morning.
@florianb please re-publish whenever you get a chance. 1.5.4 doesn't seem to be getting picked up.
@scttcper: I am sorry to hear that. I will release a new version as soon as possible.
Hi @scttcper i recently released 1.6.0 -- please let me know if this solves your problem. Thank you very much for your patience and sorry for the inconveniences! 💝
@florianb looking good here, thanks for the quick turnaround!
@florianb Boom! 🍾 🎉 👍
I have the whitespace package disabled and editorconfig@1.5.2 and the syntax colors are flashing to white on save. When editor config is disabled (+ restart atom) this is no longer an issue. This happens with both the default javascript syntax package and the language-babel package. Atom 1.11.2
Involved .editorconfig-files
Directory structure
Installed packages