Mail: remove un-intended debugging code committed
This commit is contained in:
@@ -3291,9 +3291,6 @@ TTextView::Undo(BClipboard */*clipboard*/)
|
|||||||
char *text;
|
char *text;
|
||||||
status_t status;
|
status_t status;
|
||||||
|
|
||||||
printf("UNDO------\n");
|
|
||||||
fUndoBuffer.PrintToStream();
|
|
||||||
|
|
||||||
status = fUndoBuffer.Undo(&text, &length, &offset, &history, &cursorPos);
|
status = fUndoBuffer.Undo(&text, &length, &offset, &history, &cursorPos);
|
||||||
if (status == B_OK) {
|
if (status == B_OK) {
|
||||||
fUndoBuffer.Off();
|
fUndoBuffer.Off();
|
||||||
@@ -3344,9 +3341,6 @@ TTextView::Redo()
|
|||||||
status_t status;
|
status_t status;
|
||||||
bool replaced;
|
bool replaced;
|
||||||
|
|
||||||
printf("REDO------\n");
|
|
||||||
fUndoBuffer.PrintToStream();
|
|
||||||
|
|
||||||
status = fUndoBuffer.Redo(&text, &length, &offset, &history, &cursorPos, &replaced);
|
status = fUndoBuffer.Redo(&text, &length, &offset, &history, &cursorPos, &replaced);
|
||||||
if (status == B_OK) {
|
if (status == B_OK) {
|
||||||
fUndoBuffer.Off();
|
fUndoBuffer.Off();
|
||||||
|
|||||||
Reference in New Issue
Block a user