<?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[Centre the cursor vertically after search etc.]]></title><description><![CDATA[<p dir="auto">I have a personal plugin, and one feature I use quite frequently, scrolls the file vertically so as to centre the cursor if possible. I find this invaluable, because it lets you see something in context.</p>
<p dir="auto">What would be much better, would be if other operations - such as search and bracket match - that move the cursor vertically did the same thing, at least if the cursor would end up very close to the top/bottom of the page.</p>
<p dir="auto">Ideally this would be a nice enhancement to NP++, but if anyone knows how to combine an existing NP++/Scintilla command with some extra plugin code (e.g. how to invoke the search dialog from within the plugin, retaining control after the search has been performed) that would be interesting.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/138/centre-the-cursor-vertically-after-search-etc</link><generator>RSS for Node</generator><lastBuildDate>Wed, 19 Aug 2026 08:10:11 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/138.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 13 Jul 2015 15:24:24 GMT</pubDate><ttl>60</ttl></channel></rss>