Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/editor/deletebackcommond.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ void DeleteBackAltCommand::undo()
qCDebug(appLog) << "m_edit is not null";
m_edit->restoreColumnEditSelection(m_columnEditSelections);
m_edit->setTextCursor(m_columnEditSelections.last().cursor);
m_edit->renderAllSelections();
}
qCDebug(appLog) << "DeleteBackAltCommand undo end";
}
Expand All @@ -172,6 +173,7 @@ void DeleteBackAltCommand::redo()
qCDebug(appLog) << "m_edit is not null";
m_edit->restoreColumnEditSelection(m_columnEditSelections);
m_edit->setTextCursor(m_columnEditSelections.last().cursor);
m_edit->renderAllSelections();
}
qCDebug(appLog) << "DeleteBackAltCommand redo end";
}
Expand Down
2 changes: 2 additions & 0 deletions src/editor/deletetextundocommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ void DeleteTextUndoCommand::undo()
qCDebug(appLog) << "m_edit is not null";
m_edit->restoreColumnEditSelection(m_ColumnEditSelections);
m_edit->setTextCursor(m_ColumnEditSelections.last().cursor);
m_edit->renderAllSelections();
}
}
qCDebug(appLog) << "DeleteTextUndoCommand undo end";
Expand Down Expand Up @@ -126,6 +127,7 @@ void DeleteTextUndoCommand::redo()
qCDebug(appLog) << "m_edit is not null";
m_edit->restoreColumnEditSelection(m_ColumnEditSelections);
m_edit->setTextCursor(m_ColumnEditSelections.last().cursor);
m_edit->renderAllSelections();
}
}
qCDebug(appLog) << "DeleteTextUndoCommand redo end";
Expand Down
1 change: 1 addition & 0 deletions src/editor/inserttextundocommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ void InsertTextUndoCommand::undo()
qCDebug(appLog) << "InsertTextUndoCommand undo, pEdit not empty";
m_pEdit->restoreColumnEditSelection(m_columnEditSelections);
m_pEdit->setTextCursor(m_columnEditSelections.last().cursor);
m_pEdit->renderAllSelections();
}
}
qCDebug(appLog) << "InsertTextUndoCommand undo exit";
Expand Down
Loading