jakiestfu / Behave.js

A lightweight, cross browser library for adding IDE style behaviors to plain text areas
http://jakiestfu.github.com/Behave.js/
1.74k stars 110 forks source link

How to override existing Behave? #32

Open adelriosantiago opened 4 years ago

adelriosantiago commented 4 years ago

How can I override the existing Behave so that I don't need to store it in a variable (i.e editor = new Behave...) and then editor.destroy();

If there is no such a thing, why not adding an overridePrevious: [true|false] setting?