Skip to content

Commit

Permalink
ace editor: prefer spaces over tabs
Browse files Browse the repository at this point in the history
Reverts b2a80f0
  • Loading branch information
cmeier76 authored Sep 15, 2023
1 parent 7b88326 commit cdb3dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Products/zms/plugins/www/common/zmi_ace_editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function show_ace_editor(e, toggle=false) {
editor.setTheme('ace/theme/eclipse');
editor.getSession().setMode('ace/mode/'+mode);
editor.getSession().setValue(value);
editor.getSession().setOptions({ tabSize: 4, useSoftTabs: false });
editor.getSession().setOptions({ tabSize: 4, useSoftTabs: true });
editor.getSession().on('change',function() {
$textarea.val(editor.getSession().getValue()).change();
});
Expand Down

0 comments on commit cdb3dac

Please sign in to comment.