|
|
Re: Veto Undo [message #518201 is a reply to message #518095] |
Wed, 03 March 2010 13:32 |
Axel Gneiting Messages: 10 Registered: January 2010 |
Junior Member |
|
|
The undo command doesn't trigger an AutoEditStrategy, so no.
Ed Merks wrote on Wed, 03 March 2010 06:01 | Wouldn't it be exceedingly annoying to a user to
make a change and then not be able to undo it?
|
No. This is for a theorem prover interface, that goes through the theorem statement by statement. It doesn't make sense to alter text in that processed region, so these statements should be locked from editing.
You could always reset the prover or go back a few steps and then undo things as you want.
Hard to explain, but believe me it makes perfect sense.
[Updated on: Wed, 03 March 2010 13:39] Report message to a moderator
|
|
|
|
Re: Veto Undo [message #518996 is a reply to message #518095] |
Fri, 05 March 2010 16:17 |
Axel Gneiting Messages: 10 Registered: January 2010 |
Junior Member |
|
|
I want to implement a locked region and therefore I have to deny undos that affect that region.
How do I disable these actions? Wouldn't I need the action ids?
Edit: ITextEditorActionConstants.UNDO and ITextEditorActionConstants.REDO
[Updated on: Fri, 05 March 2010 16:35] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03628 seconds