<?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[How can I unmark any seperated word?]]></title><description><![CDATA[<p dir="auto">When I write any things with notepad++ frequently I mark any word(From menubar [search-mark-tick in selection-click Mark All]),But It is impossible for me to unmark one or two word,It just unmark all word [search-mark-tick in selection-click Clear all mark] which I have marked previously.I really want to know how can I unmark not all word which I have marked, but just one or several word.</p>
<p dir="auto">and I enabled multi editing setting(setting-preferences-Editing-tick Multi Editing Settings).I use ctrl+mouse click in order to highlight any seperated word but It seems that It just highlight only one color and can’t highlight any word with two or three <a href="http://colors.Is" rel="nofollow ugc">colors.Is</a> there any method to display two or three color when I use Multi Editing in notepad++?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/17362/how-can-i-unmark-any-seperated-word</link><generator>RSS for Node</generator><lastBuildDate>Mon, 14 Sep 2026 14:48:24 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/17362.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 26 Mar 2019 03:43:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How can I unmark any seperated word? on Thu, 17 Oct 2024 15:29:56 GMT]]></title><description><![CDATA[<p dir="auto">Similar topic <a href="https://community.notepad-plus-plus.org/topic/26208">HERE</a>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/97151</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/97151</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 17 Oct 2024 15:29:56 GMT</pubDate></item><item><title><![CDATA[Reply to How can I unmark any seperated word? on Fri, 29 Mar 2019 12:52:36 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 agree, I can’t see the benefit too but I hope the OP will clarify why this is a good thing.<br />
:-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41695</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41695</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Fri, 29 Mar 2019 12:52:36 GMT</pubDate></item><item><title><![CDATA[Reply to How can I unmark any seperated word? on Fri, 29 Mar 2019 12:50:31 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> said:</p>
<blockquote>
<p dir="auto">marking the current word and the next 2 occurrences in different color</p>
</blockquote>
<p dir="auto">It <em>can</em> be done, but is there value in that?  Not sure I’m following what the OP’s true end-goal is, and how something like that helps.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41693</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41693</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 29 Mar 2019 12:50:31 GMT</pubDate></item><item><title><![CDATA[Reply to How can I unmark any seperated word? on Fri, 29 Mar 2019 12:48:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sang-heon-baik" aria-label="Profile: sang-heon-baik">@<bdi>sang-heon-baik</bdi></a></p>
<blockquote>
<p dir="auto">It would be impossible that your script Implement the function of my request.</p>
</blockquote>
<p dir="auto">That’s not exactly true.<br />
It is true that Notepad++ does not provide such a function,<br />
but that doesn’t mean that we can’t create it with a python script.<br />
For example, putting the cursor into a word (<strong>no selection</strong>) and running this script<br />
would result in marking the current word and the next 2 occurrences in different color.<br />
Using style1, 2 and 3.</p>
<pre><code>def find():
    current_pos = editor.getCurrentPos()
    start = editor.wordStartPosition(current_pos, True)
    end = editor.wordEndPosition(current_pos, True)
    text = editor.getTextRange(start, end)
    document_end_pos = editor.getTextLength()
    while start:
        yield start, end
        pos = editor.findText(0, end, document_end_pos, text)
        if pos is None:
            break
        start, end = pos
    

_find = find()
number_of_matches = 3
try:
    for i in range(number_of_matches ):
        start, end = next(_find)
        editor.setIndicatorCurrent(21+i)
        editor.indicatorFillRange(start, end-start)
except StopIteration:
    pass
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/41692</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41692</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Fri, 29 Mar 2019 12:48:25 GMT</pubDate></item><item><title><![CDATA[Reply to How can I unmark any seperated word? on Thu, 28 Mar 2019 23:56:47 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><br />
your script is excellent.I am content with your script.</p>
<p dir="auto">With your example of below text, I intend to highlight letter ‘a’ in between “Just” and “sample” in blue color, and to highlight letter ‘a’ in between “of” and “like” in green color.</p>
<p dir="auto">Just a sample text with a couple of a like in apple</p>
<p dir="auto">But  As Alan Kilborn said, Notepad++ won’t support to highlight(mark) seperated word in respectively different <a href="http://color.So" rel="nofollow ugc">color.So</a> It would be impossible that your script Implement the function of my request.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41683</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41683</guid><dc:creator><![CDATA[sang heon baik]]></dc:creator><pubDate>Thu, 28 Mar 2019 23:56:47 GMT</pubDate></item><item><title><![CDATA[Reply to How can I unmark any seperated word? on Thu, 28 Mar 2019 12:21:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sang-heon-baik" aria-label="Profile: sang-heon-baik">@<bdi>sang-heon-baik</bdi></a> said:</p>
<blockquote>
<p dir="auto">I follow your advice(Search &gt; Mark All &gt; Using xxx Style) but it is impossible to highlight selected word in two color. For example, If I selected just letter ‘a’ from below word, It only highlight all of letter ‘a’ in different color. I want to highlight just two or three of letter ‘a’ from below word and it must be different color each to each.</p>
</blockquote>
<p dir="auto">The feature is called “Mark all”. Thus if you highlight a single <code>a</code> and invoke the feature, of course it will do all of the <code>a</code> present.</p>
<p dir="auto">Regarding “two color”, what I meant was, if you first color with, say Style1 and then you color the same thing with Style2, what will result will be a color combination of the colors of Style1 and Style2.</p>
<p dir="auto">Is there still remaining confusion? I think the answer is that you can’t do what you are trying to do.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41675</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41675</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 28 Mar 2019 12:21:04 GMT</pubDate></item><item><title><![CDATA[Reply to How can I unmark any seperated word? on Thu, 28 Mar 2019 12:07:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sang-heon-baik" aria-label="Profile: sang-heon-baik">@<bdi>sang-heon-baik</bdi></a></p>
<blockquote>
<p dir="auto">if there is any mark which is created by Mark All command(Search &gt; Mark All &gt; Using xxx Style),your plugin cannot remove them…</p>
</blockquote>
<p dir="auto">You are correct, would you mind specifying how exactly you  want it to behave?<br />
If you just want to have a single script which clears every possible mark indicator<br />
we could change it like so</p>
<pre><code>INDICATORS = [21, 22, 23, 24, 25, 31]
for i in range(editor.getSelections()):
    start = editor.getSelectionNStart(i)
    end = editor.wordEndPosition(start, True)
    for indicator in INDICATORS:
        editor.setIndicatorCurrent(indicator)
        editor.indicatorClearRange(start, end-start)
</code></pre>
<p dir="auto">but if you want to have a different behavior just let me know.</p>
<blockquote>
<p dir="auto">I want to highlight just two or three of letter ‘a’ from below word and it must be different color each to each</p>
</blockquote>
<p dir="auto">Sorry, but still confused about this.<br />
Let’s assume you have a text like this</p>
<p dir="auto"><code>Just a sample text with a couple of a like in apple</code></p>
<p dir="auto">Now if you select the <code>a</code> in between <code>Just</code> and <code>sample</code>,<br />
you want to have automatically selected<br />
<code>a</code> from <code>sample</code>,<br />
<code>a</code> before <code>couple</code>,<br />
<code>a</code> before <code>like</code><br />
and  <code>a</code> in <code>apple</code><br />
and each of them in different color?<br />
Or something else?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41672</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41672</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Thu, 28 Mar 2019 12:07:08 GMT</pubDate></item><item><title><![CDATA[Reply to How can I unmark any seperated word? on Thu, 28 Mar 2019 11:21:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/meta-chuh" aria-label="Profile: Meta-Chuh">@<bdi>Meta-Chuh</bdi></a><br />
It seemed that I  misunderstand there must be some of veteran user in notepad++ community who have a lot of experience in text editor field So they would already known what text editor is able to highlight seperated word in two or three color.</p>
<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><br />
I follow your advice(Search &gt; Mark All &gt; Using xxx Style) but it is impossible to highlight selected word in two color. For example, If I selected just letter ‘a’ from below word, It only highlight all of letter ‘a’ in different color. I want to highlight just two or three of letter ‘a’ from below word and it must be different color each to each.</p>
<p dir="auto">aaaaaaaaaaaaaaaaaaaaaaaaaa<br />
aaaaaaaaaaaaaaaaaaaa<br />
ssssssssssssss</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a><br />
Thank you very much for your wonderful plugin,It really remove any mark which I selected.But if there is any mark which is created by Mark All command(Search &gt; Mark All &gt; Using xxx Style),your plugin cannot remove them…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41671</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41671</guid><dc:creator><![CDATA[sang heon baik]]></dc:creator><pubDate>Thu, 28 Mar 2019 11:21:27 GMT</pubDate></item><item><title><![CDATA[Reply to How can I unmark any seperated word? on Wed, 27 Mar 2019 12:33:17 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">maybe more accurately, I overcomplicate it from the beginning…</p>
</blockquote>
<p dir="auto">LOL :_D - A good advise which I should have known by yesterday - wink, wink</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41648</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41648</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Wed, 27 Mar 2019 12:33:17 GMT</pubDate></item><item><title><![CDATA[Reply to How can I unmark any seperated word? on Wed, 27 Mar 2019 12:30:31 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">Yea, I often don’t do things because I see the complications right from the beginning.  Or maybe more accurately, <em><strong>I</strong></em> overcomplicate it from the beginning… :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41647</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41647</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 27 Mar 2019 12:30:31 GMT</pubDate></item><item><title><![CDATA[Reply to How can I unmark any seperated word? on Wed, 27 Mar 2019 12:28:58 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">user marks with a regular expression</p>
</blockquote>
<p dir="auto">that what made me holding back at first glance as well but then I thought, at least<br />
a possible workaround even if it doesn’t fit into every possible unmark wish.<br />
Let’s see what OP is thinking about it. :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41646</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41646</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Wed, 27 Mar 2019 12:28:58 GMT</pubDate></item><item><title><![CDATA[Reply to How can I unmark any seperated word? on Wed, 27 Mar 2019 12:25:34 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">I was thinking of a Pythonscript, too, but then I thought what if a user marks with a regular expression…how to  tell the script the regex to unmark.  It gets complicated.  I like yours, unmarking possible only for simple, selectable text…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41644</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41644</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 27 Mar 2019 12:25:34 GMT</pubDate></item><item><title><![CDATA[Reply to How can I unmark any seperated word? on Wed, 27 Mar 2019 12:21:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sang-heon-baik" aria-label="Profile: sang-heon-baik">@<bdi>sang-heon-baik</bdi></a></p>
<p dir="auto">concerning your first request of deleting existing marks resulted from mark dialog,<br />
if you don’t mind to <a href="https://notepad-plus-plus.org/community/topic/17256/guide-how-to-install-the-pythonscript-plugin-on-notepad-7-6-3-7-6-4-and-above" rel="nofollow ugc">install pythonscript</a> plugin you might be able to get around this limitation by using a script like this</p>
<pre><code>FIND_MARK_INDICATOR = 31
for i in range(editor.getSelections()):
    start = editor.getSelectionNStart(i)
    end = editor.wordEndPosition(start, True)
    editor.setIndicatorCurrent(FIND_MARK_INDICATOR)
    editor.indicatorClearRange(start, end-start)
</code></pre>
<p dir="auto">You would either double click the word or select the whole word and run the script<br />
to clear the marks. Works with multiedit setting as well.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41642</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41642</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Wed, 27 Mar 2019 12:21:50 GMT</pubDate></item><item><title><![CDATA[Reply to How can I unmark any seperated word? on Wed, 27 Mar 2019 12:15:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sang-heon-baik" aria-label="Profile: sang-heon-baik">@<bdi>sang-heon-baik</bdi></a> said:</p>
<blockquote>
<p dir="auto">Then,Would you recommend any editor of notepad++ alternative</p>
</blockquote>
<p dir="auto">Nope. :)</p>
<blockquote>
<p dir="auto">can’t highlight any word with two or three colors</p>
</blockquote>
<p dir="auto">Well, you can do this with Search &gt; Mark All &gt; Using xxx Style multiple times, but you can’t partially undo it later (in relation to your first original question).</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41640</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41640</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 27 Mar 2019 12:15:50 GMT</pubDate></item><item><title><![CDATA[Reply to How can I unmark any seperated word? on Wed, 27 Mar 2019 09:50:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sang-heon-baik" aria-label="Profile: sang-heon-baik">@<bdi>sang-heon-baik</bdi></a></p>
<blockquote>
<p dir="auto">Then,Would you recommend any editor of notepad++ alternative which enable me to highlight Non-Contiguous word(seperated word) in two or three colors?</p>
</blockquote>
<p dir="auto">this is a very good and nicely paradoxic question. i like. 👍</p>
<p dir="auto">i suppose that most users at the notepad++ community are mainly notepad++ users, and most people that have found a more suitable editor, will hang around at the community forum of their respective new editor, hence not visiting the notepad++ community.<br />
so even if they know which one would be best, they probably could not answer this question, due to their absence at this platform.</p>
<p dir="auto">so the big question is how can anyone find the most suitable editor for all own personal needs, without trying out all of them ?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41636</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41636</guid><dc:creator><![CDATA[Meta Chuh]]></dc:creator><pubDate>Wed, 27 Mar 2019 09:50:42 GMT</pubDate></item><item><title><![CDATA[Reply to How can I unmark any seperated word? on Wed, 27 Mar 2019 05:55:19 GMT]]></title><description><![CDATA[<p dir="auto">Then,Would you recommend any editor of notepad++ alternative which enable me to highlight Non-Contiguous word(seperated word) in two or three colors?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41630</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41630</guid><dc:creator><![CDATA[sang heon baik]]></dc:creator><pubDate>Wed, 27 Mar 2019 05:55:19 GMT</pubDate></item><item><title><![CDATA[Reply to How can I unmark any seperated word? on Tue, 26 Mar 2019 12:35:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sang-heon-baik" aria-label="Profile: sang-heon-baik">@<bdi>sang-heon-baik</bdi></a></p>
<p dir="auto">Currently there is no way to “unmark” partially.  As you noticed it is an all or nothing clearing of marking.</p>
<p dir="auto">Regarding your second question, I for one am not following what you are asking about.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41592</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41592</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 26 Mar 2019 12:35:14 GMT</pubDate></item></channel></rss>