<?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[NPPM_GETCURRENTVIEW vs NPPM_GETCURRENTSCINTILLA]]></title><description><![CDATA[<p dir="auto">Does <a href="https://npp-user-manual.org/docs/plugin-communication/#2112nppm_getcurrentview" rel="nofollow ugc">NPPM_GETCURRENTVIEW</a> supersede <a href="https://npp-user-manual.org/docs/plugin-communication/#2028nppm_getcurrentscintilla" rel="nofollow ugc">NPPM_GETCURRENTSCINTILLA</a> with a simpler API (the older message being retained for compatibility), or are there cases where these two might not yield the same result? If they are different, what is the distinction between them?</p>
<p dir="auto">Looking at the code (<a href="https://github.com/notepad-plus-plus/notepad-plus-plus/blob/cda2acf54b3f68d51753e4fb3fe7789615e909bf/PowerEditor/src/NppBigSwitch.cpp#L1159" rel="nofollow ugc">here</a> and <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/blob/cda2acf54b3f68d51753e4fb3fe7789615e909bf/PowerEditor/src/NppBigSwitch.cpp#L3462" rel="nofollow ugc">here</a>), they test different things, even though it <em>seems</em> like those two tests would be expected to yield the same result. Likewise, the descriptions don’t use exactly the same words (“Retrieves the current Scintilla view” vs “Retrieves the current used view”), though they <em>sound</em> like they mean the same thing.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/27689/nppm_getcurrentview-vs-nppm_getcurrentscintilla</link><generator>RSS for Node</generator><lastBuildDate>Sat, 24 Oct 2026 19:48:19 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/27689.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 24 Oct 2026 18:17:05 GMT</pubDate><ttl>60</ttl></channel></rss>