<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Good way to visualize replacement?]]></title><description><![CDATA[<p dir="auto">Is there a good way to visualize a replacement operation, like a replace all?  I know I can UNDO a replacement if I don’t like it, but after a replacement operation, and especially when regular expressions are involved, it would be nice to see what changed.  Ideas?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/14556/good-way-to-visualize-replacement</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Jul 2026 13:24:06 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/14556.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 01 Oct 2017 18:33:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Good way to visualize replacement? on Wed, 04 Oct 2017 12:54:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a></p>
<blockquote>
<p dir="auto">leaves some colors in my documents (even documents that weren’t involved in the compare! Yuck!)</p>
</blockquote>
<p dir="auto">Maybe the <em>Compare</em> plugin is using some “indicators” that you are using in some other way–so that there’s a conflict?  Check other plugins, maybe, for overlap?</p>
<p dir="auto">It seems like it would be fairly easy to write a Pythonscript to mimic the <em>Compare</em> plugin’s <em>Diff since last save</em> functionality, using <em>Beyond Compare</em> instead, something like this as the last lines of a script:</p>
<pre><code>with open(unsaved_changes_file_path, 'w') as f: f.write(editor.getText())
subprocess.Popen([ beyond_compare_prog_path, unsaved_changes_file_path, notepad.getCurrentFilename() ])
</code></pre>
<p dir="auto">I think I remember that you are familiar with Pythonscript so I’ll leave completing the whole to you…</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mapje71" aria-label="Profile: MAPJe71">@<bdi>MAPJe71</bdi></a> , I think the original request takes it to a level beyond what “change markers” can provide.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/27167</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/27167</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Wed, 04 Oct 2017 12:54:39 GMT</pubDate></item><item><title><![CDATA[Reply to Good way to visualize replacement? on Tue, 03 Oct 2017 17:09:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/scott-sumner" aria-label="Profile: Scott-Sumner">@<bdi>Scott-Sumner</bdi></a></p>
<p dir="auto">Well the basic idea is interesting but I’ve never liked the compare plugin…it changes my filenames around and even when I close a comparison it leaves some colors in my documents (even documents that weren’t involved in the compare!  Yuck!).  I use Beyond Compare for all of my file comparison needs.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/27127</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/27127</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 03 Oct 2017 17:09:35 GMT</pubDate></item><item><title><![CDATA[Reply to Good way to visualize replacement? on Tue, 03 Oct 2017 14:20:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a></p>
<p dir="auto">How about this workflow?:</p>
<ul>
<li>Save your file</li>
<li>Do your <strong>Replace All</strong> operation</li>
<li>Use the <em><strong>Compare</strong></em> plugin and execute a <strong>Diff since last Save</strong> operation</li>
<li>Move thru the differences using the <em><strong>Compare</strong></em> plugin’s navigation keys</li>
<li>If you decide you like the results of the <strong>Replace All</strong>, close the compare, keep going with your work; If not, still close the compare but then invoke <strong>Undo</strong> on your document…</li>
</ul>
]]></description><link>https://community.notepad-plus-plus.org/post/27116</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/27116</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Tue, 03 Oct 2017 14:20:01 GMT</pubDate></item><item><title><![CDATA[Reply to Good way to visualize replacement? on Mon, 02 Oct 2017 15:08:24 GMT]]></title><description><![CDATA[<p dir="auto">There’s the Change Markers plugin (which requires the SciMarkerSymbol and Plugin Marker Margin plugins).</p>
]]></description><link>https://community.notepad-plus-plus.org/post/27104</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/27104</guid><dc:creator><![CDATA[MAPJe71]]></dc:creator><pubDate>Mon, 02 Oct 2017 15:08:24 GMT</pubDate></item><item><title><![CDATA[Reply to Good way to visualize replacement? on Mon, 02 Oct 2017 14:18:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a></p>
<p dir="auto">I would love to see this as a new feature too, especially when doing replace all.<br />
Afaik, at the moment it isn’t possible to do it with builtin features.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/27100</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/27100</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Mon, 02 Oct 2017 14:18:14 GMT</pubDate></item></channel></rss>