• Miklos Vajna's avatar
    sw undo: add a Repair argument to the .uno:Undo/Redo commands · e9bcd347
    Miklos Vajna yazdı
    Undo/redo is limited to undo actions created by the same view in the LOK
    case, this argument removes this limit. This can be used by a client for
    "document repair" purposes, where undo/redo of others' changes is
    intentional.
    
    The sfx command dispatch has support for FASTCALL slots (a state
    function is not called, the command is always enabled) and also has
    support for state functions, but those functions only get the ID of the
    slots, not its parameters. What is needed here is a command that's
    disabled by default, but in case a Repair argument is used, then it's
    unconditionally enabled. So handle that case in the sfx dispatcher
    directly for now.
    
    Change-Id: I96c1130bf51abcdd722684b1fa4a8277f92fd555
    e9bcd347
Adı
Son kayıt (commit)
Son güncelleme
..
qa Loading commit data...
source/gtk Loading commit data...
CppunitTest_libreofficekit_checkapi.mk Loading commit data...
CppunitTest_libreofficekit_tiledrendering.mk Loading commit data...
Executable_gtktiledviewer.mk Loading commit data...
Executable_tilebench.mk Loading commit data...
Library_libreofficekitgtk.mk Loading commit data...
Makefile Loading commit data...
Module_libreofficekit.mk Loading commit data...
Package_selectionhandles.mk Loading commit data...
README Loading commit data...