ui-ace
ui-ace copied to clipboard
Opt tabSize missing
The option tabSize is missing in the directive so when we define it, it's not taken in account by ace.
if (angular.isDefined(opts.tabSize)) {
session.setTabSize(opts.tabSize);
}
+1
+1
:+1:
Looks like this is not fixed yet, where should I add that line of code for a temp patch?
According to ui-ace.js:100 you can do that with { advanced: { tabSize: 2 } }, not very intuitive though.