Skip to content

"Blank Operations" should work on a selection of lines of text #12602

@alankilborn

Description

@alankilborn

Description of the Issue

Some users think that if they make a selection of lines, then choose Edit > Blank operations > Trim Leading Space, for example, that only the lines that are selected should be affected by the operation, not all lines in the currently active document. Reference THIS Community thread.

Steps to Reproduce the Issue

  1. Create a new tab and paste the following data:
4
     Inf 795
     Sup 793
       Izq 1923
        Der 1923
5
         Inf 799
         Sup 800
          Izq 1920
           Der 1920

  6.    
           Inf 800
            Sup 800
              Inz 2010
               Der 2007

7.        
               Inf 797
                Sup  800
                 Izq 2090
                  Der 2093
  1. Selected lines 1-10:
    image

  2. Execute Edit > Blank operations > Trim Leading Space

Expected Behavior

image

Actual Behavior

image

Debug Information

Notepad++ v8.4.7 (64-bit)
Build time : Nov 1 2022 - 23:31:11
Path : C:\...\npp.8.4.7.portable.x64\notepad++.exe
Command Line : -titleAdd="8.4.7 64-bit" -multiInst
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 21H2
OS Build : 19044.2130
Current ANSI codepage : 1252
Plugins :
mimeTools (2.9)
NppConverter (4.5)
NppExport (0.4)
PythonScript (3.0.14)

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions