On 2012-08-02 21:35, Walter Bright wrote:
A good IDE should do its parsing in a separate thread, so the main user input thread remains crisp and responsive.If the user edits the text while the parsing is in progress, the background parsing thread simply abandons the current parse and starts over.
It still needs to update the editor view with the correct syntax highlighting which needs to be done in the same thread as the rest of the GUI.
-- /Jacob Carlborg