<p>This is the correct documented behaviour, see <a href="http://www.geany.org/manual/current/index.html#sending-text-through-custom-commands">the manual</a> "If there is no selection, the whole current line is used instead."</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/geany/geany/issues/1035#issuecomment-219176527">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ7I3f-Ya1XLEbh97A-oZaE7Zo6dRks5qBP5lgaJpZM4IeIXW.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/1035#issuecomment-219176527"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>