Inkscape
Vector Graphics Editor
|
#include <document-undo.h>
Classes | |
class | ScopedInsensitive |
RAII-style mechanism for creating a temporary undo-insensitive context. More... | |
Static Public Member Functions | |
static void | setUndoSensitive (SPDocument *doc, bool sensitive) |
Set undo sensitivity. | |
static bool | getUndoSensitive (SPDocument const *document) |
static void | clearUndo (SPDocument *document) |
static void | clearRedo (SPDocument *document) |
static void | done (SPDocument *document, Glib::ustring const &event_description, Glib::ustring const &undo_icon, unsigned int object_modified_tag=0) |
static void | maybeDone (SPDocument *document, const gchar *keyconst, Glib::ustring const &event_description, Glib::ustring const &undo_icon, unsigned int object_modified_tag=0) |
static void | resetKey (SPDocument *document) |
static void | setKeyExpires (SPDocument *document, double timeout) |
Set the timeout for the last maybeDone call. | |
static void | cancel (SPDocument *document) |
static gboolean | undo (SPDocument *document) |
static gboolean | redo (SPDocument *document) |
Static Private Member Functions | |
static void | finish_incomplete_transaction (SPDocument &document) |
static void | perform_document_update (SPDocument &document) |
Definition at line 23 of file document-undo.h.
|
static |
Definition at line 229 of file document-undo.cpp.
References SPDocument::sensitive, undo(), and SPDocument::undo.
Referenced by Inkscape::UI::Tools::ArcTool::cancel(), Inkscape::UI::Tools::Box3dTool::cancel(), Inkscape::UI::Tools::RectTool::cancel(), Inkscape::UI::Tools::SpiralTool::cancel(), Inkscape::UI::Tools::StarTool::cancel(), Inkscape::ObjectSet::stackDown(), Inkscape::ObjectSet::stackUp(), Inkscape::ObjectSet::strokesToPaths(), and Inkscape::Extension::ExecutionEnv::undo().
|
static |
Definition at line 369 of file document-undo.cpp.
References Inkscape::CompositeUndoStackObserver::notifyClearRedoEvent(), SPDocument::redo, and SPDocument::undoStackObservers.
Referenced by maybeDone().
|
static |
Definition at line 358 of file document-undo.cpp.
References Inkscape::CompositeUndoStackObserver::notifyClearUndoEvent(), SPDocument::undo, and SPDocument::undoStackObservers.
Referenced by Inkscape::Extension::Template::new_from_template().
|
static |
Definition at line 101 of file document-undo.cpp.
References SPDocument::sensitive.
Referenced by Inkscape::UI::Dialog::ObjectProperties::_aspectRatioToggled(), Inkscape::UI::MultiPathManipulator::_commit(), Inkscape::UI::PathManipulator::_commit(), Inkscape::UI::Tools::TextTool::_commit(), Inkscape::UI::Widget::CanvasGrid::_createGuide(), Inkscape::UI::Dialog::LayerPropertiesDialog::_doCreate(), Inkscape::UI::Dialog::LayerPropertiesDialog::_doMove(), Inkscape::UI::MultiPathManipulator::_done(), Inkscape::UI::Dialog::LayerPropertiesDialog::_doRename(), Inkscape::UI::Tools::ConnectorTool::_flushWhite(), Inkscape::UI::Dialog::ObjectsPanel::_handleEdited(), Inkscape::UI::Dialog::ObjectProperties::_hiddenToggled(), Inkscape::UI::Widget::LayerSelector::_hideLayer(), Inkscape::UI::Dialog::ObjectProperties::_highlightChanged(), Inkscape::UI::Tools::TextTool::_insertUnichar(), Inkscape::UI::Dialog::ObjectProperties::_labelChanged(), Inkscape::UI::Widget::LayerSelector::_lockLayer(), Inkscape::UI::Widget::SelectedStyle::_on_paste_callback(), Inkscape::UI::Dialog::GuidelinePropertiesDialog::_onDelete(), Inkscape::UI::Dialog::GuidelinePropertiesDialog::_onDuplicate(), Inkscape::UI::Dialog::GuidelinePropertiesDialog::_onOK(), Inkscape::UI::Widget::ColorPicker::_onSelectedColorChanged(), Inkscape::ObjectSet::_pathBoolOp(), Inkscape::UI::Tools::ConnectorTool::_reroutingFinish(), Inkscape::UI::Dialog::ObjectProperties::_sensitivityToggled(), Inkscape::UI::Toolbar::StarToolbar::_setDefaults(), Inkscape::UI::Tools::TextTool::_setupText(), Inkscape::UI::Tools::TextTool::_styleSet(), Inkscape::UI::Toolbar::ArcToolbar::_typeChanged(), Inkscape::UI::Toolbar::RectToolbar::_valueChanged(), Inkscape::UI::Toolbar::SpiralToolbar::_valueChanged(), Inkscape::UI::Toolbar::ArcToolbar::_valueChanged(), Inkscape::UI::Dialog::SelectorsDialog::_writeStyleElement(), Inkscape::UI::Dialog::StyleDialog::_writeStyleElement(), Inkscape::UI::Dialog::ColorItem::action_convert(), Inkscape::UI::Dialog::ColorItem::action_delete(), Inkscape::UI::Dialog::ColorItem::action_toggle_pin(), Inkscape::UI::Dialog::FilterEffectsDialog::FilterModifier::add_filter(), Inkscape::UI::Dialog::FilterEffectsDialog::add_filter_primitive(), Inkscape::UI::Dialog::SvgFontsDialog::add_font(), Inkscape::UI::Dialog::SvgFontsDialog::add_glyph(), Inkscape::UI::Dialog::SvgFontsDialog::add_kerning_pair(), Inkscape::UI::Tools::GradientTool::add_stop_near_point(), Inkscape::UI::Tools::GradientTool::add_stops_between_selected_stops(), Inkscape::UI::Dialog::DocumentProperties::addEmbeddedScript(), Inkscape::UI::Dialog::DocumentProperties::addExternalScript(), Inkscape::UI::Toolbar::TextToolbar::align_mode_changed(), Inkscape::UI::Dialog::CloneTiler::apply(), Inkscape::UI::Dialog::TextEdit::apply_changes(), Inkscape::UI::Dialog::Transformation::applyPageMove(), Inkscape::UI::Dialog::Transformation::applyPageRotate(), Inkscape::UI::Dialog::Transformation::applyPageScale(), Inkscape::UI::Dialog::Transformation::applyPageSkew(), Inkscape::UI::Dialog::Transformation::applyPageTransform(), Inkscape::UI::Dialog::GridArrangeTab::arrange(), Inkscape::UI::Dialog::PolarArrangeTab::arrange(), Inkscape::ObjectSet::breakApart(), Inkscape::UI::Dialog::DocumentProperties::build_page(), Inkscape::UI::Widget::StrokeStyle::buttonToggledCB(), Inkscape::UI::Tools::cc_selection_set_avoid(), Inkscape::ObjectSet::chameleonFill(), Inkscape::UI::Dialog::details::AttributesPanel::change_angle(), Inkscape::UI::Dialog::details::AttributesPanel::change_value(), Inkscape::UI::Dialog::details::AttributesPanel::change_value_px(), Inkscape::ObjectSet::clone(), Inkscape::ObjectSet::cloneOriginalPathLPE(), Inkscape::UI::Dialog::XmlTree::cmd_delete_node(), Inkscape::UI::Dialog::XmlTree::cmd_duplicate_node(), Inkscape::UI::Dialog::XmlTree::cmd_indent_node(), Inkscape::UI::Dialog::XmlTree::cmd_lower_node(), Inkscape::UI::Dialog::XmlTree::cmd_new_text_node(), Inkscape::UI::Dialog::XmlTree::cmd_raise_node(), Inkscape::UI::Dialog::XmlTree::cmd_unindent_node(), Inkscape::ObjectSet::combine(), Inkscape::Extension::ExecutionEnv::commit(), Inkscape::UI::Tools::MeshTool::corner_operation(), Inkscape::ObjectSet::createBitmapCopy(), Inkscape::UI::Toolbar::ConnectorToolbar::curvature_changed(), Inkscape::ObjectSet::cut(), Inkscape::UI::Dialog::delete_object(), Inkscape::ObjectSet::deleteItems(), Inkscape::UI::Tools::TextTool::deleteSelected(), Inkscape::UI::Toolbar::TextToolbar::direction_changed(), Inkscape::UI::Dialog::LivePathEffectEditor::do_item_action_undoable(), Inkscape::ObjectSet::duplicate(), Inkscape::UI::Dialog::FilterEffectsDialog::FilterModifier::duplicate_filter(), Inkscape::UI::Dialog::FilterEffectsDialog::duplicate_primitive(), ActionsEdit::duplicate_transform(), Inkscape::UI::Dialog::SvgFontsDialog::edit_glyph(), Inkscape::UI::Dialog::DocumentProperties::editEmbeddedScript(), Inkscape::UI::Dialog::DocumentResources::end_editing(), file_import(), file_rebase(), Inkscape::ObjectSet::fillBetweenMany(), Inkscape::UI::Tools::ArcTool::finishItem(), Inkscape::UI::Tools::Box3dTool::finishItem(), Inkscape::UI::Tools::FloodTool::finishItem(), Inkscape::UI::Tools::RectTool::finishItem(), Inkscape::UI::Tools::SpiralTool::finishItem(), Inkscape::UI::Tools::StarTool::finishItem(), fit_canvas_drawing(), fit_canvas_to_drawing(), Inkscape::UI::Tools::MeshTool::fit_mesh_in_bbox(), Inkscape::ObjectSet::fitCanvas(), Inkscape::fixBrokenLinks(), flowtext_to_text(), Inkscape::UI::Toolbar::TextToolbar::fontfamily_value_changed(), Inkscape::UI::Toolbar::TextToolbar::fontstyle_value_changed(), Inkscape::UI::Dialog::get_or_create_layer_for_glyph(), Inkscape::UI::Dialog::SvgFontsDialog::glyph_advance_edit(), Inkscape::UI::Dialog::SvgFontsDialog::glyph_name_edit(), Inkscape::UI::Dialog::SvgFontsDialog::glyph_unicode_edit(), gr_knot_clicked_handler(), gr_knot_doubleclicked_handler(), gr_knot_moved_handler(), gr_knot_ungrabbed_handler(), Inkscape::UI::Toolbar::GradientToolbar::gradient_changed(), Inkscape::UI::Toolbar::ConnectorToolbar::graph_layout(), Inkscape::SelTrans::handleClick(), hide_lock_hide_selected(), hide_lock_lock_selected(), hide_lock_unhide_all(), hide_lock_unhide_below(), hide_lock_unlock_all(), hide_lock_unlock_below(), image_crop(), Inkscape::UI::Widget::ImageProperties::ImageProperties(), Inkscape::UI::Dialog::GlyphsPanel::insertText(), layer_bottom(), layer_delete(), layer_duplicate(), layer_from_group(), layer_hide_toggle_others(), layer_lock_toggle_others(), layer_lower(), layer_new_above(), layer_next(), layer_previous(), layer_raise(), layer_to_group(), layer_top(), Inkscape::UI::Dialog::DocumentProperties::linkSelectedProfile(), Inkscape::ObjectSet::lower(), Inkscape::ObjectSet::lowerToBottom(), Inkscape::UI::Dialog::LivePathEffectEditor::lpeFlatten(), Inkscape::LivePathEffect::Effect::makeUndoDone(), Inkscape::UI::Widget::StrokeStyle::markerSelectCB(), Inkscape::UI::Dialog::SvgFontsDialog::missing_glyph_description_from_selected_path(), Inkscape::ObjectSet::move(), Inkscape::ObjectSet::moveScreen(), Inkscape::UI::Tools::MeshTool::new_default(), object_align(), object_align_text(), object_distribute(), object_distribute_text(), object_rearrange(), object_remove_overlaps(), Inkscape::UI::Dialog::ObjectsPanel::ObjectsPanel(), Inkscape::UI::Widget::EntityLineEntry::on_changed(), Inkscape::UI::Widget::EntityMultiLineEntry::on_changed(), Inkscape::UI::Widget::RegisteredColorPicker::on_changed(), Inkscape::UI::Dialog::ColorItem::on_click(), Inkscape::UI::Dialog::FilterEffectsDialog::PrimitiveList::on_click_released(), Inkscape::UI::Dialog::ObjectsPanel::on_drag_drop(), Inkscape::UI::Dialog::FilterEffectsDialog::PrimitiveList::on_drag_end(), Inkscape::UI::Widget::SelectedStyle::on_fill_black(), Inkscape::UI::Widget::SelectedStyle::on_fill_invert(), Inkscape::UI::Widget::SelectedStyle::on_fill_lastselected(), Inkscape::UI::Widget::SelectedStyle::on_fill_lastused(), Inkscape::UI::Widget::SelectedStyle::on_fill_opaque(), Inkscape::UI::Widget::SelectedStyle::on_fill_remove(), Inkscape::UI::Widget::SelectedStyle::on_fill_unset(), Inkscape::UI::Widget::SelectedStyle::on_fill_white(), Inkscape::UI::Dialog::FilterEffectsDialog::FilterModifier::on_name_edited(), Inkscape::UI::Widget::SelectedStyle::on_opacity_click(), Inkscape::UI::Widget::SelectedStyle::on_popup_preset(), Inkscape::UI::Widget::SelectedStyle::on_stroke_black(), Inkscape::UI::Widget::SelectedStyle::on_stroke_invert(), Inkscape::UI::Widget::SelectedStyle::on_stroke_lastselected(), Inkscape::UI::Widget::SelectedStyle::on_stroke_lastused(), Inkscape::UI::Widget::SelectedStyle::on_stroke_opaque(), Inkscape::UI::Widget::SelectedStyle::on_stroke_remove(), Inkscape::UI::Widget::SelectedStyle::on_stroke_unset(), Inkscape::UI::Widget::SelectedStyle::on_stroke_white(), Inkscape::UI::Dialog::SpellCheck::onAccept(), Inkscape::UI::Dialog::Find::onAction(), Inkscape::UI::Dialog::LivePathEffectEditor::onAdd(), Inkscape::UI::Dialog::BatchExport::onExport(), Inkscape::UI::Dialog::SingleExport::onExport(), Inkscape::UI::Widget::GradientSelector::onGradientRename(), Inkscape::UI::Dialog::DocumentProperties::onNewGrid(), Inkscape::UI::Toolbar::TextToolbar::orientation_changed(), Inkscape::UI::Toolbar::ConnectorToolbar::orthogonal_toggled(), page_backward(), page_delete(), page_fit_to_selection(), page_forward(), page_new(), page_rotate(), Inkscape::UI::Tools::TextTool::pasteInline(), Inkscape::ObjectSet::pastePathEffect(), Inkscape::ObjectSet::pasteSize(), Inkscape::ObjectSet::pasteSizeSeparately(), Inkscape::ObjectSet::pasteStyle(), Inkscape::ObjectSet::pathReverse(), Inkscape::ObjectSet::popFromGroup(), Inkscape::ObjectSet::raise(), Inkscape::ObjectSet::raiseToTop(), Inkscape::ObjectSet::relink(), Inkscape::UI::Dialog::CloneTiler::remove(), Inkscape::UI::Dialog::FilterEffectsDialog::FilterModifier::remove_filter(), Inkscape::UI::Dialog::remove_lpeffect(), Inkscape::UI::Dialog::FilterEffectsDialog::PrimitiveList::remove_selected(), Inkscape::UI::Dialog::SvgFontsDialog::remove_selected_font(), Inkscape::UI::Dialog::SvgFontsDialog::remove_selected_glyph(), Inkscape::UI::Dialog::SvgFontsDialog::remove_selected_kerning_pair(), Inkscape::UI::Dialog::LivePathEffectEditor::removeEffect(), Inkscape::UI::Dialog::DocumentProperties::removeEmbeddedScript(), Inkscape::UI::Dialog::DocumentProperties::removeExternalScript(), Inkscape::ObjectSet::removeFilter(), Inkscape::ObjectSet::removeLPE(), Inkscape::UI::Dialog::DocumentProperties::removeSelectedProfile(), Inkscape::ObjectSet::removeTransform(), Inkscape::UI::Dialog::SvgFontsDialog::reset_missing_glyph_description(), Inkscape::UI::Tools::PagesTool::resizeKnotFinished(), Inkscape::UI::Widget::GradientEditor::reverse_gradient(), Inkscape::UI::Tools::Box3dTool::root_handler(), Inkscape::UI::Tools::DropperTool::root_handler(), Inkscape::UI::Tools::GradientTool::root_handler(), Inkscape::UI::Tools::SprayTool::root_handler(), Inkscape::UI::Tools::TextTool::root_handler(), Inkscape::UI::Tools::TweakTool::root_handler(), select_object_group(), select_object_link(), select_object_ungroup(), select_path_flatten(), select_path_fracture(), Inkscape::UI::Widget::SelectedStyle::SelectedStyle(), Inkscape::UI::Dialog::FilterEffectsDialog::FilterModifier::selection_toggled(), set_display_unit(), Inkscape::UI::Dialog::set_document_dimensions(), Inkscape::UI::Dialog::DocumentProperties::set_document_scale(), Inkscape::UI::Dialog::set_font_family(), Inkscape::UI::Dialog::SvgFontsDialog::set_glyph_description_from_selected_path(), Inkscape::UI::Dialog::set_namedview_bool(), Inkscape::UI::Widget::GradientEditor::set_repeat_mode(), Inkscape::UI::Tools::CalligraphicTool::set_to_accumulated(), Inkscape::UI::Dialog::set_up_typography_canvas(), Inkscape::UI::Dialog::DocumentProperties::set_viewbox_pos(), Inkscape::UI::Dialog::DocumentProperties::set_viewbox_size(), Inkscape::ObjectSet::setClipGroup(), Inkscape::UI::Widget::FillNStroke::setFillrule(), Inkscape::UI::Widget::StrokeStyle::setStrokeDash(), Inkscape::UI::Widget::StrokeStyle::setStrokeMiter(), Inkscape::UI::Widget::StrokeStyle::setStrokeWidth(), Inkscape::UI::Dialog::AttrDialog::setUndo(), Inkscape::UI::Toolbar::StarToolbar::side_mode_changed(), Inkscape::UI::Tools::GradientTool::simplify(), Inkscape::ObjectSet::simplifyPaths(), Inkscape::UI::Toolbar::PageToolbar::sizeChanged(), sp_edit_clear_all(), sp_file_convert_dpi(), sp_file_vacuum(), Inkscape::UI::Tools::sp_flood_do_flood_fill(), sp_gradient_add_stop(), sp_gradient_add_stop_at(), sp_gradient_delete_stop(), sp_gradient_invert_selected_gradients(), sp_gradient_reverse_selected_gradients(), sp_gradient_unset_swatch(), sp_guide_create_guides_around_page(), sp_guide_delete_all_guides(), sp_selected_path_create_offset_object(), sp_selected_path_do_offset(), sp_selection_paste(), Inkscape::UI::Toolbar::ConnectorToolbar::spacing_changed(), Inkscape::UI::Tools::spdc_create_single_dot(), Inkscape::UI::Tools::spdc_flush_white(), Inkscape::UI::Tools::MeshTool::split_near_point(), Inkscape::UI::Toolbar::GradientToolbar::spread_changed(), Inkscape::ObjectSet::stackDown(), Inkscape::ObjectSet::stackUp(), Inkscape::SelTrans::stamp(), Inkscape::UI::Dialog::XmlTree::stopNodeEditing(), Inkscape::ObjectSet::strokesToPaths(), Inkscape::ObjectSet::swapFillStroke(), Inkscape::UI::Tools::InteractiveBooleansTool::switching_away(), text_flow_into_shape(), text_flow_shape_subtract(), text_put_on_path(), text_remove_all_kerns(), text_remove_from_path(), text_to_glyphs(), text_unflow(), Inkscape::ObjectSet::tile(), Inkscape::ObjectSet::toCurves(), toggle_clip_to_page(), Inkscape::UI::Dialog::ObjectsPanel::toggleLocked(), Inkscape::UI::Dialog::ObjectsPanel::toggleVisible(), Inkscape::UI::Dialog::LivePathEffectEditor::toggleVisible(), Inkscape::ObjectSet::toGuides(), Inkscape::UI::Tools::MeasureTool::toGuides(), Inkscape::UI::Tools::MeasureTool::toItem(), Inkscape::UI::Tools::MeasureTool::toMarkDimension(), Inkscape::ObjectSet::toMarker(), Inkscape::ObjectSet::toNextLayer(), Inkscape::UI::Tools::MeasureTool::toPhantom(), Inkscape::ObjectSet::toPrevLayer(), Inkscape::ObjectSet::toSymbol(), transform_remove(), transform_translate(), Inkscape::UI::Widget::GradientEditor::turn_gradient(), Inkscape::UI::Toolbar::MeshToolbar::type_changed(), Inkscape::UI::Dialog::CloneTiler::unclump(), Inkscape::SelTrans::ungrab(), Inkscape::ObjectSet::ungroup(), ContextMenu::unhide_or_unlock(), Inkscape::UI::Widget::StrokeStyle::unitChangedCB(), Inkscape::ObjectSet::unlink(), Inkscape::ObjectSet::unlinkRecursive(), Inkscape::ObjectSet::unSymbol(), Inkscape::ObjectSet::untile(), Inkscape::UI::Widget::FillNStroke::updateFromPaint(), Inkscape::UI::Widget::RegisteredWidget< W >::write_to_xml(), and Inkscape::UI::Toolbar::TextToolbar::writing_mode_changed().
|
staticprivate |
Definition at line 242 of file document-undo.cpp.
References Inkscape::Event::event, log(), SPDocument::partial, SPDocument::rdoc, sp_repr_coalesce_log(), sp_repr_commit_undoable(), sp_repr_free_log(), and SPDocument::undo.
|
static |
Definition at line 95 of file document-undo.cpp.
References SPDocument::sensitive.
Referenced by Inkscape::UI::Toolbar::RectToolbar::_valueChanged(), Inkscape::UI::Toolbar::SpiralToolbar::_valueChanged(), Inkscape::UI::Toolbar::ConnectorToolbar::curvature_changed(), Inkscape::UI::Dialog::DocumentProperties::display_unit_change(), Inkscape::UI::Toolbar::MeasureToolbar::fontsize_value_changed(), Inkscape::UI::Toolbar::StarToolbar::magnitude_value_changed(), Inkscape::UI::Toolbar::EraserToolbar::mode_changed(), Inkscape::UI::Toolbar::LPEToolbar::mode_changed(), Inkscape::UI::Toolbar::MeasureToolbar::offset_value_changed(), Inkscape::Extension::Internal::PdfInput::open(), Inkscape::UI::Toolbar::ConnectorToolbar::orthogonal_toggled(), Inkscape::UI::Toolbar::MeasureToolbar::precision_value_changed(), Inkscape::UI::Toolbar::StarToolbar::proportion_value_changed(), Inkscape::UI::Toolbar::StarToolbar::randomized_value_changed(), Inkscape::UI::Toolbar::StarToolbar::rounded_value_changed(), Inkscape::UI::Toolbar::MeasureToolbar::scale_value_changed(), Inkscape::DocumentUndo::ScopedInsensitive::ScopedInsensitive(), Inkscape::UI::Toolbar::StarToolbar::side_mode_changed(), and Inkscape::UI::Toolbar::ConnectorToolbar::spacing_changed().
|
static |
Definition at line 156 of file document-undo.cpp.
References SPDocument::action_expires, SPDocument::actionkey, SPDocument::before_commit_signal, clearRedo(), SPDocument::collectOrphans(), SPDocument::commit_signal, SPDocument::ensureUpToDate(), Inkscape::Preferences::get(), Inkscape::Preferences::getBool(), Inkscape::Preferences::getInt(), key, log(), Inkscape::CompositeUndoStackObserver::notifyUndoCommitEvent(), Inkscape::CompositeUndoStackObserver::notifyUndoExpired(), SPDocument::partial, SPDocument::rdoc, SPDocument::sensitive, SPDocument::setModifiedSinceSave(), sp_repr_begin_transaction(), sp_repr_coalesce_log(), sp_repr_commit_undoable(), SPDocument::undo, SPDocument::undo_timer, SPDocument::undoStackObservers, and SPDocument::virgin.
Referenced by Inkscape::UI::Widget::ObjectCompositeSettings::_blendBlurValueChanged(), Inkscape::UI::Widget::SwatchSelector::_changedCb(), Inkscape::UI::MultiPathManipulator::_commit(), Inkscape::UI::PathManipulator::_commit(), Inkscape::UI::Widget::ObjectCompositeSettings::_isolationValueChanged(), Inkscape::UI::Widget::ObjectCompositeSettings::_opacityValueChanged(), Inkscape::UI::Toolbar::ArcToolbar::_startendValueChanged(), Inkscape::UI::Toolbar::Box3DToolbar::angle_value_changed(), Inkscape::UI::Toolbar::SelectToolbar::any_value_changed(), Inkscape::UI::Dialog::TextEdit::apply_changes(), Inkscape::UI::Toolbar::PageToolbar::bleedsEdited(), Inkscape::UI::Dialog::ObjectsPanel::colorTagPopup(), Inkscape::UI::Widget::RotateableSwatch::do_motion(), Inkscape::UI::Widget::RotateableStrokeWidth::do_motion(), Inkscape::UI::Widget::RotateableSwatch::do_release(), Inkscape::UI::Widget::RotateableStrokeWidth::do_release(), Inkscape::UI::Widget::FillNStroke::dragFromPaint(), Inkscape::UI::Toolbar::TextToolbar::dx_value_changed(), Inkscape::UI::Toolbar::TextToolbar::dy_value_changed(), Inkscape::UI::Toolbar::TextToolbar::fontsize_value_changed(), Inkscape::UI::Toolbar::PageToolbar::labelEdited(), layer_hide_all(), layer_lock_all(), layer_unhide_all(), layer_unlock_all(), Inkscape::UI::Toolbar::TextToolbar::letterspacing_value_changed(), Inkscape::UI::Toolbar::TextToolbar::lineheight_unit_changed(), Inkscape::UI::Toolbar::TextToolbar::lineheight_value_changed(), Inkscape::UI::Toolbar::StarToolbar::magnitude_value_changed(), Inkscape::UI::Tools::PagesTool::marginKnotMoved(), Inkscape::UI::Toolbar::PageToolbar::marginsEdited(), Inkscape::UI::Toolbar::PageToolbar::marginSideEdited(), Inkscape::ObjectSet::move(), Inkscape::ObjectSet::moveScreen(), Inkscape::UI::Dialog::ObjectsPanel::ObjectsPanel(), Inkscape::UI::Dialog::SvgFontsDialog::AttrEntry::on_attr_changed(), Inkscape::UI::Dialog::SvgFontsDialog::AttrSpin::on_attr_changed(), Inkscape::UI::Dialog::SvgFontsDialog::on_kerning_value_changed(), Inkscape::UI::Dialog::ObjectsPanel::on_motion_motion(), Inkscape::UI::Widget::SelectedStyle::on_opacity_changed(), Inkscape::UI::Toolbar::PageToolbar::PageToolbar(), Inkscape::UI::Toolbar::StarToolbar::proportion_value_changed(), Inkscape::UI::Toolbar::StarToolbar::randomized_value_changed(), Inkscape::UI::Tools::TextTool::root_handler(), Inkscape::Selection::rotateAnchored(), Inkscape::UI::Toolbar::TextToolbar::rotation_value_changed(), Inkscape::UI::Toolbar::StarToolbar::rounded_value_changed(), Inkscape::Selection::scaleAnchored(), Inkscape::UI::Toolbar::TextToolbar::script_changed(), Inkscape::UI::Dialog::FilterEffectsDialog::set_attr(), Inkscape::UI::Dialog::set_color(), Inkscape::UI::Widget::GradientEditor::set_stop_offset(), Inkscape::UI::Toolbar::PageToolbar::sizeChoose(), sp_marker_flip_horizontally(), sp_marker_scale_with_stroke(), sp_marker_set_offset(), sp_marker_set_orient(), sp_marker_set_size(), sp_marker_set_uniform_scale(), sp_set_gradient_stop_color(), Inkscape::UI::Toolbar::GradientToolbar::stop_offset_adjustment_changed(), Inkscape::UI::Dialog::ObjectsPanel::toggleLocked(), Inkscape::UI::Dialog::ObjectsPanel::toggleVisible(), transform_reapply(), Inkscape::UI::Widget::FillNStroke::updateFromPaint(), Inkscape::UI::Toolbar::TextToolbar::wordspacing_value_changed(), and Inkscape::UI::Widget::RegisteredWidget< W >::write_to_xml().
|
staticprivate |
Definition at line 258 of file document-undo.cpp.
References SPDocument::emitReconstructionFinish(), SPDocument::ensureUpToDate(), Inkscape::Event::event, SPDocument::rdoc, sp_repr_begin_transaction(), sp_repr_coalesce_log(), sp_repr_commit_undoable(), sp_repr_debug_print_log(), sp_repr_free_log(), and SPDocument::undo.
|
static |
Definition at line 317 of file document-undo.cpp.
References SPDocument::actionkey, SPDocument::emitReconstructionFinish(), log(), Inkscape::CompositeUndoStackObserver::notifyRedoEvent(), SPDocument::rdoc, SPDocument::redo, SPDocument::seeking, SPDocument::sensitive, SPDocument::setModifiedSinceSave(), sp_repr_begin_transaction(), sp_repr_replay_log(), SPDocument::undo, SPDocument::undoStackObservers, and SPDocument::update_lpobjs().
Referenced by Inkscape::UI::Dialog::UndoHistory::_onCollapseEvent(), Inkscape::UI::Dialog::UndoHistory::_onListSelectionChange(), and redo().
|
static |
Definition at line 111 of file document-undo.cpp.
References SPDocument::actionkey.
Referenced by Inkscape::Selection::_emitChanged(), and Inkscape::Selection::setAnchor().
|
static |
Set the timeout for the last maybeDone call.
Definition at line 116 of file document-undo.cpp.
References SPDocument::action_expires.
|
static |
Set undo sensitivity.
Don't use this to temporarily turn sensitivity off, use ScopedInsensitive instead.
Definition at line 76 of file document-undo.cpp.
References SPDocument::partial, SPDocument::rdoc, SPDocument::sensitive, sp_repr_begin_transaction(), sp_repr_coalesce_log(), and sp_repr_commit_undoable().
Referenced by Inkscape::Extension::Internal::PdfInput::open(), Inkscape::DocumentUndo::ScopedInsensitive::ScopedInsensitive(), and Inkscape::DocumentUndo::ScopedInsensitive::~ScopedInsensitive().
|
static |
Definition at line 279 of file document-undo.cpp.
References SPDocument::actionkey, log(), Inkscape::CompositeUndoStackObserver::notifyUndoEvent(), SPDocument::rdoc, SPDocument::redo, SPDocument::seeking, SPDocument::sensitive, SPDocument::setModifiedSinceSave(), sp_repr_begin_transaction(), sp_repr_undo_log(), SPDocument::undo, SPDocument::undoStackObservers, and SPDocument::update_lpobjs().
Referenced by Inkscape::UI::Tools::ConnectorTool::_handleKeyPress(), Inkscape::UI::Dialog::UndoHistory::_onListSelectionChange(), Inkscape::UI::Tools::SelectTool::sp_select_context_abort(), and undo().