forked from josdejong/jsoneditor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed configured indentation not being applied to Ace editor (see jos…
- Loading branch information
Showing
5 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
* | ||
* @author Jos de Jong, <[email protected]> | ||
* @version 3.1.3-SNAPSHOT | ||
* @date 2015-01-23 | ||
* @date 2015-01-25 | ||
*/ | ||
(function webpackUniversalModuleDefinition(root, factory) { | ||
if(typeof exports === 'object' && typeof module === 'object') | ||
|
@@ -1181,7 +1181,7 @@ return /******/ (function(modules) { // webpackBootstrap | |
editor.setShowPrintMargin(false); | ||
editor.setFontSize(13); | ||
editor.getSession().setMode('ace/mode/json'); | ||
editor.getSession().setTabSize(2); | ||
editor.getSession().setTabSize(this.indentation); | ||
editor.getSession().setUseSoftTabs(true); | ||
editor.getSession().setUseWrapMode(true); | ||
this.editor = editor; | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters