<?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[Word count in Status Bar on text selection]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">Question 1: Is there a way to select a paragraph and see the corresponding word count (and character count) in the status bar?</p>
<p dir="auto">Question 2: If there is no way to do Q1, then, is it possible to see a word count for all text in the tab in the status bar? (just like I see the char count)</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/25493/word-count-in-status-bar-on-text-selection</link><generator>RSS for Node</generator><lastBuildDate>Wed, 16 Sep 2026 09:00:55 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/25493.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 19 Feb 2024 07:21:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Word count in Status Bar on text selection on Fri, 23 Feb 2024 12:37:43 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/michelle-pace" aria-label="Profile: michelle-pace">@<bdi>michelle-pace</bdi></a>,</p>
<p dir="auto">You may also be interested by this <strong>Python</strong> script, built up with the <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</bdi></a>’s collaboration and some other Python <strong>gurus</strong> !</p>
<p dir="auto">On the <strong>last</strong> line of this <strong><code>Summary</code></strong> report, it will give you, at the <strong>same</strong> time, the number of <strong>characters</strong>, <strong>words</strong> and <strong>bytes</strong> of all your <strong>selected</strong> text, in <strong>one</strong> or <strong>several</strong> ranges, of the <strong>current</strong> file, whatever the <strong>view</strong> used !</p>
<p dir="auto"><a href="https://community.notepad-plus-plus.org/topic/20218/emulation-of-the-view-summary-feature-with-a-python-script/14">https://community.notepad-plus-plus.org/topic/20218/emulation-of-the-view-summary-feature-with-a-python-script/14</a></p>
<p dir="auto">Of course, if you select <strong>all</strong> the file contents, the results, reported in the <strong>last</strong> <strong><code>SELECTION(S)</code></strong> line, should be <strong>identical</strong> to the <strong><code>3</code></strong> lines just above :<br />
<strong><code>Total chars</code></strong>, <strong><code>Words count</code></strong> and <strong><code>Buffer length</code></strong></p>
<hr />
<p dir="auto">BTW, note, that I added the mention <strong><code>(Caution !)</code></strong> in the <strong><code>Words</code></strong> line, because the <strong>word</strong> notion is quite <strong>odd</strong> in <strong>many</strong> languages ! Refer to this post :</p>
<p dir="auto"><a href="https://community.notepad-plus-plus.org/topic/20218/emulation-of-the-view-summary-feature-with-a-python-script/3">https://community.notepad-plus-plus.org/topic/20218/emulation-of-the-view-summary-feature-with-a-python-script/3</a></p>
<hr />
<p dir="auto">If needed, you may <strong>even</strong> change the <strong>default</strong> definition of a <strong>word</strong> character, as explained at the <strong>beginning</strong> of the post !</p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/93182</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/93182</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Fri, 23 Feb 2024 12:37:43 GMT</pubDate></item><item><title><![CDATA[Reply to Word count in Status Bar on text selection on Mon, 19 Feb 2024 15:34:56 GMT]]></title><description><![CDATA[<p dir="auto">If you go to the bottom of <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/1136" rel="nofollow ugc">this issue in the Notepad++ GitHub repo</a>, you will find a script I wrote that does everything you’re asking for.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/93009</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/93009</guid><dc:creator><![CDATA[Mark Olson]]></dc:creator><pubDate>Mon, 19 Feb 2024 15:34:56 GMT</pubDate></item><item><title><![CDATA[Reply to Word count in Status Bar on text selection on Mon, 19 Feb 2024 12:16:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/michelle-pace" aria-label="Profile: Michelle-Pace">@<bdi>Michelle-Pace</bdi></a></p>
<p dir="auto">The direct answer to both questions is No.</p>
<p dir="auto">Although it isn’t constantly on-screen, one thing you can do to obtain some of the information (word count in the entire document) on-demand is to use the <em>View</em> menu’s <em>View Summary</em> feature.</p>
<p dir="auto">If you are willing to use a scripting plugin, then you can get closer to what you want, all around, but still on an on-demand basis.</p>
<p dir="auto">There’s a PythonScript <a href="https://community.notepad-plus-plus.org/post/78320">HERE</a> that, when run, will show you the number of words in your text selection and output it in a message box.  To obtain a word count for the entire document, simply <em>Select All</em> (Ctrl+a) before running the script.</p>
<p dir="auto">If you are going to pursue the scripted solution, have a read <a href="https://community.notepad-plus-plus.org/topic/23039/faq-how-to-install-and-run-a-script-in-pythonscript">HERE</a> to learn about how to do scripting.</p>
<p dir="auto">Side note: In theory, the scripting plugin could update the status bar to provide fully what you want, but there is a long-standing bug in the plugin regarding selected text and screen updates; see <a href="https://github.com/bruderstein/PythonScript/issues/85" rel="nofollow ugc">HERE</a>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/93002</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/93002</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 19 Feb 2024 12:16:09 GMT</pubDate></item></channel></rss>