The active editor mode has a tick function. It is run every time when you are on the editor using that mode. Maybe that helps
The active editor mode has a tick function. It is run every time when you are on the editor using that mode. Maybe that helps