YangFan:

>              There is a PLATFORM_ASSERT in function
> ScintillaWin::DirectFunction, is it necessary?

   Yes, its there to stop you calling Scintilla directly from another thread.

> I'm using a work thread to call direct function and the
> assert fails, is it unsafe to call scintilla's direct function
> in different thread?

   Yes. Use SendMesage which automatically synchronizes threads.

   Neil
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to