Home
last modified time | relevance | path

Searched refs:UNDO_LEVELS (Results 1 – 6 of 6) sorted by relevance

/dports/misc/clex/clex-4.6.patch9/src/
H A Dundo.c145 idx = (textline->undo_base + textline->undo_levels) % UNDO_LEVELS; in undo_after()
146 if (textline->undo_levels < UNDO_LEVELS) in undo_after()
149 textline->undo_base = (textline->undo_base + 1) % UNDO_LEVELS; in undo_after()
181 idx = (textline->undo_base + idx) % UNDO_LEVELS; in undo_redo()
H A Dclex.h148 #define UNDO_LEVELS 10 /* undo steps */ macro
165 } undo [UNDO_LEVELS]; /* used in a circular manner */
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/contrib/jxpmap/python/
H A DMapCanvas.py6 from config import UNDO_LEVELS
121 if UNDO_LEVELS > 0:
122 self.undos = [None] * (UNDO_LEVELS + 2)
140 if self.undoIndex > UNDO_LEVELS:
H A Dconfig.py20 UNDO_LEVELS = 100 variable
/dports/graphics/gimp-app/gimp-2.10.30/plug-ins/ifs-compose/
H A Difs-compose.c53 #define UNDO_LEVELS 24 macro
284 static UndoItem undo_ring[UNDO_LEVELS];
1798 if (undo_cur == UNDO_LEVELS-1) in undo_begin()
1801 undo_start = (undo_start + 1) % UNDO_LEVELS; in undo_begin()
1810 new_index = (undo_start + undo_cur) % UNDO_LEVELS; in undo_begin()
1813 for (j = new_index; to_delete > 0; j = (j+1) % UNDO_LEVELS, to_delete--) in undo_begin()
1845 if (!undo_ring[(undo_start + undo_cur) % UNDO_LEVELS].elements[el]) in undo_update()
1846 undo_ring[(undo_start + undo_cur) % UNDO_LEVELS].elements[el] in undo_update()
1907 undo_exchange ((undo_start + undo_cur) % UNDO_LEVELS); in undo()
1920 undo_exchange ((undo_start + undo_cur) % UNDO_LEVELS); in redo()
/dports/audio/sweep/sweep-0.9.3/src/
H A Dsweep_undo.c48 #define UNDO_LEVELS 99 macro
381 trim_registered_ops (s, UNDO_LEVELS); in register_operation()