Skip to content

[Feature request] Allow pasting of multiline data into Find What and Replace With input boxes #16952

@alankilborn

Description

@alankilborn

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

This Community posting discusses data that is pasted into Find what and Replace with is truncated at the first CR character, making multiline input more difficult than need be. This is a feature request to change that.

Describe the solution you'd like.

Data that contains a CR (carriage return) should not terminate the pasted data at that point.

Example:

Consider ab\r\ncd in the clipboard as a precondition.

Current behavior when paste attempted into Find what or Replace with: ab

Desired behavior: ab\r\ncd (note that this would appear to look to the user like this after pasting: abcd, but the CR and LF would be there)

Debug Information

Notepad++ v8.8.5   (64-bit)
Build time: Aug 14 2025 - 00:32:39
Scintilla/Lexilla included: 5.5.7/5.4.5
Boost Regex included: 1_85
Path: C:\NotepadPlusPlus\Misc\_NoBackup\Releases\npp.8.8.5\npp.8.8.5.portable.x64\notepad++.exe
Command Line: -titleAdd="8.8.5 64-bit" -multiInst
Admin mode: OFF
Local Conf mode: ON
Cloud Config: OFF
Periodic Backup: ON
Placeholders: OFF
Scintilla Rendering Mode: SC_TECHNOLOGY_DIRECTWRITE (1)
Multi-instance Mode: monoInst
asNotepad: OFF
File Status Auto-Detection: cdEnabledNew (for current file/tab only)
Dark Mode: OFF
Display Info:
    primary monitor: 1920x1080, scaling 100%
    visible monitors count: 4
    installed Display Class adapters: 
        0000: Description - VMware SVGA 3D
        0000: DriverVersion - 9.17.4.2
OS Name: Windows 11 Pro (64-bit)
OS Version: 24H2
OS Build: 26100.4946
Current ANSI codepage: 1252
Plugins: 
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)
    PythonScript (3.0.23)

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