Changeset View
Changeset View
Standalone View
Standalone View
src/undo/kateundo.h
Show First 20 Lines • Show All 74 Lines • ▼ Show 20 Line(s) | 72 | public: | |||
---|---|---|---|---|---|
75 | * | 75 | * | ||
76 | * @return whether the item is empty | 76 | * @return whether the item is empty | ||
77 | */ | 77 | */ | ||
78 | virtual bool isEmpty() const; | 78 | virtual bool isEmpty() const; | ||
79 | 79 | | |||
80 | /** | 80 | /** | ||
81 | * merge an undo item | 81 | * merge an undo item | ||
82 | * Saves a bit of memory and potentially many calls when undo/redoing. | 82 | * Saves a bit of memory and potentially many calls when undo/redoing. | ||
83 | * Only called for equal types of this object and the passed one. | ||||
83 | * @param undo undo item to merge | 84 | * @param undo undo item to merge | ||
84 | * @return success | 85 | * @return success | ||
85 | */ | 86 | */ | ||
86 | virtual bool mergeWith(const KateUndo *undo); | 87 | virtual bool mergeWith(const KateUndo *undo); | ||
87 | 88 | | |||
88 | /** | 89 | /** | ||
89 | * undo this item | 90 | * undo this item | ||
90 | */ | 91 | */ | ||
▲ Show 20 Lines • Show All 481 Lines • Show Last 20 Lines |