Robert:

> Next, I tried to use SCN_MODIFYATTEMPTRO notifications to remove the
> indicators... ultimately, this does not work out either, since Undo
> does NOT trigger this notification! :(

   Mark Hammond implemented this notification so that he could check
the file out of source code control when the user tried to edit it.
Thus the file was expected to start out in read-only mode so undo
would not be relevant.

> I believe this to be fixable, and am willing to do so... does anyone
> see a problem with issuing this notification (attempting to Undo/Redo
> with a doc that is AT THAT TIME set read-only)?  All I am proposing is
> just issuing the expected "NO" when trying to do something that
> already is being blocked anyway.

   It should be OK.

   Neil

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

Reply via email to