Skip to content

[BUG] Text replacement in selected text, second time, Replace All In Selection #15992

@Sediqwe

Description

@Sediqwe

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

If I replace a given text, so that I want it in the selected text, it will replace the whole document if it is repeated, even if the checkbox is apparently checked!

Steps To Reproduce

  1. Select text section
  2. ctrl - h
  3. mark "in selection" (Extended)
  4. Replace ALL -> OK
  5. Another text section select
  6. Replace ALL -> Replace in ALL text! (Not only in the selected)

Current Behavior

The text has not only been replaced in the selected area!

Expected Behavior

Only the field is replaced because I did not uncheck the checkbox

Debug Information

Notepad++ v8.7.1   (64-bit)
Build time : Oct 31 2024 - 00:48:56
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : "C:\Program Files\Notepad++\change.log" 
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 11 Pro (64-bit)
OS Version : 23H2
OS Build : 22631.4602
Current ANSI codepage : 1250
Plugins : 
    ColumnTools (1.4.5.1)
    ComparePlugin (2.0.2)
    CSVLint (0.4.6.5)
    HTMLTag (1.4.1)
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)
    NppRegExTractorPlugin (2.1)
    RegexTrainer (1)
    XMLTools (3.1.1.13)

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions