Don't paste plain text at column 0 unless selection is active
This commit is contained in:
@@ -497,9 +497,7 @@ PasteCommand::PasteCommand(TeletextDocument *teletextDocument, int pageCharSet,
|
|||||||
|
|
||||||
if (!m_selectionActive) {
|
if (!m_selectionActive) {
|
||||||
// If selection is NOT active, use the full width of the page to paste.
|
// 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
|
// The second and subsequent lines will start at column 1
|
||||||
// cursor is explicitly on column 0.
|
|
||||||
if (m_pasteLeftColumn != 0)
|
|
||||||
m_pasteLeftColumn = 1;
|
m_pasteLeftColumn = 1;
|
||||||
|
|
||||||
// Check if first word in the first line will fit from the cursor position
|
// Check if first word in the first line will fit from the cursor position
|
||||||
|
|||||||
Reference in New Issue
Block a user