/dports/textproc/meld-legacy/meld-1.8.6/meld/ |
H A D | undo.py | 46 def undo(self): member in GroupAction 48 self.seq.undo() 133 def undo(self): member in UndoSequence 145 self.actions[self.next_redo].undo() 180 end = self.next_redo 183 end += 1 184 if end == len(self.actions): 185 end = None 186 self.checkpoints[buf] = [start, end] 195 if end is None: [all …]
|
/dports/textproc/meld/meld-3.20.4/meld/ |
H A D | undo.py | 52 def undo(self): member in GroupAction 55 actions.extend(self.seq.undo()) 156 def undo(self): member in UndoSequence 168 actions = self.actions[self.next_redo].undo() 205 end = self.next_redo 208 end += 1 209 if end == len(self.actions): 210 end = None 220 if end is None: 221 end = len(self.actions) [all …]
|
/dports/lang/ocaml/ocaml-4.05.0/otherlibs/str/ |
H A D | strstubs.c | 33 } undo; member 141 if (group->start == NULL || group->end == NULL) { in re_alloc_groups() 146 Field(res, i * 2 + 1) = Val_long(group->end - starttxt); in re_alloc_groups() 261 back.undo.loc = &(group->start); in re_match() 262 back.undo.val = group->start; in re_match() 269 back.undo.loc = &(group->end); in re_match() 270 back.undo.val = group->end; in re_match() 271 group->end = txt; in re_match() 278 if (group->start == NULL || group->end == NULL) goto backtrack; in re_match() 279 for (s = group->start; s < group->end; s++) { in re_match() [all …]
|
/dports/lang/ocaml-nox11/ocaml-4.05.0/otherlibs/str/ |
H A D | strstubs.c | 33 } undo; member 141 if (group->start == NULL || group->end == NULL) { in re_alloc_groups() 146 Field(res, i * 2 + 1) = Val_long(group->end - starttxt); in re_alloc_groups() 261 back.undo.loc = &(group->start); in re_match() 262 back.undo.val = group->start; in re_match() 269 back.undo.loc = &(group->end); in re_match() 270 back.undo.val = group->end; in re_match() 271 group->end = txt; in re_match() 278 if (group->start == NULL || group->end == NULL) goto backtrack; in re_match() 279 for (s = group->start; s < group->end; s++) { in re_match() [all …]
|
/dports/lang/swi-pl/swipl-8.2.3/packages/xpce/prolog/lib/draw/ |
H A D | undo.pl | 98 <-open_count, so actions making a group can call each other, and only 99 the outer-most group, normally invoked from the GUI will combine the 100 undo messages. 119 where a group was started and ended, but nothing was actually modified. 139 ->close_undo_group closes the group opened by ->open_undo_group. If the 141 Special cases are if the group can be discarded (see above), or the 244 This message may be used by toplevel undo-group if the last added action 258 sets up a group, so the `undo of the undo' (redo) will be appended to 295 process. ->start_undo sets the pointer to the end, so the last operation 298 implies to go back to the end of the chain, to undo recorded `redo' [all …]
|
/dports/games/ufoai/ufoai-2.5-source/src/tools/radiant/radiant/undo/ |
H A D | RadiantUndoSystem.cpp | 27 namespace undo { namespace 129 void RadiantUndoSystem::undo () in undo() function in undo::RadiantUndoSystem 134 undo::Operation* operation = _undoStack.back(); in undo() 155 undo::Operation* operation = _redoStack.back(); in redo() 208 for (Trackers::const_iterator i = _trackers.begin(); i != _trackers.end(); ++i) { in trackersClear() 215 for (Trackers::const_iterator i = _trackers.begin(); i != _trackers.end(); ++i) { in trackersClearRedo() 222 for (Trackers::const_iterator i = _trackers.begin(); i != _trackers.end(); ++i) { in trackersBegin() 230 (*i)->undo(); in trackersUndo() 242 void RadiantUndoSystem::constructPreferencePage (PreferenceGroup& group) in constructPreferencePage() argument 244 PreferencesPage* page(group.createPage(_("Undo"), _("Undo Queue Settings"))); in constructPreferencePage() [all …]
|
/dports/x11-toolkits/gtksourceview3/gtksourceview-3.24.11/gtksourceview/ |
H A D | gtksourceundomanagerdefault.c | 63 gint end; member 665 action->end = new_action->end; in action_insert_merge() 679 gboolean undo) in action_insert_restore_selection() argument 696 if (undo) in action_insert_restore_selection() 897 gboolean undo) in action_delete_restore_selection() argument 902 if (undo) in action_delete_restore_selection() 1024 gboolean undo) in action_restore_selection() argument 1031 action_insert_restore_selection (buffer, action, undo); in action_restore_selection() 1035 action_delete_restore_selection (buffer, action, undo); in action_restore_selection() 1107 action->end = gtk_text_iter_get_offset (end); in delete_range_cb() [all …]
|
/dports/x11-toolkits/gtksourceview4/gtksourceview-4.8.1/gtksourceview/ |
H A D | gtksourceundomanagerdefault.c | 65 gint end; member 667 action->end = new_action->end; in action_insert_merge() 681 gboolean undo) in action_insert_restore_selection() argument 698 if (undo) in action_insert_restore_selection() 899 gboolean undo) in action_delete_restore_selection() argument 904 if (undo) in action_delete_restore_selection() 1026 gboolean undo) in action_restore_selection() argument 1033 action_insert_restore_selection (buffer, action, undo); in action_restore_selection() 1037 action_delete_restore_selection (buffer, action, undo); in action_restore_selection() 1109 action->end = gtk_text_iter_get_offset (end); in delete_range_cb() [all …]
|
/dports/games/gtkradiant/GPL/GtkRadiant/radiant/ |
H A D | undo.cpp | 107 for(states_t::iterator i = m_states.begin(); i != m_states.end(); ++i) in restore() 114 for(states_t::iterator i = m_states.begin(); i != m_states.end(); ++i) in release() 356 void undo() in undo() function in RadiantUndoSystem 427 (*i)->undo(); in trackersUndo() 445 undo.setLevels(levels); in UndoLevels_importString() 470 …pinner("Undo Queue Size", 64, 0, 1024, UndoLevelsImportCaller(undo), UndoLevelsExportCaller(undo)); in Undo_constructPreferences() 472 void Undo_constructPage(RadiantUndoSystem& undo, PreferenceGroup& group) in Undo_constructPage() argument 474 PreferencesPage page(group.createPage("Undo", "Undo Queue Settings")); in Undo_constructPage() 475 Undo_constructPreferences(undo, page); in Undo_constructPage() 580 GlobalUndoSystem().undo(); [all …]
|
/dports/games/netradiant/netradiant-20150621-src/radiant/ |
H A D | undo.cpp | 97 for ( states_t::iterator i = m_states.begin(); i != m_states.end(); ++i ) in restore() 103 for ( states_t::iterator i = m_states.begin(); i != m_states.end(); ++i ) in release() 166 for ( Operations::iterator i = m_stack.begin(); i != m_stack.end(); ++i ) in clear() 304 void undo(){ in undo() function in RadiantUndoSystem 365 ( *i )->undo(); in trackersUndo() 381 undo.setLevels( levels ); in UndoLevels_importString() 404 void Undo_constructPage( RadiantUndoSystem& undo, PreferenceGroup& group ){ in Undo_constructPage() argument 405 PreferencesPage page( group.createPage( "Undo", "Undo Queue Settings" ) ); in Undo_constructPage() 406 Undo_constructPreferences( undo, page ); in Undo_constructPage() 499 GlobalUndoSystem().undo(); [all …]
|
/dports/lang/gnustep-base/libs-base-base-1_27_0/Source/ |
H A D | NSUndoManager.m | 55 @end 149 @end 159 @end 198 @end 332 * puts the group on the undo stack. This method posts 429 * end of the event loop. 722 * end of the event loop. 919 * If current group of the receiver is the top group this method first 1067 @end 1078 @end [all …]
|
/dports/cad/lepton-eda/lepton-eda-1.9.17/docs/manual/ |
H A D | configuration.texi | 438 * schematic.undo group:: 932 @node schematic.status-bar group, schematic.undo group, schematic.tabs group, lepton-schematic conf… 975 @node schematic.undo group, schematic.log-window group, schematic.status-bar group, lepton-schemati… 976 @subsubsection @code{schematic.undo} group 977 @cindex schematic.undo group 1025 @node schematic.log-window group, schematic.macro-widget group, schematic.undo group, lepton-schema… 1798 @tab [schematic.undo]::@ref{undo-control} 1800 @tab [schematic.undo]::@ref{undo-levels} 1802 @tab [schematic.undo]::@ref{undo-panzoom} 1803 @item undo-type [all …]
|
/dports/math/gap/gap-4.11.0/pkg/fga/lib/ |
H A D | Autom.gi | 14 # [ "initial", "terminal", "states", "group" ] ); 15 [ "states", "group" ] ); 65 OneImmutable, One( A!.group ), 175 local undo, oldstate, i; 185 undo := function() Unbind(oldstate.delta[genlist[i]]); end; 187 undo := function() Unbind(oldstate.deltainv[-genlist[i]]); end; 191 undo := ReturnTrue; 193 return rec( state:=state, undo:=undo); 273 rec(initial:=s, terminal:=s, group:=G) ); 282 rec(initial:=s, terminal:=s, group:=G) ); [all …]
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/ |
H A D | MultiStateTextFileChange.java | 200 fGroup= group; in setGroup() 208 Assert.isNotNull(undo); in setUndo() 210 fUndo= undo; in setUndo() 318 list.add(group); in addChange() 580 final int end= offset + length; in getPreviewContent() 585 } else if (end < eventOffset) { in getPreviewContent() 590 } else if (offset <= eventOffset && end >= eventOldEndOffset) { in getPreviewContent() 600 } else if (end > eventOldEndOffset) { in getPreviewContent() 615 int newEndOffset= Math.min(end, eventNewEndOffset); in getPreviewContent() 643 final String text= undo.getText(); in getPreviewContent() [all …]
|
/dports/multimedia/kdenlive/kdenlive-21.12.3/src/timeline2/model/ |
H A D | groupsmodel.cpp | 407 for (const auto &group : parents) { in mergeSingleGroups() local 408 setGroup(group.first, group.second); in mergeSingleGroups() 493 for (const auto &group : to_move) { in split() local 494 destructGroupItem(group); in split() 550 selected = group.first; in split() 555 std::unordered_set<int> group; in split() local 560 int gid = groupItems(group, undo, redo, new_types[selected], true); in split() 591 setGroup(id, group); in setInGroupOf() 595 setGroup(id, group); in setInGroupOf() 679 std::transform(mapping.begin(), mapping.end(), std::inserter(roots, roots.begin()), in copyGroups() [all …]
|
/dports/editors/xi-core/xi-editor-0.3.0/docs/docs/ |
H A D | crdt.md | 3 title: CRDT - An approach to async plugins and undo 35 …undo group." Several edits may be in the same group. For example, if the user types `"`, then a sm… 37 …undo group goes into an undone state, the insertion and deletion sets are swapped. Note that if a … 39 Note that the mechanism allows for selective undo of any undo group. We probably won't expose this … 41 …undo state, as it will be managed by the central core, but it's still straightforward to handle as… 45 It's worth recapping the end-to-end flow, because it's not obvious. Reconstructing the visible buff… 55 - An undo group id. 67 * Decide for each edit group whether it is in an undo state, either centrally or by taking the pari… 69 * For each edit, if its edit group is in an undone state, add its inserted characters, otherwise ad… 89 …undo requires going back to an earlier snapshot (the latest one that doesn't contain any edits fro… [all …]
|
/dports/x11-wm/sawfish/sawfish_1.13.0/next-lisp/ |
H A D | undo.jl | 64 (undo-transfer-to-undo-list) 135 (defun undo-transfer-to-undo-list () 142 (setq undo-list (cons (cons 'progn undo-curcmd-list) undo-list)) 150 (unless (or undo-in-command undo-in-interactive (< 0 undo-group-depth)) 151 (undo-transfer-to-undo-list))) 170 (defun undo-start-group () 171 (setq undo-group-depth (+ undo-group-depth 1))) 173 (defun undo-end-group () 174 (setq undo-group-depth (- undo-group-depth 1)) 202 (defvar undo-group-depth 0) [all …]
|
/dports/deskutils/gnote/gnote-41.1/src/ |
H A D | undo.cpp | 36 void EditActionGroup::undo(Gtk::TextBuffer*) in undo() function in gnote::EditActionGroup 172 void InsertAction::undo (Gtk::TextBuffer * buffer) in undo() function in gnote::InsertAction 269 void EraseAction::undo (Gtk::TextBuffer * buffer) in undo() function in gnote::EraseAction 385 void TagApplyAction::undo (Gtk::TextBuffer * buffer) in undo() function in gnote::TagApplyAction 436 void TagRemoveAction::undo (Gtk::TextBuffer * buffer) in undo() function in gnote::TagRemoveAction 484 void ChangeDepthAction::undo (Gtk::TextBuffer * buffer) in undo() function in gnote::ChangeDepthAction 547 void InsertBulletAction::undo (Gtk::TextBuffer * buffer) in undo() function in gnote::InsertBulletAction 628 EditActionGroup *group = dynamic_cast<EditActionGroup*>(action); in undo_redo() local 629 if(group) { in undo_redo() 631 loop = is_undo ? !group->is_start() : group->is_start(); in undo_redo() [all …]
|
/dports/math/gnumeric/gnumeric-1.12.50/src/ |
H A D | undo.c | 69 uclass->undo = gnm_undo_colrow_restore_state_group_undo; in gnm_undo_colrow_restore_state_group_class_init() 116 ColRowStateGroup *group; in gnm_undo_colrow_set_sizes_undo() local 120 colrow_state_group_destroy (group); in gnm_undo_colrow_set_sizes_undo() 131 uclass->undo = gnm_undo_colrow_set_sizes_undo; in gnm_undo_colrow_set_sizes_class_init() 170 last = r->end.col; in GSF_CLASS() 172 ua->to = r->end.row; in GSF_CLASS() 175 last = r->end.row; in GSF_CLASS() 177 ua->to = r->end.col; in GSF_CLASS() 232 ua->filter->r.end.row, in gnm_undo_filter_set_condition_undo() 247 ua->filter->r.end.row - in gnm_undo_filter_set_condition_undo() [all …]
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/gui/util/ |
H A D | qundogroup.cpp | 117 QList<QUndoStack *>::iterator end = d->stack_list.end(); in ~QUndoGroup() local 118 while (it != end) { in ~QUndoGroup() 119 (*it)->d_func()->group = 0; in ~QUndoGroup() 141 if (QUndoGroup *other = stack->d_func()->group) in addStack() 143 stack->d_func()->group = this; in addStack() 161 stack->d_func()->group = 0; in removeStack() 268 void QUndoGroup::undo() in undo() function in QUndoGroup 272 d->active->undo(); in undo() 396 connect(result, SIGNAL(triggered()), this, SLOT(undo())); in createUndoAction()
|
/dports/databases/qt5-sqldrivers-sqlite2/kde-qtbase-5.15.2p263/src/widgets/util/ |
H A D | qundogroup.cpp | 114 QList<QUndoStack *>::iterator end = d->stack_list.end(); in ~QUndoGroup() local 115 while (it != end) { in ~QUndoGroup() 116 (*it)->d_func()->group = nullptr; in ~QUndoGroup() 138 if (QUndoGroup *other = stack->d_func()->group) in addStack() 140 stack->d_func()->group = this; in addStack() 158 stack->d_func()->group = nullptr; in removeStack() 265 void QUndoGroup::undo() in undo() function in QUndoGroup 269 d->active->undo(); in undo() 393 connect(result, SIGNAL(triggered()), this, SLOT(undo())); in createUndoAction()
|
/dports/databases/qt5-sqldrivers-sqlite3/kde-qtbase-5.15.2p263/src/widgets/util/ |
H A D | qundogroup.cpp | 114 QList<QUndoStack *>::iterator end = d->stack_list.end(); in ~QUndoGroup() local 115 while (it != end) { in ~QUndoGroup() 116 (*it)->d_func()->group = nullptr; in ~QUndoGroup() 138 if (QUndoGroup *other = stack->d_func()->group) in addStack() 140 stack->d_func()->group = this; in addStack() 158 stack->d_func()->group = nullptr; in removeStack() 265 void QUndoGroup::undo() in undo() function in QUndoGroup 269 d->active->undo(); in undo() 393 connect(result, SIGNAL(triggered()), this, SLOT(undo())); in createUndoAction()
|
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/widgets/util/ |
H A D | qundogroup.cpp | 114 QList<QUndoStack *>::iterator end = d->stack_list.end(); in ~QUndoGroup() local 115 while (it != end) { in ~QUndoGroup() 116 (*it)->d_func()->group = nullptr; in ~QUndoGroup() 138 if (QUndoGroup *other = stack->d_func()->group) in addStack() 140 stack->d_func()->group = this; in addStack() 158 stack->d_func()->group = nullptr; in removeStack() 265 void QUndoGroup::undo() in undo() function in QUndoGroup 269 d->active->undo(); in undo() 393 connect(result, SIGNAL(triggered()), this, SLOT(undo())); in createUndoAction()
|
/dports/textproc/qt5-xml/kde-qtbase-5.15.2p263/src/widgets/util/ |
H A D | qundogroup.cpp | 114 QList<QUndoStack *>::iterator end = d->stack_list.end(); in ~QUndoGroup() local 115 while (it != end) { in ~QUndoGroup() 116 (*it)->d_func()->group = nullptr; in ~QUndoGroup() 138 if (QUndoGroup *other = stack->d_func()->group) in addStack() 140 stack->d_func()->group = this; in addStack() 158 stack->d_func()->group = nullptr; in removeStack() 265 void QUndoGroup::undo() in undo() function in QUndoGroup 269 d->active->undo(); in undo() 393 connect(result, SIGNAL(triggered()), this, SLOT(undo())); in createUndoAction()
|
/dports/databases/qt5-sqldrivers-mysql/kde-qtbase-5.15.2p263/src/widgets/util/ |
H A D | qundogroup.cpp | 114 QList<QUndoStack *>::iterator end = d->stack_list.end(); in ~QUndoGroup() local 115 while (it != end) { in ~QUndoGroup() 116 (*it)->d_func()->group = nullptr; in ~QUndoGroup() 138 if (QUndoGroup *other = stack->d_func()->group) in addStack() 140 stack->d_func()->group = this; in addStack() 158 stack->d_func()->group = nullptr; in removeStack() 265 void QUndoGroup::undo() in undo() function in QUndoGroup 269 d->active->undo(); in undo() 393 connect(result, SIGNAL(triggered()), this, SLOT(undo())); in createUndoAction()
|