<p>I had assumed that it was built in to Scintilla since <a href="http://www.scintilla.org/ScintillaDoc.html#MultipleSelectionAndVirtualSpace">that docs page I mentioned before</a> [1] seems to be about Scintilla only and it explicitly mentions <code>Ctrl</code> in conjunction with the mouse. I had also tried <code>Ctrl-click</code> in SciTE and that worked as expected. After a cursory <code>grep</code> through the latest Scintilla and SciTE, I didn't find <code>Ctrl-click</code> logic in either of them. There's some kind of autogenerated interface in SciTE which makes things like this hard to search for there, though. I did stumble across the logic for the selection adding behaviour bound to <code>Ctrl-D</code> in Sublime Text. Altogether that suggests to me that the <code>Ctrl-click</code> behaviour is probably in SciTE, not built-in`to Scintilla.</p>
<p>So I've now tried calling <code>SCI_ADDSELECTION</code> on <code>Ctrl-click</code>, in the same place I removed the code from, but it still doesn't seem to do anything. I've confirmed it makes it to the right part of the big switch statement in the local copy of Scintilla though.</p>
<p><a href="https://gist.github.com/Ryan1729/2244914f0ac7856fed42f8379fb4cd36">Here's the diff</a>.</p>
<p>[1] Regarding the link, I meant to do something <a href="http://www.scintilla.org/ScintillaDoc.html#MultipleSelectionAndVirtualSpace"><code>like this</code></a>. I've put the backticks inside the square brackets this time. I knew there was a way that it worked.</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, <a href="https://github.com/geany/geany/issues/1141#issuecomment-343828519">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJyfCROpuI1Sxf6mIZMOv1gXc0fSOks5s1-W3gaJpZM4JNUhS">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ5KzFfL-lsLXvmtj0dPRq6c82BD0ks5s1-W3gaJpZM4JNUhS.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/1141#issuecomment-343828519"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@Ryan1729 in #1141: I had assumed that it was built in to Scintilla since [that docs page I mentioned before](http://www.scintilla.org/ScintillaDoc.html#MultipleSelectionAndVirtualSpace) [1] seems to be about Scintilla only and it explicitly mentions `Ctrl` in conjunction with the mouse. I had also tried `Ctrl-click` in SciTE and that worked as expected. After a cursory `grep` through the latest Scintilla and SciTE, I didn't find `Ctrl-click` logic in either of them. There's some kind of autogenerated interface in SciTE which makes things like this hard to search for there, though. I did stumble across the logic for the selection adding behaviour bound to `Ctrl-D` in Sublime Text. Altogether that suggests to me that the `Ctrl-click` behaviour is probably in SciTE, not built-in`to Scintilla.\r\n\r\nSo I've now tried calling `SCI_ADDSELECTION` on `Ctrl-click`, in the same place I removed the code from, but it still doesn't seem to do anything. I've confirmed it makes it to the right part of the big switch statement in the local copy of Scintilla though. \r\n\r\n[Here's the diff](https://gist.github.com/Ryan1729/2244914f0ac7856fed42f8379fb4cd36).\r\n\r\n\r\n\r\n\r\n[1] Regarding the link, I meant to do something [`like this`](http://www.scintilla.org/ScintillaDoc.html#MultipleSelectionAndVirtualSpace). I've put the backticks inside the square brackets this time. I knew there was a way that it worked."}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1141#issuecomment-343828519"}}}</script>