I’ve looked through the atom API pretty extensively and cannot seem to find any methods that allow me to run a callback after the text has finished rendering in all buffers in all cases, including:
- After a live reload
- After opening a new project
- After fully relaunching Atom.
The closest I’ve gotten is using a
jQuery.ready callback, but this runs once for every pane. So if I run something in it, it will run once for each text editor after that editor is rendered, I want a callback that runs just once, after ALL text editors have finished rendering their text.
At the moment the only way I’ve been able to run my callback and be sure all text editors have finished rendering is by running my callback after the 1st
onDidChangeCursorPosition event which is obviously not ideal. Any help is greatly appreciated!