Hi to all,

Does someone know a way to lock/unlock the model of a text document, that is, to make it temporarily read-only (the user cannot change its content) ? My purpose is to make sure that when my add-on is currently retrieving the text and manipulating it later, it has not changed in between. Because I assume OO to be fully multithread, it seems theoretically possible to me that the user (or any component other than mine) may modify the text while my add-on thread is working on it.

Maybe something to do with the controller ? (XModel.lockControllers disables only screen updates)

Best regards,

Julien Galand

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to