X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/24c7594d62d8d7fbbcdb64b11ce4adc5d8e6991a..01e206524dfa62b8812599366806a11f2cae15fd:/atom/packages/ex-mode/lib/ex-state.coffee?ds=inline diff --git a/atom/packages/ex-mode/lib/ex-state.coffee b/atom/packages/ex-mode/lib/ex-state.coffee index b676535..7c0f37c 100644 --- a/atom/packages/ex-mode/lib/ex-state.coffee +++ b/atom/packages/ex-mode/lib/ex-state.coffee @@ -34,6 +34,9 @@ class ExState onDidFailToExecute: (fn) -> @emitter.on('failed-to-execute', fn) + onDidProcessOpStack: (fn) -> + @emitter.on('processed-op-stack', fn) + pushOperations: (operations) -> @opStack.push operations @@ -55,5 +58,6 @@ class ExState else throw e @clearOpStack() + @emitter.emit('processed-op-stack') module.exports = ExState