<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://jsimlo.sk/notepad/manual/wiki/index.php?action=history&amp;feed=atom&amp;title=Search_highlighting</id>
	<title>Search highlighting - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://jsimlo.sk/notepad/manual/wiki/index.php?action=history&amp;feed=atom&amp;title=Search_highlighting"/>
	<link rel="alternate" type="text/html" href="https://jsimlo.sk/notepad/manual/wiki/index.php?title=Search_highlighting&amp;action=history"/>
	<updated>2026-05-31T19:18:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://jsimlo.sk/notepad/manual/wiki/index.php?title=Search_highlighting&amp;diff=6169&amp;oldid=prev</id>
		<title>Jsimlo: Created page with &quot;&lt;noinclude&gt;{{manversion|6.4.1.0|feature}}__NOTOC__&lt;/noinclude&gt; {{#headline:Search menu|Search highlighting}}  The {{field|Search|Highlight all}} option on the {{dialog|Search...&quot;</title>
		<link rel="alternate" type="text/html" href="https://jsimlo.sk/notepad/manual/wiki/index.php?title=Search_highlighting&amp;diff=6169&amp;oldid=prev"/>
		<updated>2026-05-31T15:34:58Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;noinclude&amp;gt;{{manversion|6.4.1.0|feature}}__NOTOC__&amp;lt;/noinclude&amp;gt; {{#headline:Search menu|Search highlighting}}  The {{field|Search|Highlight all}} option on the {{dialog|Search...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;{{manversion|6.4.1.0|feature}}__NOTOC__&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{#headline:Search menu|Search highlighting}}&lt;br /&gt;
&lt;br /&gt;
The {{field|Search|Highlight all}} option on the {{dialog|Search bar}} can be used to automatically get all occurrences of the entered {{field|Search|Find}} pattern highlighted whenever the {{dialog|Search bar}} is open. Note: Closing the dialog erases all highlighting.&lt;br /&gt;
&lt;br /&gt;
Highlighting is updated whenever the search pattern (or any of the related options), incrementally changes, i.e. occurrences are highlighted as the user types the search pattern or changes options like {{field|Search|Match case}}, {{field|Search|Whole words}}, {{field|Search|RegExps}}, etc.&lt;br /&gt;
&lt;br /&gt;
Users can freely modify the document while highlighting is in place. Individual pieces of highlighted text may get unhighlighted when directly modified. Note: Highlighting does not refresh itself automatically even when new potential occurrences are created in the text. Toggle {{field|Search|Match case}} (or another checkbox related to the {{field|Search|Find}} pattern) to refresh the highlighting properly.&lt;br /&gt;
&lt;br /&gt;
Since there are two searches, the {{feature|primary search}} and the {{feature|secondary search}}, there are also two separate highlightings possible, and can be shown at the same time. By toggling {{field|Search|Use 2nd search}}, the user changes the respective highlighting for either the {{feature|primary search}} or the {{feature|secondary search}}. Furthemore, features like {{feature|Find Selected}} and {{feature|Look for Selected}}, or {{feature|Find Later}} and {{feature|Look for Later}}, also update the {{field|Search|Find}} pattern in the {{dialog|Search bar}}, and therefore trigger the respective highlighting refresh.&lt;br /&gt;
&lt;br /&gt;
Highlighting does not move the current selection. Use {{button|Search|Next}} to get the next occurrence selected as usual. Also, patterns only used for highlighting, not actual selection-moving searching, are not remembered. If the user opnes the the {{dialog|Search bar}}, changes the pattern and then closes the dialog without using {{button|Search|Next}} or other &amp;quot;selection-moving searches&amp;quot;, the old search pattern is retained in the {{feature|Config}}. The same principle applies for collecting search history. Highlighting does not perform a regular {{feature|Search}}, it merely searches for all the occurrences.&lt;br /&gt;
&lt;br /&gt;
{{tip}} {{field|Search|Highlight all}} shows &amp;lt;q&amp;gt;Total matches&amp;lt;/q&amp;gt; directly in the {{dialog|Search bar}}. This value only gets updated when the {{dialog|Search bar}} actually runs an incremental search. Editing the document, e.g. removing the highlighted occurrences, does not immediately change the number shown. Toggle {{field|Search|Match case}} (or another checkbox related to the {{field|Search|Find}} pattern) to refresh the number whenever needed.&lt;br /&gt;
&lt;br /&gt;
{{tip}} {{field|Search|Highlight all}} usually runs the incremental search in two phases. The first phase quickly finds as much as it can within a short period of time, to avoid interfering with typing new search patterns. The second phase, running through the rest of the document, is then delayed by a few seconds (and the delay gets even longer with bigger documents, up to 5 seconds in total).&lt;/div&gt;</summary>
		<author><name>Jsimlo</name></author>
	</entry>
</feed>