std.d.lexer requirements

Jacob Carlborg doob at me.com
Thu Aug 2 13:41:18 PDT 2012


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


More information about the Digitalmars-d mailing list