You are here: PSPad forum > Bug report / Hlášení chyb > Paste, autoindent and real tabs

Paste, autoindent and real tabs

#1 Paste, autoindent and real tabs

Posted by: asharkinasuit | Date: 2018-11-10 12:25 | IP: IP Logged

When on an auto-indented line, pasting something (ctrl+V) causes the indentation to be spaces even when the real tabs setting is enabled. When Show spaces, line ends and tabs is enabled, the auto-indented line is still empty before the paste.
Reproduce:
Make sure Real tabs and and Auto Indent Mode are enabled
Type some text on an indented line
Hit return
Paste some more text
The indentation is now made of spaces, not tab(s)

Interaction with Trim trailing spaces: when enabling Show spaces, tabs and newlines, the new indented line is already filled with some spaces when hitting return if Trim trailing spaces is enabled, and these spaces are not turned into tabs.

Edit: I'm using PSPad 5.0.0 (277) on Windows 10 (1803, build 17134.345).

Edited 1 time(s). Last edit at 2018-11-10 12:29 by asharkinasuit.

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR