Skip to content

Commit

Permalink
Editor: Fix regression where tag/delim matching would conflict with s…
Browse files Browse the repository at this point in the history
…cintilla selections - fixes #2460

(integrated from the KomodoIDE master branch change 68197cfcf4 by Nathan Rijksen <n.rijksen@gmail.com>)

Komodo/KomodoIDE@68197cfcf4
  • Loading branch information
Naatan committed Apr 10, 2017
1 parent bb093c9 commit c2e7588
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/chrome/komodo/content/bindings/views-editor.p.xml
Expand Up @@ -2586,8 +2586,11 @@

<handler event="mouseup" phase="bubbling">
<![CDATA[
this.onEditMatchingTags(-1);
this.onEditMatchingDelim(-1);
// run on timeout so as not to conflict with scintilla mouseup events
setTimeout(function() {
this.onEditMatchingTags(-1);
this.onEditMatchingDelim(-1);
}.bind(this), 50);
]]>
</handler>

Expand Down

0 comments on commit c2e7588

Please sign in to comment.