Conflicts:
	lib/ace/commands/default_commands.js
	lib/ace/edit_session.js
This commit is contained in:
Joe Walker 2011-03-30 12:06:18 +01:00
commit d80f0fe66e
9 changed files with 257 additions and 182 deletions

View file

@ -301,6 +301,10 @@ exports.launch = function(env) {
env.editor.renderer.setHScrollBarAlwaysVisible(checked);
});
bindCheckbox("soft_tab", function(checked) {
env.editor.getSession().setUseSoftTabs(checked);
});
function bindCheckbox(id, callback) {
var el = document.getElementById(id);
var onCheck = function() {