From 54bdf1783aaaf2acc9bca3d6c05cf5977ebb2c9a Mon Sep 17 00:00:00 2001 From: "G.K.MacGregor" Date: Tue, 2 Jul 2024 16:33:49 +0100 Subject: [PATCH] Don't paste plain text at column 0 unless selection is active --- levelonecommands.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/levelonecommands.cpp b/levelonecommands.cpp index 578a58b..f786423 100644 --- a/levelonecommands.cpp +++ b/levelonecommands.cpp @@ -497,10 +497,8 @@ 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) - m_pasteLeftColumn = 1; + // 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 bool firstWordFits = true;