Newline at the end will add <>

Found a bug in "Everything"? report it here
Post Reply
775405984
Posts: 40
Joined: Tue May 30, 2017 5:32 pm

Newline at the end will add <>

Post by 775405984 »

Version 1.5.0.1270a

If you copy a search word with a Newline at the end, then paste it on Everything's search bar, it'll automatically add <> at the beginning and the end. Look:
Snipaste_2021-08-03_00-49-19.png
Snipaste_2021-08-03_00-49-19.png (3.11 KiB) Viewed 13223 times
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: Newline at the end will add <>

Post by void »

I am working on a fix..

Thank you for the bug report.

Ideally, Everything should remove the leading and trailing new lines before adding < and > grouping.

Set paste_new_line_op to 0 for a quick fix.
therube
Posts: 4985
Joined: Thu Sep 03, 2009 6:48 pm

Re: Newline at the end will add <>

Post by therube »

How did this come about?
As in how did you get a filename with an ending Newline as part of the name?
And with that Windows "copy" copied the filename+NL & likewise was then able to paste that into Everything?
775405984
Posts: 40
Joined: Tue May 30, 2017 5:32 pm

Re: Newline at the end will add <>

Post by 775405984 »

therube wrote: Tue Aug 03, 2021 6:22 pm How did this come about?
As in how did you get a filename with an ending Newline as part of the name?
And with that Windows "copy" copied the filename+NL & likewise was then able to paste that into Everything?
I don't drag mouse to select text, that's so inefficient. I triple-click the title, usually website titles, to select the entire text.

This inevitably adds the newline.

It was all good before version 1.5a.
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: Newline at the end will add <>

Post by void »

How did this come about?
paste_new_line_op is now set to 1 by default in a recent 1.5 release.

If you copy multiple lines of text and paste them into the Everything search box the new lines are converted to | and each line is grouped with < and >

For example if you copy the following two lines:
Notepad.exe
Explorer.exe

and paste these in the Everything search box, the search is set to:
<Notepad.exe>|<Explorer.exe>


Set paste_new_line_op to 1 if you would like to play with this new default setting:
  • In Everything, type in the following search and press ENTER:
    /paste_new_line_op=1
  • If successful, paste_new_line_op=1 is shown in the statusbar for a few seconds.
therube
Posts: 4985
Joined: Thu Sep 03, 2009 6:48 pm

Re: Newline at the end will add <>

Post by therube »

/paste_new_line_op=1
Ah, thanks.
Mine was at 0 & that is why I couldn't duplicate it.
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: Newline at the end will add <>

Post by void »

Everything 1.5.0.1271a fixes an issue with pasting multiple lines of text.

Everything 1.5.0.1271a will now ignore empty lines when pasting multiple lines of text.
Post Reply