Home
last modified time | relevance | path

Searched refs:undoable (Results 1 – 25 of 1167) sorted by relevance

12345678910>>...47

/dports/audio/tuxguitar/tuxguitar-src-1.2/TuxGuitar/src/org/herac/tuxguitar/gui/undo/undoables/custom/
H A DUndoableChangeInfo.java70 undoable.doAction = UNDO_ACTION; in startUndo()
71 undoable.undoCaret = new UndoableCaretHelper(); in startUndo()
72 undoable.undoName = song.getName(); in startUndo()
73 undoable.undoArtist = song.getArtist(); in startUndo()
74 undoable.undoAlbum = song.getAlbum(); in startUndo()
75 undoable.undoAuthor = song.getAuthor(); in startUndo()
76 undoable.undoDate = song.getDate(); in startUndo()
77 undoable.undoCopyright = song.getCopyright(); in startUndo()
78 undoable.undoWriter = song.getWriter(); in startUndo()
80 undoable.undoComments = song.getComments(); in startUndo()
[all …]
H A DUndoableChangeClef.java69 UndoableChangeClef undoable = new UndoableChangeClef(); in startUndo() local
71 undoable.doAction = UNDO_ACTION; in startUndo()
72 undoable.undoCaret = new UndoableCaretHelper(); in startUndo()
73 undoable.position = caret.getPosition(); in startUndo()
74 undoable.undoableClef = caret.getMeasure().getClef(); in startUndo()
75 undoable.track = caret.getTrack(); in startUndo()
76 undoable.nextClefPositions = new ArrayList(); in startUndo()
78 int prevClef = undoable.undoableClef; in startUndo()
82 if(measure.getStart() > undoable.position){ in startUndo()
86 undoable.nextClefPositions.add(tsp); in startUndo()
[all …]
H A DUndoableChangeKeySignature.java69 UndoableChangeKeySignature undoable = new UndoableChangeKeySignature();
71 undoable.doAction = UNDO_ACTION;
72 undoable.undoCaret = new UndoableCaretHelper();
73 undoable.position = caret.getPosition();
74 undoable.undoableKeySignature = caret.getMeasure().getKeySignature();
75 undoable.track = caret.getTrack();
76 undoable.nextKeySignaturePositions = new ArrayList();
78 int prevKeySignature = undoable.undoableKeySignature;
82 if(measure.getStart() > undoable.position){
86 undoable.nextKeySignaturePositions.add(tsp); in CheckRunTimeSettings()
[all …]
H A DUndoableChangeTripletFeel.java67 UndoableChangeTripletFeel undoable = new UndoableChangeTripletFeel(); in startUndo() local
69 undoable.doAction = UNDO_ACTION; in startUndo()
70 undoable.undoCaret = new UndoableCaretHelper(); in startUndo()
71 undoable.position = caret.getPosition(); in startUndo()
72 undoable.undoableTripletFeel = caret.getMeasure().getTripletFeel(); in startUndo()
73 undoable.nextTripletFeelPositions = new ArrayList(); in startUndo()
75 int prevTripletFeel = undoable.undoableTripletFeel; in startUndo()
79 if(measure.getStart() > undoable.position){ in startUndo()
82 TripletFeelPosition tfp = undoable.new TripletFeelPosition(measure.getStart(),currTripletFeel); in startUndo()
83 undoable.nextTripletFeelPositions.add(tfp); in startUndo()
[all …]
H A DUndoableChangeAlternativeRepeat.java59 UndoableChangeAlternativeRepeat undoable = new UndoableChangeAlternativeRepeat(); in startUndo() local
61 undoable.doAction = UNDO_ACTION; in startUndo()
62 undoable.undoCaret = new UndoableCaretHelper(); in startUndo()
63 undoable.position = caret.getPosition(); in startUndo()
64 undoable.undoRepeatAlternative = caret.getMeasure().getHeader().getRepeatAlternative(); in startUndo()
66 return undoable; in startUndo()
H A DUndoableChangeCloseRepeat.java64 UndoableChangeCloseRepeat undoable = new UndoableChangeCloseRepeat(); in startUndo() local
65 undoable.doAction = UNDO_ACTION; in startUndo()
66 undoable.undoCaret = new UndoableCaretHelper(); in startUndo()
67 undoable.position = position; in startUndo()
68 undoable.undoRepeatClose = repeatClose; in startUndo()
70 return undoable; in startUndo()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/
H A DAbstractUndoManagerTest.java100 assertTrue(fUndoManager.undoable()); in testConvertLineDelimiters()
102 assertTrue(fUndoManager.undoable()); in testConvertLineDelimiters()
127 assertTrue(fUndoManager.undoable()); in testRandomAccess()
128 while (fUndoManager.undoable()) in testRandomAccess()
256 assertTrue(fUndoManager.undoable()); in testRandomAccessAsCompound()
257 while (fUndoManager.undoable()) in testRandomAccessAsCompound()
288 while (fUndoManager.undoable()) in testRandomAccessAsUnclosedCompound()
324 while (fUndoManager.undoable()) in testRandomAccessWithMixedCompound()
343 while (fUndoManager.undoable()) in testRepeatableAccess()
383 while (fUndoManager.undoable()) in testRepeatableAccessAsUnclosedCompound()
[all …]
H A DTextViewerUndoManagerTest.java81 assertEquals(isUndoable, tempUndoManager.undoable()); in internalTestTransferNonTextOp()
92 assertEquals(isUndoable, undoManager.undoable()); in internalTestTransferNonTextOp()
94 assertFalse(undoManager.undoable()); in internalTestTransferNonTextOp()
118 assertTrue(undoManager.undoable()); in testCanUndo()
120 assertFalse(undoManager.undoable()); in testCanUndo()
125 assertTrue(undoManager.undoable()); in testCanUndo()
127 assertFalse(undoManager.undoable()); in testCanUndo()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.text.tests/src/org/eclipse/text/tests/
H A DDocumentUndoManagerTest.java100 assertTrue(fUndoManager.undoable()); in testConvertLineDelimiters()
102 assertTrue(fUndoManager.undoable()); in testConvertLineDelimiters()
136 assertTrue(fUndoManager.undoable()); in testRandomAccess()
137 while (fUndoManager.undoable()) in testRandomAccess()
195 assertTrue(fUndoManager.undoable()); in testCompoundTextEdit()
220 assertTrue(fUndoManager.undoable()); in testRandomAccessAsCompound()
221 while (fUndoManager.undoable()) in testRandomAccessAsCompound()
255 while (fUndoManager.undoable()) in testRandomAccessAsUnclosedCompound()
291 while (fUndoManager.undoable()) in testRandomAccessWithMixedCompound()
310 while (fUndoManager.undoable()) in testRepeatableAccess()
[all …]
/dports/editors/led/led-2.0/src/
H A Dbuffer.c112 void buffer_empty(buffer_t *buffer, int undoable) { in buffer_empty() argument
116 if (undoable) in buffer_empty()
119 buffer_rmline(buffer, undoable, in buffer_empty()
123 if (undoable) in buffer_empty()
150 if (undoable) { in buffer_addline()
176 if (undoable) { in buffer_rmline()
179 buffer_rmstr(buffer, undoable, line, in buffer_rmline()
235 if (undoable) { in buffer_rmstr()
256 if (undoable) { in buffer_rmch()
284 if (undoable) { in buffer_putc()
[all …]
H A Dfile.c81 int file_fread(buffer_t *buffer, int undoable, int cancelable, line_t **line, in file_fread() argument
87 if (undoable) in file_fread()
109 buffer_nputs(buffer, undoable, *line, *linenum, in file_fread()
144 buffer_nputs(buffer, undoable, *line, *linenum, in file_fread()
149 next = buffer_addline(buffer, undoable, *line, in file_fread()
152 buffer_nputs(buffer, undoable, next, in file_fread()
155 buffer_rmstr(buffer, undoable, *line, *linenum, in file_fread()
163 if (undoable) in file_fread()
168 if (undoable) in file_fread()
H A Dbuffer.h90 void buffer_empty(buffer_t *, int undoable);
91 line_t *buffer_addline(buffer_t *, int undoable, line_t *,
93 void buffer_rmline(buffer_t *, int undoable, line_t *,
95 void buffer_rmstr(buffer_t *, int undoable, line_t *,
97 void buffer_rmch(buffer_t *, int undoable, line_t *,
99 void buffer_putc(buffer_t *, int undoable, line_t *,
101 void buffer_nputs(buffer_t *, int undoable, line_t *,
H A Dregion.c51 void region_delete(buffer_t *buffer, int undoable, region_t *r) { in region_delete() argument
56 buffer_rmstr(buffer, undoable, r->first.line, in region_delete()
64 buffer_rmstr(buffer, undoable, r->first.line, r->first.linenum, in region_delete()
71 buffer_rmline(buffer, undoable, TAILQ_PREV(line, linelist, in region_delete()
77 buffer_rmstr(buffer, undoable, r->last.line, r->last.linenum, in region_delete()
79 buffer_nputs(buffer, undoable, r->first.line, r->first.linenum, in region_delete()
81 buffer_rmline(buffer, undoable, r->last.line, r->last.linenum); in region_delete()
/dports/games/gtkradiant/GPL/GtkRadiant/radiant/
H A Dundo.cpp101 void save(Undoable* undoable) in save() argument
103 m_states.push_front(StateApplicator(undoable, undoable->exportState())); in save()
221 void save(Undoable* undoable) in save() argument
244 void save(Undoable* undoable) in save() argument
246 ASSERT_NOTNULL(undoable); in save()
250 m_stack->save(undoable); in save()
286 ASSERT_NOTNULL(undoable); in observer()
288 return &m_undoables[undoable]; in observer()
290 void release(Undoable* undoable) in release() argument
292 ASSERT_NOTNULL(undoable); in release()
[all …]
/dports/games/netradiant/netradiant-20150621-src/radiant/
H A Dundo.cpp93 void save( Undoable* undoable ){ in save() argument
94 m_states.push_front( StateApplicator( undoable, undoable->exportState() ) ); in save()
192 void save( Undoable* undoable ){ in save() argument
212 void save( Undoable* undoable ){ in save() argument
213 ASSERT_NOTNULL( undoable ); in save()
216 m_stack->save( undoable ); in save()
247 ASSERT_NOTNULL( undoable ); in observer()
249 return &m_undoables[undoable]; in observer()
251 void release( Undoable* undoable ){ in release() argument
252 ASSERT_NOTNULL( undoable ); in release()
[all …]
/dports/audio/tuxguitar/tuxguitar-src-1.2/TuxGuitar/src/org/herac/tuxguitar/gui/undo/undoables/track/
H A DUndoableTrackInfo.java62 UndoableTrackInfo undoable = new UndoableTrackInfo();
63 undoable.doAction = UNDO_ACTION;
64 undoable.trackNumber = track.getNumber();
65 undoable.undoCaret = new UndoableCaretHelper();
66 undoable.undoName = track.getName();
67 undoable.undoColor = track.getColor().clone(TuxGuitar.instance().getSongManager().getFactory());
68 undoable.undoOffset = track.getOffset();
70 return undoable;
H A DUndoableTrackInstrument.java65 UndoableTrackInstrument undoable = new UndoableTrackInstrument(); in startUndo() local
66 undoable.doAction = UNDO_ACTION; in startUndo()
67 undoable.undoCaret = new UndoableCaretHelper(); in startUndo()
68 undoable.trackNumber = track.getNumber(); in startUndo()
69 undoable.undoInstrument = track.getChannel().getInstrument(); in startUndo()
70 undoable.undoPercussion = track.isPercussionTrack(); in startUndo()
72 return undoable; in startUndo()
H A DUndoableTrackLyric.java61 UndoableTrackLyric undoable = new UndoableTrackLyric(); in startUndo() local
62 undoable.doAction = UNDO_ACTION; in startUndo()
63 undoable.trackNumber = track.getNumber(); in startUndo()
64 undoable.undoCaret = new UndoableCaretHelper(); in startUndo()
65 undoable.undoCaretPosition = undoCaretPosition; in startUndo()
66 track.getLyrics().copy( undoable.undoLyric ); in startUndo()
67 return undoable; in startUndo()
H A DUndoableTrackSoloMute.java76 UndoableTrackSoloMute undoable = new UndoableTrackSoloMute(); in endUndo()
77 undoable.doAction = UNDO_ACTION; in endUndo()
78 undoable.undoCaret = new UndoableCaretHelper(); in endUndo()
79 undoable.track = track.getNumber(); in endUndo()
80 undoable.undoSolo = track.isSolo(); in endUndo()
81 undoable.undoMute = track.isMute(); in endUndo()
83 return undoable; in endUndo()
/dports/audio/tuxguitar/tuxguitar-src-1.2/TuxGuitar/src/org/herac/tuxguitar/gui/undo/undoables/
H A DUndoableJoined.java22 public void addUndoableEdit(UndoableEdit undoable){ in addUndoableEdit() argument
23 this.undoables.add(undoable); in addUndoableEdit()
29 UndoableEdit undoable = (UndoableEdit)this.undoables.get(i); in redo() local
30 undoable.redo(); in redo()
39 UndoableEdit undoable = (UndoableEdit)this.undoables.get(i); in undo() local
40 undoable.undo(); in undo()
/dports/devel/juce/JUCE-f37e9a1/extras/Projucer/Source/ComponentEditor/PaintElements/
H A Djucer_ColouredElement.h53 void setFillType (const JucerFillType& newType, const bool undoable);
56 void enableStroke (bool enable, const bool undoable);
59 void setStrokeType (const PathStrokeType& newType, const bool undoable);
60 void setStrokeFill (const JucerFillType& newType, const bool undoable);
64 … (const Rectangle<int>& newBounds, const Rectangle<int>& parentArea, const bool undoable) override;
H A Djucer_PaintElementPath.h50 const bool undoable);
71 …ntBounds (const Rectangle<int>& b, const Rectangle<int>& parentArea, const bool undoable) override;
75 … int pointNumber, double newX, double newY, const Rectangle<int>& parentArea, const bool undoable);
78 …int (int index, int pointNumber, const RelativePositionedRectangle& newPoint, const bool undoable);
84 PathPoint* addPoint (int pointIndexToAddItAfter, const bool undoable);
85 void deletePoint (int pointIndex, const bool undoable);
93 void setSubpathClosed (int pointIndex, const bool closed, const bool undoable);
96 void setNonZeroWinding (const bool nonZero, const bool undoable);
/dports/games/ufoai/ufoai-2.5-source/src/tools/radiant/radiant/undo/
H A DSnapShot.h31 StateApplicator(Undoable* undoable, UndoMemento* data) : in StateApplicator() argument
32 _undoable(undoable), _data(data) in StateApplicator()
59 void save(Undoable* undoable) { in save() argument
60 _states.push_front(StateApplicator(undoable, undoable->exportState())); in save()
/dports/devel/juce/JUCE-f37e9a1/extras/Projucer/Source/ComponentEditor/
H A Djucer_ComponentLayout.h53 void removeComponent (Component* comp, const bool undoable);
56 Component* addComponentFromXml (const XmlElement& xml, const bool undoable);
61 void componentToFront (Component* comp, const bool undoable);
62 void componentToBack (Component* comp, const bool undoable);
64 …omponentPosition (Component* comp, const RelativePositionedRectangle& newPos, const bool undoable);
65 …ponent* comp, const Rectangle<int>& newBounds, Component* referenceComponent, const bool undoable);
66 void updateStoredComponentPosition (Component* comp, const bool undoable);
/dports/audio/tuxguitar/tuxguitar-src-1.2/TuxGuitar/src/org/herac/tuxguitar/gui/undo/undoables/measure/
H A DUndoableAddMeasure.java50 UndoableAddMeasure undoable = new UndoableAddMeasure(); in canRedo()
51 undoable.undoCaret = new UndoableCaretHelper(); in canRedo()
52 undoable.doAction = UNDO_ACTION; in canRedo()
53 undoable.number = number; in canRedo()
54 return undoable; in canRedo()

12345678910>>...47