Skip to content

[bug] "Find in Files": Long Filters Get Truncated #12041

@maddes-b

Description

@maddes-b

Description of the Issue

"Find in Files": When using a long filter, then the list gets truncated and not all patterns are included/excluded.

Steps to Reproduce the Issue

  1. Use "Find in Files" with following filter * !+\.svn !+\.git !*.exe !*.com !*.zip !*.gz !*.7z !*.cab !*.deb !*.pkg !*.bmp !*.jpg !*.jpeg !*.png !*.gif !*.ico !*.crt !*.pub !*.pem !*.key !*.csr !*.pdf !*.docx !*.doc !*.odt !*.xlsx !*.xls !*.ods !*.mdb !*.epub !*.drawio !*.swf !*.jar !*.wmv !*.wav !*.mp4 !*.mp3 !*.iso !*.cso !*.vpk !*.cmbackup !*.bin !+\dvb !+\cache2 (324 chars)
  2. Execute the search

Expected Behavior

The filter is untouched and complete

Actual Behavior

It is cut down to 255chars: * !+\.svn !+\.git !*.exe !*.com !*.zip !*.gz !*.7z !*.cab !*.deb !*.pkg !*.bmp !*.jpg !*.jpeg !*.png !*.gif !*.ico !*.crt !*.pub !*.pem !*.key !*.csr !*.pdf !*.docx !*.doc !*.odt !*.xlsx !*.xls !*.ods !*.mdb !*.epub !*.drawio !*.swf !*.jar !*.wmv !*.wav !
Please increase to 1024 (1k).

Debug Information

Notepad++ v8.4.4 (32-bit)
Build time : Jul 15 2022 - 17:56:38
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Command Line : "D:\Users\private\Documents\Coding\regex.txt"
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 21H2
OS Build : 19044.1889
Current ANSI codepage : 1252
Plugins :
ComparePlugin (2.0.2)
CSVLint (0.4.5.2)
ElasticTabstops (1.3.1)
HexEditor (0.9.12)
JSMinNPP (1.2205)
mimeTools (2.8)
NppConverter (4.4)
NppExport (0.4)
RegexTrainer (1)
XMLTools (3.1.1.13)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions