<?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[Select the same line in both views of cloned document.]]></title><description><![CDATA[<p dir="auto">I cloned a document to a new view so that I can see the beginning and the end of the same line (it is too long to fit on screen). I have vertical scrolling synchronized too.</p>
<p dir="auto">When I move to a different line in either view, I want the blue “highlighted” line in both views to change–this will make it easier to see what line I am on in both views. Right now, only the view that I am interacting with changes. Is this possible?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/18824/select-the-same-line-in-both-views-of-cloned-document</link><generator>RSS for Node</generator><lastBuildDate>Sat, 09 May 2026 13:26:25 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/18824.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Jan 2020 02:09:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Select the same line in both views of cloned document. on Mon, 03 Feb 2020 13:36:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jcg3675" aria-label="Profile: jcg3675">@<bdi>jcg3675</bdi></a><br />
Thank you very much and yes, there is time when a microwave becomes the best invention since sliced bread :-)</p>
<blockquote>
<p dir="auto">Let me know how it goes!</p>
</blockquote>
<p dir="auto">I sure will do.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50279</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50279</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Mon, 03 Feb 2020 13:36:17 GMT</pubDate></item><item><title><![CDATA[Reply to Select the same line in both views of cloned document. on Sat, 01 Feb 2020 18:47:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> Well I am more of a microwave dinner and Ramen noodle kind of guy at the moment, being a college student and all :)</p>
<p dir="auto">But I do have a suggestion–my family makes <a href="https://www.cooks.com/recipe/dy2523um/old-fashioned-lithuanian-cracker-stuffing.html" rel="nofollow ugc">Lithuanian cracker stuffing</a> a couple of times a year for the big holidays. My dad’s side has made it every year since they came to America in the 1910s.</p>
<p dir="auto">The recipe that I linked is pretty accurate, but there are a few modifications:<br />
Replace chopped giblets with diced turkey bacon bits<br />
Replace saltine crackers with milk crackers</p>
<p dir="auto">And that should do it. Let me know how it goes!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50238</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50238</guid><dc:creator><![CDATA[jcg3675]]></dc:creator><pubDate>Sat, 01 Feb 2020 18:47:33 GMT</pubDate></item><item><title><![CDATA[Reply to Select the same line in both views of cloned document. on Sat, 01 Feb 2020 11:12:12 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/jcg3675" aria-label="Profile: jcg3675">@<bdi>jcg3675</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: ekopalypse">@<bdi>ekopalypse</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">So, with some <strong>delay</strong>, I created an issue on <strong>GitHub</strong> :</p>
<p dir="auto"><a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/7910#issue-558522292" rel="nofollow ugc">issue#7910</a></p>
<p dir="auto">Cheers,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50232</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50232</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sat, 01 Feb 2020 11:12:12 GMT</pubDate></item><item><title><![CDATA[Reply to Select the same line in both views of cloned document. on Fri, 31 Jan 2020 14:13:40 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://camo.nodebb.org/207af52dbae6c573d1eef6e467ec7df9c130729e?url=https%3A%2F%2Fi.imgur.com%2FCILUk8I.gif" alt="" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/50212</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50212</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Fri, 31 Jan 2020 14:13:40 GMT</pubDate></item><item><title><![CDATA[Reply to Select the same line in both views of cloned document. on Fri, 31 Jan 2020 14:06:00 GMT]]></title><description><![CDATA[<p dir="auto">I discovered something similar when using the new method <a href="https://www.scintilla.org/ScintillaDoc.html#SCI_MULTIPLESELECTADDNEXT" rel="nofollow ugc">multipleSelectAddNext</a>.</p>
<p dir="auto">If I use your test and having in the top view only two occurrences of the word ABCDE visible, placing the caret within the first visible word ABCDE and I run editor.multipleSelectAddNext(), it only selects the two visible lines.</p>
<p dir="auto">The documentation states, that it does that for the current target. Now it might be, that either scintilla or npp set the visible lines as the current target automatically, or that this is a bug. Needs to be checked.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50210</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50210</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Fri, 31 Jan 2020 14:06:00 GMT</pubDate></item><item><title><![CDATA[Reply to Select the same line in both views of cloned document. on Fri, 31 Jan 2020 13:03:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a> said in <a href="/post/50205">Select the same line in both views of cloned document.</a>:</p>
<blockquote>
<p dir="auto">this minor bug</p>
</blockquote>
<p dir="auto">Should you also do <a href="https://community.notepad-plus-plus.org/topic/15741/faq-desk-feature-request-or-bug-report">THIS</a> with it?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50207</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50207</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 31 Jan 2020 13:03:14 GMT</pubDate></item><item><title><![CDATA[Reply to Select the same line in both views of cloned document. on Fri, 31 Jan 2020 13:24:49 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/jcg3675" aria-label="Profile: jcg3675">@<bdi>jcg3675</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: ekopalypse">@<bdi>ekopalypse</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">I found out a <strong>weird</strong> but <strong>minor</strong> bug related to the <strong>Smart Highlighting</strong> when a file is <strong>cloned</strong> in the <strong>secondary</strong> view. Of course, <strong><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: ekopalypse">@<bdi>ekopalypse</bdi></a></strong>, this post does <strong>not</strong> refer to your <strong>python</strong> script at all, ( script that I have <strong>not</strong> tested it yet, BTW ! )</p>
<hr />
<p dir="auto">To begin with, some <strong>hypotheses</strong> :</p>
<ul>
<li>
<p dir="auto">N++ version : <strong><code>v7.8.3</code></strong></p>
</li>
<li>
<p dir="auto"><strong>No extra</strong> plugin installed, just the <strong><code>3</code></strong> <strong>default</strong> ones</p>
</li>
<li>
<p dir="auto">Options ticked in <strong><code>Preferences... &gt; Highlighting &gt; Smart Highlighting</code></strong> : <strong><code>Enable</code></strong>, <strong><code>Match whole word only</code></strong> and <strong><code>Highlight another view</code></strong>. <strong>All</strong> the other options <strong>un-ticked</strong></p>
</li>
<li>
<p dir="auto">Disable the <strong>multi-line</strong> tabs feature by <strong>un</strong>-ticking the option <strong><code>Preferences... &gt; General &gt; Tab Bar &gt; Multi-line</code></strong> =&gt; <strong><code>1</code></strong> <strong>row</strong> of tabs, only !</p>
</li>
<li>
<p dir="auto">The <strong>Horizontal</strong> splitter between <strong>primary</strong> and <strong>secondary</strong> is selected. If not, simply <strong>right</strong>-click on the <strong>splitter</strong> and choose the  <strong><code>Rotate to left</code></strong> option</p>
</li>
<li>
<p dir="auto"><strong>Default</strong> zoom is used, both, in <strong>primary</strong> and <strong>secondary</strong> view ( <strong><code>Ctrl + Numpad /</code></strong> )</p>
</li>
<li>
<p dir="auto">No <strong>horizontal</strong> nor <strong>vertical</strong> synchronization of the <strong>two</strong> views. So, <strong>un</strong>-tick the options <strong><code>View &gt; Synchronize Vertical Scrolling </code></strong> and <strong><code>View &gt; Synchronize Horizontal Scrolling</code></strong></p>
</li>
<li>
<p dir="auto">For readability, <strong>enable</strong> the <strong>line numbers</strong> column, in <strong><code>Preferences... &gt; Editing &gt; Display line number</code></strong></p>
</li>
</ul>
<hr />
<p dir="auto">Now :</p>
<ul>
<li>
<p dir="auto">Open a <strong>new</strong> tab</p>
</li>
<li>
<p dir="auto">Hit the <strong><code>Enter</code></strong> key to create <strong><code>20</code></strong> <strong>empty</strong> lines</p>
</li>
<li>
<p dir="auto">Then , append <strong><code>10</code></strong> lines containing the string <strong><code>ABCDE</code></strong> ( so, from lines <strong><code>21</code></strong> to <strong><code>30</code></strong> )</p>
</li>
<li>
<p dir="auto">End with <strong><code>2</code></strong> <strong>empty</strong> lines ( lines <strong><code>31</code></strong> and <strong><code>32</code></strong> )</p>
</li>
<li>
<p dir="auto">Save it as <strong><code>Test.txt</code></strong></p>
</li>
<li>
<p dir="auto">Select the option <strong><code>View &gt; Move/Clone Current Document &gt; Clone to Other View</code></strong> =&gt; The <strong>cloned</strong> document <strong><code>Test.txt</code></strong> is located at <strong>bottom</strong> of screen</p>
</li>
<li>
<p dir="auto">Move line <strong><code>16</code></strong> as the <strong>first</strong> line in the <strong>secondary</strong> view</p>
</li>
<li>
<p dir="auto">Now, select the <strong>original</strong> <strong><code>Test.txt</code></strong> tab, on <strong>top</strong> of screen</p>
</li>
<li>
<p dir="auto">In the same way, move line <strong><code>16</code></strong> as the <strong>first</strong> line of the <strong>primary</strong> view</p>
</li>
<li>
<p dir="auto"><strong>Double</strong>-click on line <strong><code>23</code></strong> of the <strong>primary</strong> view =&gt; The <strong>ten</strong> lines <strong><code>ABCDE</code></strong>, in <strong>each</strong> view, are <strong>highlighted</strong>, as <strong>expected</strong></p>
</li>
<li>
<p dir="auto">Then, while keeping the mouse pointer <strong>over</strong> the <strong>primary</strong> view, scroll <strong>down</strong> , with the mouse <strong>wheel</strong> ( or with the <strong>vertical</strong> bar ) , until <strong>no</strong> text is present =&gt; Only the <strong>visible</strong> line(s) of the <strong>primary</strong> view is/are <strong>highlighted</strong> in the <strong>secondary</strong> view !</p>
</li>
<li>
<p dir="auto">Now, scroll <strong>up</strong>, with the mouse <strong>wheel</strong>, until <strong>no</strong> text is present =&gt; In the same way, only the <strong>visible</strong> line(s) of the <strong>primary</strong> view is/are <strong>highlighted</strong> in the <strong>secondary</strong> view !</p>
</li>
</ul>
<hr />
<p dir="auto"><strong>Remarks</strong> :</p>
<ul>
<li>
<p dir="auto">If, without changing the <strong>active top</strong> tab ( <strong>primary</strong> view ), we place the mouse pointer over the <strong>secondary</strong> view and scroll <strong>up/down</strong>, with the mouse <strong>wheel</strong>, nothing is changed in the <strong>primary</strong> view and the <strong>ten</strong> lines are always <strong>highlighted</strong></p>
</li>
<li>
<p dir="auto">If we <strong>stop</strong> and <strong>re-start</strong> Notepad++ with the <strong><code>Test.txt</code></strong> displayed in <strong>each</strong> view, this minor bug <strong>still</strong> occurs</p>
</li>
<li>
<p dir="auto">I also noticed this behaviour, with the <strong>old</strong> N++ <strong><code>7.2</code></strong> version, which was the <strong>first</strong> release which included the <strong><code>Highlight another view</code></strong> option, regarding the <strong>Smart Highlighting</strong> feature !</p>
</li>
<li>
<p dir="auto">Although <strong>not</strong> tested, I suppose that the <strong>recent</strong> <strong><code>v7.8.4</code></strong> version does produce the same <strong>bug</strong></p>
</li>
</ul>
<hr />
<p dir="auto"><strong>Important</strong> :</p>
<ul>
<li>
<p dir="auto">Instead of <strong>cloning</strong> the file <strong><code>Test.txt</code></strong>, in the <strong>secondary</strong> view, let’s create a <strong>copy</strong> of the file <strong><code>Test.txt</code></strong>, named <strong><code>Copy.txt</code></strong></p>
</li>
<li>
<p dir="auto">Open this <strong>new</strong> file, in the <strong>secondary</strong> view, with the option <strong><code>View &gt; Move/Clone Current Document &gt; Move to Other View</code></strong></p>
</li>
<li>
<p dir="auto">This time, if we repeat the <strong>above</strong> steps, whatever the <strong>visible</strong> lines <strong><code>ABCDE</code></strong>, in the <strong>primary</strong> view, obtained by <strong>scrolling</strong> text up or down, the <strong>ten</strong> lines <strong><code>ABCDE</code></strong> of the identical file <strong><code>Copy.txt</code></strong> are always <strong>highlighted</strong>, in the <strong>secondary</strong> view, as expected !</p>
</li>
</ul>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50205</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50205</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Fri, 31 Jan 2020 13:24:49 GMT</pubDate></item><item><title><![CDATA[Reply to Select the same line in both views of cloned document. on Thu, 30 Jan 2020 15:34:41 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>, sorry <a class="plugin-mentions-user plugin-mentions-a" href="/user/jcg3675" aria-label="Profile: jcg3675">@<bdi>jcg3675</bdi></a>  is right, it is the value for <a href="https://www.scintilla.org/ScintillaDoc.html#SCN_UPDATEUI" rel="nofollow ugc">horizontal scroll changes</a>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50169</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50169</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Thu, 30 Jan 2020 15:34:41 GMT</pubDate></item><item><title><![CDATA[Reply to Select the same line in both views of cloned document. on Thu, 30 Jan 2020 15:34:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a></p>
<p dir="auto">or maybe the OP already explained the 8.</p>
<p dir="auto">I found that with the script as written, the sync-up won’t happen until one of the cloned-doc views is adjusted horizontally, e.g. the horizontal scroll bar is moved.  This is OK to me.  I will keep this script close at hand for future need.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50168</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50168</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 30 Jan 2020 15:34:40 GMT</pubDate></item><item><title><![CDATA[Reply to Select the same line in both views of cloned document. on Thu, 30 Jan 2020 15:22:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a></p>
<p dir="auto">You didn’t elaborate on the magic number of “8”…would have been appreciated.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50167</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50167</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 30 Jan 2020 15:22:56 GMT</pubDate></item><item><title><![CDATA[Reply to Select the same line in both views of cloned document. on Thu, 30 Jan 2020 14:05:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jcg3675" aria-label="Profile: jcg3675">@<bdi>jcg3675</bdi></a></p>
<p dir="auto">No problem and good to see you already improved it for yourself.</p>
<blockquote>
<p dir="auto">If I can repay the favor somehow just let me know.</p>
</blockquote>
<p dir="auto">No joke, if you would like to share your favorite recipe with me,<br />
I would appreciate.<br />
Cooking/grilling/baking is another hobby I like to do. :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50165</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50165</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Thu, 30 Jan 2020 14:05:30 GMT</pubDate></item><item><title><![CDATA[Reply to Select the same line in both views of cloned document. on Thu, 30 Jan 2020 05:33:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> Good call on the forked version–it does not support python scripts,  I switched to the official download.  I also removed “<strong>and args[‘updated’] == 0x8</strong>” from the “<strong>on_updatedui()</strong>” function. It seems like an arg value of 0x8 means horizontal scrolling has changed.</p>
<p dir="auto">Thank you for your hard work! This will make readability so much easier. If I can repay the favor somehow just let me know.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50161</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50161</guid><dc:creator><![CDATA[jcg3675]]></dc:creator><pubDate>Thu, 30 Jan 2020 05:33:03 GMT</pubDate></item><item><title><![CDATA[Reply to Select the same line in both views of cloned document. on Wed, 29 Jan 2020 22:38:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jcg3675" aria-label="Profile: jcg3675">@<bdi>jcg3675</bdi></a></p>
<p dir="auto">I guess this script should do it.</p>
<pre><code>from Npp import notepad, editor, editor1, editor2, SCINTILLANOTIFICATION, NOTIFICATION

class VIEW_MONITOR:

    def __init__(self):
        self.monitor = {0: None, 1: None}
        self.enabled = False
        notepad.callback(self.on_bufferactivated, [NOTIFICATION.BUFFERACTIVATED])
        editor.callbackSync(self.on_updateui, [SCINTILLANOTIFICATION.UPDATEUI])


    def on_bufferactivated(self, args):
        self.monitor[notepad.getCurrentView()] = args['bufferID']
        self.enabled = self.monitor[0] == self.monitor[1]


    def on_updateui(self, args):
        if self.enabled and args['updated'] == 0x8:
            e1_current_line = editor1.lineFromPosition(editor1.getCurrentPos())
            e2_current_line = editor2.lineFromPosition(editor2.getCurrentPos())
            if e1_current_line != e2_current_line:
                if notepad.getCurrentView():
                    editor1.gotoLine(e2_current_line)
                else:
                    editor2.gotoLine(e1_current_line)

mon = VIEW_MONITOR()
</code></pre>
<p dir="auto">Assuming that your forked version allows installing pythonscript<br />
plugin, create a new script via pythonscript plugin menu, name it<br />
<a href="http://startup.py" rel="nofollow ugc">startup.py</a> and paste the content of the script into it. Save it, close it.<br />
Via pythonscript menu <strong>Configuration…</strong> set <strong>Initialisation</strong> from<br />
<em>LAZY</em> to <strong>ATSTARTUP</strong>. Done. Restart npp.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50157</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50157</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Wed, 29 Jan 2020 22:38:36 GMT</pubDate></item><item><title><![CDATA[Reply to Select the same line in both views of cloned document. on Wed, 29 Jan 2020 19:22:38 GMT]]></title><description><![CDATA[<p dir="auto">Alright I see the difference now. The first time I did not try the highlighting with different docs, I only tried on a cloned doc, which you are correct–it makes no difference in that scenario. Good to know!</p>
<p dir="auto">It would be cool if you could get pythonscript to do something, but don’t die on this hill! It’s not worth it</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50152</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50152</guid><dc:creator><![CDATA[jcg3675]]></dc:creator><pubDate>Wed, 29 Jan 2020 19:22:38 GMT</pubDate></item><item><title><![CDATA[Reply to Select the same line in both views of cloned document. on Wed, 29 Jan 2020 10:08:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jcg3675" aria-label="Profile: jcg3675">@<bdi>jcg3675</bdi></a></p>
<blockquote>
<p dir="auto">I am not sure if that was clear in my question.</p>
</blockquote>
<p dir="auto">It was but unfortunately it wasn’t made clear by me.<br />
No, currently, as far as I know, there is no synchronous highlighting<br />
of the current caret line.<br />
But there is word highlighting like in this picture</p>
<p dir="auto"><img src="/assets/uploads/files/1580292142056-0f038b1b-3047-4a00-a290-f9e38d11f711-image.png" alt="0f038b1b-3047-4a00-a290-f9e38d11f711-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">BUT what I learnt today is, that for cloned documents it is not<br />
needed to have <strong>Highlight another view</strong> is activated and if you<br />
close npp and relaunch it, then the <strong>cloned</strong> document isn’t really<br />
a cloned doc anymore.<br />
As this setting is not active, it must be handled by the scintilla control, I <strong>guess</strong>.<br />
But nevertheless, npp <strong>could</strong>, I <strong>guess</strong> make enhancements to<br />
synchronize this. Let me try to see if I can make this work using pythonscript. Will come back on it.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50147</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50147</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Wed, 29 Jan 2020 10:08:54 GMT</pubDate></item><item><title><![CDATA[Reply to Select the same line in both views of cloned document. on Tue, 28 Jan 2020 18:14:03 GMT]]></title><description><![CDATA[<p dir="auto">I tried out your suggestion, just to see what would happen. I did see any differences–I should note I am using a forked version of NotePad++, maybe it is broken. Thank you for your suggestion.</p>
<p dir="auto">Also, I should clarify. When I say highlight, I mean the light blue of a selected line, in the image below. The issue is that the selected line differs between the two views, but they should be binded together so if one changes the other changes too. I am not sure if that was clear in my question.</p>
<p dir="auto"><img src="/assets/uploads/files/1580234759794-00a39cc3-1e13-478b-b10b-b1ddf943035c.png-resized.jpg" alt="{00A39CC3-1E13-478B-B10B-B1DDF943035C}.png.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/50137</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50137</guid><dc:creator><![CDATA[jcg3675]]></dc:creator><pubDate>Tue, 28 Jan 2020 18:14:03 GMT</pubDate></item><item><title><![CDATA[Reply to Select the same line in both views of cloned document. on Tue, 28 Jan 2020 13:20:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jcg3675" aria-label="Profile: jcg3675">@<bdi>jcg3675</bdi></a></p>
<p dir="auto">afaik you only can highlight words but not the entire line.<br />
If a highlighted word is enough, make sure you have set<br />
<em><strong>Settings-&gt;Preferences-&gt;Highlighting-&gt;Highlight another view</strong></em></p>
]]></description><link>https://community.notepad-plus-plus.org/post/50124</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50124</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Tue, 28 Jan 2020 13:20:41 GMT</pubDate></item></channel></rss>