Skip to content

Select and find next/previous uses search mode #3229

@Dream-Painter

Description

@Dream-Painter

Description of the Issue

When selecting text and pressing [Shift]+[F3], or selecting "Select and find next" from the search menu will select the next instance of the selected text. But if, for instance, the selected text contains regex characters and the search mode is set to "Regular expression", then it will use the selected text as regex search string, instead of searching for the literal selected text

Steps to Reproduce the Issue

  1. use this as text (example):
P[1]
P1
P[1]
  1. select the first line "P[1]" and do select and find next
  2. if the search mode is set to Normal, the 3rd line will be selected next, if the search mode is set to regular expression, the 2nd line will be selected next.

Expected Behavior

I don't know if people use the select and find next with regular expressions, but I expect to only use the normal search mode with this. so would it be possible to have the search mode during "select and find next" either hard coded to "Normal" or have a setting for this?

Since the search mode is not visible during use of "select and find next", this makes it somewhat irritating when it is still set to anything other than Normal.

Debug Information

Notepad++ v7.3.3 (32-bit)
Build time : Mar 8 2017 - 03:37:37
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Admin mode : ON
Local Conf mode : OFF
OS : Windows 7 (64-bit)
Plugins : ComparePlugin.dll NotepadStarterPlugin.dll NppConverter.dll NppExport.dll OpenSelection.dll PluginManager.dll Python Indent.dll regrexplace.dll ReloadButton.dll XMLTools.dll

Metadata

Metadata

Assignees

No one assigned

    Labels

    verifiedIssues verified to be valid and reproducible, PRs that have been tested thoroughly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions