<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Hi,</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">On fredag 14 januari 2022 23:52:16 EET Alexander Neundorf wrote:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Hi,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> (I know we had similar discussion a few years ago already).</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> I'd like to split the "Search in current file" into a separate plugin/tab.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">This I do not agree with... that would just create more confusion... Would look like we then have 3 search tools ;)</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> For "in current file", less options would be required.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> All the "advanced" options are not necessary, so also the button to toggle</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> between options and results is not necessary, and always the results would</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> be visible.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">(Let's assume we do not split out search in current file then...) True the "advanced/folder" options could be automatically hidden and the toggle advanced/folder button could be disabled.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> The "Search" buttin, the "Use current documents folder" button, the mode</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> combobox, the "Expand results" button, the "add new search tab" button would</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> all not be necessary.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">The search button is a very convenient way to say take the time you need when searching a huge file (in chunks). So I would say we need that.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">The expand results button could also be disabled as we only have one file yes, but the "add tab" button is there for you to add a new search tab that might have different search settings</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> I would suggest that this would always search automatically when the search</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> text is modified, without maximum file size.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> I would also suggest that it searches automatically when switching to a</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> different file, i.e. always the search results for the current search string</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> in the current file would be visible.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">That is an interesting idea, but why not just search in open files and bam you have everything....</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Together with this, I would suggest to remove the "In current file" search</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> mode from the normal "Search and Replace", and also disable the automatic</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> search in the current file when typing. To me, this would actually be better</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> than it is now, since the automatic searching quite often dismissed my</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> search results, while I actually wanted to keep them.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">For me the search as you type is totally essential in all the search modes. I use regular expressions quite heavily and without the immediate feedback that I get with search as you type, for the typed expression, I would have a really hard time forming the correct regex before hitting enter to start the search in folder/project.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">What do you think about having a sub-menu in the search-combo-context-menu with the options to disable "search as you type" in the different search modes? That would be quite easily doable. Another option would be to put those options in a plugin config page... </p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Cheers, </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"> Kåre</p>
<br /></body>
</html>