We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41fb8d1 commit 1de3cdaCopy full SHA for 1de3cda
index.js
@@ -137,10 +137,11 @@ class EmacsLisp{
137
// If the user hasn't made a selection, make one for 'em
138
if(!text){
139
if(atom.packages.activePackages["bracket-matcher"]){
140
- atom.commands.dispatch(ed.editorElement, "bracket-matcher:select-inside-brackets");
+ const command = "bracket-matcher:select-inside-brackets";
141
+ atom.commands.dispatch(ed.element, command);
142
143
// Select containing brackets too
- let range = ed.getSelectedBufferRange();
144
+ const range = ed.getSelectedBufferRange();
145
--range.start.column;
146
++range.end.column;
147
ed.setSelectedBufferRange(range);
0 commit comments