Don't paste plain text at column 0 unless selection is active

This commit is contained in:
G.K.MacGregor
2024-07-02 16:33:49 +01:00
parent 23a0d3c47e
commit 54bdf1783a

View File

@@ -497,9 +497,7 @@ PasteCommand::PasteCommand(TeletextDocument *teletextDocument, int pageCharSet,
if (!m_selectionActive) {
// If selection is NOT active, use the full width of the page to paste.
// The second and subsequent lines will start at column 1, unless the
// cursor is explicitly on column 0.
if (m_pasteLeftColumn != 0)
// The second and subsequent lines will start at column 1
m_pasteLeftColumn = 1;
// Check if first word in the first line will fit from the cursor position