<?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 to highlight the underlined squiggle words]]></title><description><![CDATA[<p dir="auto">I have installed the Dspelling Check and it successfully figures out the misspelling words by squiggle underline.<br />
However i want it highlighted with color so that i can copy it out.<br />
Is there anyway to highlight it ?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/19139/how-to-highlight-the-underlined-squiggle-words</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 21:08:34 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/19139.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 31 Mar 2020 10:00:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to highlight the underlined squiggle words on Thu, 23 Apr 2020 13:48:54 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">…any custom words they had before would be lost.</p>
</blockquote>
<p dir="auto">If the <code>.usr</code> file is in text format (don’t know, don’t use the spell-check plugin), perhaps the <em>Compare</em> plugin or a script to perform an automatic merge is called for.  Just sayin.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/53006</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/53006</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 23 Apr 2020 13:48:54 GMT</pubDate></item><item><title><![CDATA[Reply to How to highlight the underlined squiggle words on Thu, 23 Apr 2020 13:46:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mia-nguyen" aria-label="Profile: Mia-Nguyen">@<bdi>Mia-Nguyen</bdi></a> said in <a href="/post/52994">How to highlight the underlined squiggle words</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> If i send them my .usr file. Can they use directly or have to do anything to merge?</p>
</blockquote>
<p dir="auto">If they didn’t have any custom words yet, or if you can guarantee that your <code>.usr</code> file has every custom word they’ve already added, then they can just use your file directly.  But if they save your <code>.usr</code> file overtop of their old one, then any custom words they had before would be lost.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/53005</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/53005</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 23 Apr 2020 13:46:56 GMT</pubDate></item><item><title><![CDATA[Reply to How to highlight the underlined squiggle words on Thu, 23 Apr 2020 08:08:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> If i send them my .usr file. Can they use directly or have to do anything to merge?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52994</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52994</guid><dc:creator><![CDATA[Mia Nguyen]]></dc:creator><pubDate>Thu, 23 Apr 2020 08:08:25 GMT</pubDate></item><item><title><![CDATA[Reply to How to highlight the underlined squiggle words on Wed, 22 Apr 2020 12:46:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mia-nguyen" aria-label="Profile: Mia-Nguyen">@<bdi>Mia-Nguyen</bdi></a> said in <a href="/post/52949">How to highlight the underlined squiggle words</a>:</p>
<blockquote>
<p dir="auto">Hi @all ,<br />
Is there anyway after all i extract the plug in and gave it for other people so they can use on their own Npp ?</p>
</blockquote>
<p dir="auto">Assuming your language is US-English, it puts it into <code>%AppData%\Notepad++\Plugins\Config\Hunspell\en_US.usr</code> … thus, I would assume that it goes into that same folder, but with the appropriate language code (for whatever spelling language you have selected) as the file basename, with <code>.usr</code> as the extension.   So you could distribute that file, which the other users can then merge with their dictionary (assuming they’ve also added words).</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52957</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52957</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 22 Apr 2020 12:46:41 GMT</pubDate></item><item><title><![CDATA[Reply to How to highlight the underlined squiggle words on Wed, 22 Apr 2020 03:43:18 GMT]]></title><description><![CDATA[<p dir="auto">Hi @all ,<br />
Me again another doubt. If the word is correct should be legitimate and I right clicked to add into Dictionary, it will be added into my own Npp only.<br />
Is there anyway after all i extract the plug in and gave it for other people so they can use on their own Npp ?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52949</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52949</guid><dc:creator><![CDATA[Mia Nguyen]]></dc:creator><pubDate>Wed, 22 Apr 2020 03:43:18 GMT</pubDate></item><item><title><![CDATA[Reply to How to highlight the underlined squiggle words on Thu, 02 Apr 2020 14:39:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/michael-vincent" aria-label="Profile: Michael-Vincent">@<bdi>Michael-Vincent</bdi></a> said in <a href="/post/52020">How to highlight the underlined squiggle words</a>:</p>
<blockquote>
<p dir="auto">Becoming more convinced this is a DSpellCheck optimization</p>
</blockquote>
<p dir="auto">I guess you are correct, as to <a href="https://github.com/Predelnik/DSpellCheck/blob/d3d0d167bd059c28c8fa9ccc1e3be11cd6225e9c/src/SpellChecker.cpp#L456" rel="nofollow ugc">this</a> it checks only the visible area.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52031</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52031</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Thu, 02 Apr 2020 14:39:22 GMT</pubDate></item><item><title><![CDATA[Reply to How to highlight the underlined squiggle words on Thu, 02 Apr 2020 13:26:12 GMT]]></title><description><![CDATA[<p dir="auto">I guess for a plugin like DSpellCheck it makes sense to do its work<br />
only for the current screen but on the other side it might be possible<br />
to do it in the background as well - but threading and scintilla and npp …<br />
maybe an async method would be safer.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52028</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52028</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Thu, 02 Apr 2020 13:26:12 GMT</pubDate></item><item><title><![CDATA[Reply to How to highlight the underlined squiggle words on Thu, 02 Apr 2020 13:15:05 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 in <a href="/post/52022">How to highlight the underlined squiggle words</a>:</p>
<blockquote>
<p dir="auto">Sorry for the noise.</p>
</blockquote>
<p dir="auto">No noise at all!  In fact you pretty much confirmed it’s a DSpellCheck optimization .  I was going to get around to writing a script to add indicators but didn’t know the Find =&gt; Mark could do that.  Using the same long file I’ve been testing on, I Find =&gt; Mark a word I know recurs over 100 times throughout the file and all my scripts (2 previous and the one I converted from your Python example) found more than just those indicators on screen in view.</p>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52025</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52025</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Thu, 02 Apr 2020 13:15:05 GMT</pubDate></item><item><title><![CDATA[Reply to How to highlight the underlined squiggle words on Thu, 02 Apr 2020 12:55:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/michael-vincent" aria-label="Profile: Michael-Vincent">@<bdi>Michael-Vincent</bdi></a></p>
<p dir="auto">hmm, did the test using the mark indicator from find dialog,<br />
which worked, maybe I should have used/installed dspell plugin.<br />
Sorry for the noise.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52022</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52022</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Thu, 02 Apr 2020 12:55:58 GMT</pubDate></item><item><title><![CDATA[Reply to How to highlight the underlined squiggle words on Thu, 02 Apr 2020 12:48:07 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 in <a href="/post/52014">How to highlight the underlined squiggle words</a>:</p>
<blockquote>
<p dir="auto">logic below works</p>
</blockquote>
<p dir="auto">Thanks.  Converted to PerlScript:</p>
<pre><code>#!perl

use strict;
use warnings;

use Win32::Mechanize::NotepadPlusPlus ':main';
my $npp = notepad();

my $indicator = 19;
my $length    = editor-&gt;getLength();
my $start     = editor-&gt;indicatorStart( $indicator, -1 );
my $end       = editor-&gt;indicatorEnd( $indicator, -1 );

my $real_start;

if ( editor-&gt;indicatorValueAt( $indicator, $start ) ) {
    $real_start = $start;
} else {
    $real_start = $end;
}

print "$start, $end, $length, $real_start\n";

my $i = 100;
while ( $real_start != $length ) {
    $i -= 1;
    if ( $i == 0 ) {
        print "ahhh endless loop - breaking\n";
        last;
    }
    $end = editor-&gt;indicatorEnd( $indicator, $real_start );
    print editor-&gt;getTextRange( $real_start, $end ); 
    print "\n";
    $real_start = editor-&gt;indicatorEnd( $indicator, $end );
}
</code></pre>
<p dir="auto">It “works” but same issue, only finding the squigglies on screen.  If I scroll down to some new squigglies, it only finds those on screen again (i.e., not the previous ones that were on screen but are no longer).  Becoming more convinced this is a DSpellCheck optimization - only squiggly-ing the misspellings on screen.</p>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52020</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52020</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Thu, 02 Apr 2020 12:48:07 GMT</pubDate></item><item><title><![CDATA[Reply to How to highlight the underlined squiggle words on Thu, 02 Apr 2020 11:31:44 GMT]]></title><description><![CDATA[<p dir="auto">Maybe it is a good idea to check if <em>start != end</em> before executing<br />
the <em>while</em> loop to see if there has been an indicator found at all<br />
and to prevent endless loops. :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52016</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52016</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Thu, 02 Apr 2020 11:31:44 GMT</pubDate></item><item><title><![CDATA[Reply to How to highlight the underlined squiggle words on Thu, 02 Apr 2020 11:15:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/michael-vincent" aria-label="Profile: Michael-Vincent">@<bdi>Michael-Vincent</bdi></a></p>
<p dir="auto">I did a quick test and it seems that logic below works</p>
<pre><code>INDICATOR_TO_SEARCH = 31
length = editor.getLength()
start = editor.indicatorStart(INDICATOR_TO_SEARCH, -1)
end = editor.indicatorEnd(INDICATOR_TO_SEARCH, -1)

real_start = start if editor.indicatorValueAt(INDICATOR_TO_SEARCH, start) else end
print(start, end, length, real_start)

i = 100
while real_start != length:
    i -= 1
    if i == 0:
        print('ahhh endless loop - breaking')
        break
    end = editor.indicatorEnd(INDICATOR_TO_SEARCH, real_start)
    print(editor.getTextRange(real_start, end))
    print()
    real_start = editor.indicatorEnd(INDICATOR_TO_SEARCH, end)
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/52014</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52014</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Thu, 02 Apr 2020 11:15:19 GMT</pubDate></item><item><title><![CDATA[Reply to How to highlight the underlined squiggle words on Thu, 02 Apr 2020 09:44:52 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/mia-nguyen" aria-label="Profile: mia-nguyen">@<bdi>mia-nguyen</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: peterjones">@<bdi>peterjones</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</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/michael-vincent" aria-label="Profile: michael-vincent">@<bdi>michael-vincent</bdi></a> and <strong>All</strong>,</p>
<p dir="auto"><strong>Two</strong> months ago, I asked <strong>Sergey Smushin</strong> ( aka <strong><a class="plugin-mentions-user plugin-mentions-a" href="/user/predelnik" aria-label="Profile: Predelnik">@<bdi>Predelnik</bdi></a></strong> ), the <strong><code>DSpellCheck</code></strong>’s author, for the following <strong>request</strong> :</p>
<p dir="auto"><a href="https://github.com/Predelnik/DSpellCheck/issues/201" rel="nofollow ugc">https://github.com/Predelnik/DSpellCheck/issues/201</a></p>
<p dir="auto">I saw that a <strong>commit</strong>, referencing that issue, has been added :</p>
<p dir="auto"><a href="https://github.com/Predelnik/DSpellCheck/commit/9b5e740ce4440669d6daf29ca98d77edd99d466c" rel="nofollow ugc">https://github.com/Predelnik/DSpellCheck/commit/9b5e740ce4440669d6daf29ca98d77edd99d466c</a></p>
<p dir="auto">From the moment that any line containing a <strong>misspelled</strong> word can be <strong>bookmarked</strong>, it would be easy to <strong>gather</strong> all these lines for <strong>subsequent</strong> processes !</p>
<hr />
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/michael-vincent" aria-label="Profile: michael-vincent">@<bdi>michael-vincent</bdi></a> said :</p>
<blockquote>
<p dir="auto">Now thinking this is an optimization in DSpellCheck for larger documents - only spell check the visible portions of a large document so the squigglys aren’t added to misspelled words off screen until those words are scrolled on screen which is why a top to bottom document search doesn’t turn up squigglies off screen.</p>
</blockquote>
<p dir="auto">If so, may be, studying the <strong>commit</strong>, above, would give some <strong>hues</strong> about the way, used by <a class="plugin-mentions-user plugin-mentions-a" href="/user/predelnik" aria-label="Profile: predelnik">@<bdi>predelnik</bdi></a>, to <strong>bookmark</strong>, in <strong>one</strong> go, all lines with <strong>misspelled</strong> words ?</p>
<p dir="auto">Just a <strong>non-coder</strong> thought ;-))</p>
<p dir="auto">BR</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52012</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52012</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Thu, 02 Apr 2020 09:44:52 GMT</pubDate></item><item><title><![CDATA[Reply to How to highlight the underlined squiggle words on Thu, 02 Apr 2020 02:37:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/michael-vincent" aria-label="Profile: Michael-Vincent">@<bdi>Michael-Vincent</bdi></a> said in <a href="/post/52003">How to highlight the underlined squiggle words</a>:</p>
<blockquote>
<p dir="auto">Investigating more with “PerlScript”.</p>
</blockquote>
<p dir="auto">I give up.  Using the script to “scroll” through the doc does find more squigglies, but not all of them.  I’m pretty sure this is due to a DSpellCheck optimization as I alluded to in previous post.  Need to put my own indicators on a large document and see if the SCI_INDICATORSTART/END API finds them all.</p>
<p dir="auto">I tried 2 ways, with SCI_INDICATORSTART/END:</p>
<pre><code>#!perl

use strict;
use warnings;

use Time::HiRes qw/sleep/;
use Win32::Mechanize::NotepadPlusPlus ':main';

my $indicator = 19;
my $increment = 750;
my ( $indicStart, $indicEnd ) = ( 0, 0 );
my $loc = 0;
my $end = editor-&gt;getLength();
my $HELP = 0;
while ( $loc &lt; $end ) {

    if ( not $loc % $increment ) {
        editor-&gt;gotoPos( $loc );
        sleep 0.5;
    }

    $indicStart = editor-&gt;indicatorEnd( 19, $loc );
    if ( $indicStart == 0 ) {
        $HELP = 1;
        next;
    }
    $indicEnd = editor-&gt;indicatorEnd( 19, $indicStart );

    if ( $indicEnd == $end ) {
        $HELP = 1;
        next;
    }
    $loc = $indicEnd;
    print "$indicStart - $indicEnd\n";
} continue {
    if ( $HELP ) {
        $HELP = 0;
        $loc = int( $loc / $increment +1 ) * $increment;
        if ( $loc &gt;= $end ) {
            last;
        }
    }
}
</code></pre>
<p dir="auto">and with SCI_INDICATORVALUEAT:</p>
<pre><code>#!perl

use strict;
use warnings;

use Time::HiRes qw/sleep/;
use Win32::Mechanize::NotepadPlusPlus ':main';

my $indicator = 19;

my $FOUND = 0;
for my $loc ( 0 .. editor-&gt;getLength() ) {

    if ( not $loc % 500 ) {
        editor-&gt;gotoPos( $loc );
        sleep 0.50;
    }
    my $iva = editor-&gt;indicatorValueAt( $indicator, $loc );
    if ( $iva and not $FOUND ) {
        print "$loc";
        $FOUND = 1;
    } elsif ( not $iva and $FOUND ) {
        printf " - %i\n", $loc - 1;
        $FOUND = 0;
    }
}
</code></pre>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52004</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52004</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Thu, 02 Apr 2020 02:37:08 GMT</pubDate></item><item><title><![CDATA[Reply to How to highlight the underlined squiggle words on Thu, 02 Apr 2020 01:36:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/michael-vincent" aria-label="Profile: Michael-Vincent">@<bdi>Michael-Vincent</bdi></a> said in <a href="/post/51992">How to highlight the underlined squiggle words</a>:</p>
<blockquote>
<p dir="auto">However, it only seems to get the next squiggly indicator if it’s visible on screen</p>
</blockquote>
<p dir="auto">Now thinking this is an optimization in DSpellCheck for larger documents - only spell check the visible portions of a large document so the squigglys aren’t added to misspelled words off screen until those words are scrolled on screen which is why a top to bottom document search doesn’t turn up squigglies off screen.</p>
<p dir="auto">Investigating more with “PerlScript”.</p>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52003</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52003</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Thu, 02 Apr 2020 01:36:27 GMT</pubDate></item><item><title><![CDATA[Reply to How to highlight the underlined squiggle words on Thu, 02 Apr 2020 01:34:30 GMT]]></title><description><![CDATA[<p dir="auto">It seems i can not  filter the rows as function is excel. Sad though…lol<br />
Thanks guys anyway…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52002</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52002</guid><dc:creator><![CDATA[Mia Nguyen]]></dc:creator><pubDate>Thu, 02 Apr 2020 01:34:30 GMT</pubDate></item><item><title><![CDATA[Reply to How to highlight the underlined squiggle words on Wed, 01 Apr 2020 20:29:59 GMT]]></title><description><![CDATA[<p dir="auto">Also, DSpellCheck has:</p>
<p dir="auto">Plugins =&gt; DSpellCheck =&gt; Additional Actions =&gt; Copy All Misspelled Words to Clipboard</p>
<p dir="auto">Does that help?</p>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51993</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51993</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Wed, 01 Apr 2020 20:29:59 GMT</pubDate></item><item><title><![CDATA[Reply to How to highlight the underlined squiggle words on Wed, 01 Apr 2020 20:23:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> said in <a href="/post/51988">How to highlight the underlined squiggle words</a>:</p>
<blockquote>
<p dir="auto">DSpellCheck squiggle highlighting, I don’t know of a way to filter on that</p>
</blockquote>
<p dir="auto">I did some playing with “PerlScript” but got a little farther with NppExec.  It “seems” DSpellCheck uses indicator 19 for its squiggly lines (this is process of elimination, I looked at the DSpellCheck code and couldn’t find any of the Scintilla commands I’d expect would implement this).</p>
<p dir="auto">The following “works”:</p>
<pre><code>NPP_CONSOLE keep

SET LOCAL INDICATOR = 19

SCI_SENDMSG SCI_GETLENGTH
SET LOCAL END = $(MSG_RESULT)

SET LOCAL I = 0
SET LOCAL INDICEND = 0
// FOR
:LOOP

    SCI_SENDMSG SCI_GOTOPOS $(I)
    
    SCI_SENDMSG SCI_INDICATOREND $(INDICATOR) $(I)
    IF "$(MSG_RESULT)"=="0" GOTO END
    
    SET LOCAL INDICSTART = $(MSG_RESULT)
    SCI_SENDMSG SCI_INDICATOREND $(INDICATOR) $(INDICSTART)
    SET LOCAL INDICEND = $(MSG_RESULT)
    
    SET LOCAL I = $(INDICEND)
    IF "$(I)"=="$(END)" GOTO END

    ECHO $(INDICSTART) - $(INDICEND)

    GOTO LOOP

:END
</code></pre>
<p dir="auto">However, it only seems to get the next squiggly indicator if it’s visible on screen.  So in a long document where you’d find a squiggly and then have to page down to find the next one, this script only finds the first.  The <a href="https://www.scintilla.org/ScintillaDoc.html#SCI_INDICATORSTART" rel="nofollow ugc">Scintilla docs</a> don’t describe this limitation so not sure why it’s working that way.  Also, using the SCI_GETINDICATORVALUE and SCI_GETINDICATORCURRENT don’t return the value I’d expect for DSpellCheck indicators (which I discovered was 19).</p>
<p dir="auto">Obviously if this actually worked, you could use a the <a href="https://www.scintilla.org/ScintillaDoc.html#MultipleSelectionAndVirtualSpace" rel="nofollow ugc">Scintilla multiple selection API</a> to highlight the squigglies found as you iterate through the doc.</p>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51992</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51992</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Wed, 01 Apr 2020 20:23:40 GMT</pubDate></item><item><title><![CDATA[Reply to How to highlight the underlined squiggle words on Wed, 01 Apr 2020 13:35:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mia-nguyen" aria-label="Profile: Mia-Nguyen">@<bdi>Mia-Nguyen</bdi></a> said in <a href="/post/51976">How to highlight the underlined squiggle words</a>:</p>
<blockquote>
<p dir="auto">Thanks a lot <a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a><br />
That really highlighted the words. But I can not copy to excel keeping that highlight. It will be normal when i paste to Excel<br />
Do you know any way i can copy that ?</p>
</blockquote>
<p dir="auto">It depends on which highlighting you mean.  If you mean the normal syntax highlighting, you can use the <strong>NppExport</strong> plugin to <strong>Copy HTML to Clipboard</strong> or <strong>Copy All Formats to Clipboard</strong>; if you paste that into excel, you get the syntax highlighting.  However, if you have a plugin like DSpellCheck, which puts squiggles under the misspelled words, you do <em>not</em> get that copied, even with <strong>Copy all formats…</strong></p>
<p dir="auto"><img src="/assets/uploads/files/1585747871548-b3f59b14-3551-431b-bb30-6d788f9a47ca-image.png" alt="b3f59b14-3551-431b-bb30-6d788f9a47ca-image.png" class=" img-fluid img-markdown" /><br />
<img src="/assets/uploads/files/1585747851629-96e7d6b1-71e3-4643-bedb-e048dc34ef2b-image.png" alt="96e7d6b1-71e3-4643-bedb-e048dc34ef2b-image.png" class=" img-fluid img-markdown" /></p>
<blockquote>
<p dir="auto">Or another question, is there any way i can filter the rows with that highlighted word in NPP?</p>
</blockquote>
<p dir="auto">It depends on which highlighting you mean.  If you mean the DSpellCheck squiggle highlighting, I don’t know of a way to <em>filter</em> on that.   But <strong>Plugins &gt; DSpellCheck &gt; Find next misspelling</strong> will allow you to navigate between each misspelled word inside Notepad++</p>
<blockquote>
<p dir="auto">Btw, my final purpose here is that i have an excel with some misspelling words inside that can not figure it out, so i copy it into NPP to highlight it out. And then i need to fix in excel finally.</p>
</blockquote>
<p dir="auto">I think maybe “copy from Excel to Notepad++; use DSpellCheck to highlight and navigate the misspelled words and then fix them <em>in Notepad++</em>; then copy normally (not using NppExport plugin) and paste back into Excel” would be a possible sequence for you to try.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51988</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51988</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 01 Apr 2020 13:35:23 GMT</pubDate></item><item><title><![CDATA[Reply to How to highlight the underlined squiggle words on Wed, 01 Apr 2020 01:56:37 GMT]]></title><description><![CDATA[<p dir="auto">Thanks a lot <a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a><br />
That really highlighted the words. But I can not copy to excel keeping that highlight. It will be normal when i paste to Excel<br />
Do you know any way i can copy that ?<br />
Or another question, is there any way i can filter the rows with that highlighted word in NPP?<br />
Btw, my final purpose here is that i have an excel with some misspelling words inside that can not figure it out, so i copy it into NPP to highlight it out. And then i need to fix in excel finally.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51976</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51976</guid><dc:creator><![CDATA[Mia Nguyen]]></dc:creator><pubDate>Wed, 01 Apr 2020 01:56:37 GMT</pubDate></item><item><title><![CDATA[Reply to How to highlight the underlined squiggle words on Tue, 31 Mar 2020 19:13: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>
<p dir="auto">ahh - ok - maybe you should have added <a href="https://en.wikipedia.org/wiki/Emmanuel_Macron" rel="nofollow ugc">E_Macron.txt</a> :-)<br />
I guess you know Angela Merkel but who knows Frank-Walter Steinmeier :-D</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51957</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51957</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Tue, 31 Mar 2020 19:13:17 GMT</pubDate></item><item><title><![CDATA[Reply to How to highlight the underlined squiggle words on Tue, 31 Mar 2020 19:06:35 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"><a href="https://en.wikipedia.org/wiki/Prime_Minister_of_France" rel="nofollow ugc">https://en.wikipedia.org/wiki/Prime_Minister_of_France</a></p>
<p dir="auto">but…I could be showing my ignorance of French governmental situations as I had to look that up to make my joke image.  :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51956</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51956</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 31 Mar 2020 19:06:35 GMT</pubDate></item><item><title><![CDATA[Reply to How to highlight the underlined squiggle words on Tue, 31 Mar 2020 17:56:52 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">ok, I know who D_Trump is but who is E_Philippe??</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51953</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51953</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Tue, 31 Mar 2020 17:56:52 GMT</pubDate></item></channel></rss>