<?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[TextFX and word count]]></title><description><![CDATA[<p dir="auto">First of all, I just noticed that the TextFX plugin is gone, as though I removed it, but I didn’t. And it isn’t listed among the available titles in the Plugin Admin. Did I miss something in that last few days?</p>
<p dir="auto">The two main features I used in TextFX:</p>
<ol>
<li>Word count, particularly the ability to report the number of words in selected text</li>
<li>Line sorting that eliminates duplicates</li>
</ol>
<p dir="auto">Are these things available in other plugins?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/23231/textfx-and-word-count</link><generator>RSS for Node</generator><lastBuildDate>Wed, 19 Aug 2026 17:54:14 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/23231.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 11 Jul 2022 16:49:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TextFX and word count on Mon, 11 Jul 2022 19:26:02 GMT]]></title><description><![CDATA[<p dir="auto">There’s also a way to put a selection’s word-count in the status bar; see <a href="https://community.notepad-plus-plus.org/topic/14889/footer-sel-to-include-word-count">HERE</a> for that.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/78326</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/78326</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 11 Jul 2022 19:26:02 GMT</pubDate></item><item><title><![CDATA[Reply to TextFX and word count on Mon, 11 Jul 2022 19:22:50 GMT]]></title><description><![CDATA[<p dir="auto">Of course, it is arguably even easier to just set up a search and press the <em>Count</em> button in the <em>Find</em> window, like this:</p>
<p dir="auto"><img src="/assets/uploads/files/1657567286311-efd7c109-68dd-4186-9545-9a1fdd821e79-image.png" alt="efd7c109-68dd-4186-9545-9a1fdd821e79-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">The result is shown in the status bar of the <em>Find</em> window.</p>
<p dir="auto">This can be macro-recorded for easy running; the downside is that to see the result, the <em>Find</em> window has to be open.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/78325</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/78325</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 11 Jul 2022 19:22:50 GMT</pubDate></item><item><title><![CDATA[Reply to TextFX and word count on Mon, 11 Jul 2022 18:20:57 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> <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> Thank you both</p>
]]></description><link>https://community.notepad-plus-plus.org/post/78324</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/78324</guid><dc:creator><![CDATA[Brigham Narins]]></dc:creator><pubDate>Mon, 11 Jul 2022 18:20:57 GMT</pubDate></item><item><title><![CDATA[Reply to TextFX and word count on Mon, 11 Jul 2022 18:17:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/brigham-narins" aria-label="Profile: Brigham-Narins">@<bdi>Brigham-Narins</bdi></a> ,</p>
<blockquote>
<p dir="auto">Running such a script is something I’ve never done</p>
</blockquote>
<p dir="auto">We have a <a href="https://community.notepad-plus-plus.org/topic/23039/faq-desk-how-to-install-and-run-a-script-in-pythonscript">FAQ on that</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/78323</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/78323</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 11 Jul 2022 18:17:53 GMT</pubDate></item><item><title><![CDATA[Reply to TextFX and word count on Mon, 11 Jul 2022 18:10:35 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> Thank you! Running such a script is something I’ve never done in NPP. Can you point me to a section of the manual or give me simple instructions?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/78322</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/78322</guid><dc:creator><![CDATA[Brigham Narins]]></dc:creator><pubDate>Mon, 11 Jul 2022 18:10:35 GMT</pubDate></item><item><title><![CDATA[Reply to TextFX and word count on Mon, 11 Jul 2022 17:56:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/brigham-narins" aria-label="Profile: Brigham-Narins">@<bdi>Brigham-Narins</bdi></a></p>
<p dir="auto">Simple Pythonscript, called <code>WordCountInSelectedText.py</code>:</p>
<pre><code># -*- coding: utf-8 -*-
from __future__ import print_function

from Npp import *
import inspect
import os

#-------------------------------------------------------------------------------

class WCIST(object):

    def __init__(self):
        self.this_script_name = inspect.getframeinfo(inspect.currentframe()).filename.split(os.sep)[-1].rsplit('.', 1)[0]
        self.total = 0
        def match_found(m): self.total += 1
        editor.research(r'\w+', match_found, 0, editor.getSelectionStart(), editor.getSelectionEnd())
        self.mb('Words in selected text = {}'.format(self.total))

    def mb(self, msg, flags=0, title=''):  # a message-box function
        return notepad.messageBox(msg, title if title else self.this_script_name, flags)

#-------------------------------------------------------------------------------

if __name__ == '__main__': WCIST()
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/78320</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/78320</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 11 Jul 2022 17:56:01 GMT</pubDate></item><item><title><![CDATA[Reply to TextFX and word count on Mon, 11 Jul 2022 17:48:32 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> Thanks. I know about the View &gt; Summary for whole-file word counts, but it doesn’t count the words in selected text. If you know how to do that, or know of another plugin that does it, I’d appreciate it.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/78318</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/78318</guid><dc:creator><![CDATA[Brigham Narins]]></dc:creator><pubDate>Mon, 11 Jul 2022 17:48:32 GMT</pubDate></item><item><title><![CDATA[Reply to TextFX and word count on Mon, 11 Jul 2022 16:58:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/brigham-narins" aria-label="Profile: Brigham-Narins">@<bdi>Brigham-Narins</bdi></a> ,</p>
<p dir="auto">See this <a href="https://community.notepad-plus-plus.org/topic/23166/faq-desk-how-do-i-replicate-the-features-of-textfx">FAQ</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/78317</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/78317</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 11 Jul 2022 16:58:14 GMT</pubDate></item></channel></rss>