<?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 use SCI_DOCUMENT*START*END via button?]]></title><description><![CDATA[<p dir="auto">Hi again,</p>
<p dir="auto">just have another small question. I would like to know how I can jump quickly to a DOCUMENTSTART &amp; DOCUMENTEND via custom button? Problem is there is no menu entry in npp I could assign with the Customize Toolbar and I think I can not use those commands SCI_DOCUMENTSTART &amp; SCI_DOCUMENTEND with it or?</p>
<p dir="auto">Otherwise I could create two macros but in this case I have to open the menu first and choose it = detour. Just would like to have any quicker method to jump right away at a document start &amp; end instead of using the shortcut key combos Crtl+Home &amp; Crtl+End.</p>
<p dir="auto">By the way, there is also the Go To… menu / button I can press to enter any line / offset. Maybe it would be a good idea to set two another buttons into that little Go To… dialog box called just “Start” &amp; “End” the user can press to jump right away to top &amp; bottom without to enter 0 or any higher value 9999 etc to jump to the end. I think that would make much things more easier (workflow). Otherwise you could also those 2 extra button / function right before the “+” button on the right side of npp what does create a new tab. Next to that is also the arrow down button what does show the Window menu (not sure why you did added that twice). I think right there you could place some top / bottom buttons the users can press to jump quickly etc. Just a idea only. Not everyone does prefer using keyboard shortcuts.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/25301/how-to-use-sci_document-start-end-via-button</link><generator>RSS for Node</generator><lastBuildDate>Fri, 09 Oct 2026 10:22:33 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/25301.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 02 Jan 2024 21:22:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to use SCI_DOCUMENT*START*END via button? on Tue, 02 Jan 2024 22:37:17 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></p>
<p dir="auto">Coolio! Thanks for that info. So I didn’t know what I can also use my macros with that Customize Toolbar plugin but it works great. Another new helpfully information. Thanks again!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/91621</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/91621</guid><dc:creator><![CDATA[Dean-Corso]]></dc:creator><pubDate>Tue, 02 Jan 2024 22:37:17 GMT</pubDate></item><item><title><![CDATA[Reply to How to use SCI_DOCUMENT*START*END via button? on Tue, 02 Jan 2024 22:06:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dean-corso" aria-label="Profile: Dean-Corso">@<bdi>Dean-Corso</bdi></a> said in <a href="/post/91618">How to use SCI_DOCUMENT*START*END via button?</a>:</p>
<blockquote>
<p dir="auto">with the Customize Toolbar and I think I can not use those commands SCI_DOCUMENTSTART &amp; SCI_DOCUMENTEND with it or?</p>
<p dir="auto">Otherwise I could create two macros but in this case I have to open the menu first and choose it = detour.  Just would like to have any quicker method to jump right away at a document start &amp; end instead of using the shortcut key combos Crtl+Home &amp; Crtl+End.</p>
</blockquote>
<p dir="auto">If you don’t like the shortcuts chosen, you can use Shortcut Mapper to change the shortcuts.</p>
<p dir="auto">If you absolutely have to have a button, then use a combo of the two options you thought wouldn’t work for you: turn each into a macro, then use the Customize Toolbar’s “Custom Buttons” feature (see <strong>Plugins &gt; Customize Toolbar &gt; Help - Custom Buttons</strong>) and add entries that point to those macros.  For example, if you called the macros GoHome and GoEnd, then you could have the setup:</p>
<p dir="auto"><strong>macros</strong>:</p>
<pre><code class="language-xml">        &lt;Macro name="GoHome" Ctrl="no" Alt="no" Shift="no" Key="0"&gt;
            &lt;Action type="0" message="2316" wParam="0" lParam="0" sParam="" /&gt;
        &lt;/Macro&gt;
        &lt;Macro name="GoEnd" Ctrl="no" Alt="no" Shift="no" Key="0"&gt;
            &lt;Action type="0" message="2318" wParam="0" lParam="0" sParam="" /&gt;
        &lt;/Macro&gt;
</code></pre>
<p dir="auto"><strong>CustomizeToolbar.btn</strong></p>
<pre><code class="language-txt">Macro,GoHome,,,*R:GH,*R:GH
Macro,GoEnd,,,*R:GE,*R:GE
</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1704231507366-defd4169-ecb1-4837-a933-ce8a75c53ac3-image.png" alt="defd4169-ecb1-4837-a933-ce8a75c53ac3-image.png" class=" img-fluid img-markdown" /><br />
<em>et voila</em>, no “detour”, just move your mouse cursor and click.  (And if you have an icon creator, the docs on the plugin tell you how to reference an icon instead of a “quick code”)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/91620</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/91620</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 02 Jan 2024 22:06:53 GMT</pubDate></item></channel></rss>