ui-ace icon indicating copy to clipboard operation
ui-ace copied to clipboard

Opt tabSize missing

Open Yimiprod opened this issue 10 years ago • 5 comments

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);
  }

Yimiprod avatar Apr 02 '15 14:04 Yimiprod

+1

twmulloy avatar Aug 02 '15 16:08 twmulloy

+1

pongstr avatar Aug 20 '15 05:08 pongstr

:+1:

frapontillo avatar Sep 19 '15 08:09 frapontillo

Looks like this is not fixed yet, where should I add that line of code for a temp patch?

vicary avatar Feb 22 '16 07:02 vicary

According to ui-ace.js:100 you can do that with { advanced: { tabSize: 2 } }, not very intuitive though.

vicary avatar Feb 22 '16 07:02 vicary