Add soft tabs and searching to PAC debugger/editor

This commit is contained in:
Ilya Ig. Petrov 2016-11-19 04:36:25 -08:00
parent 4d7ef86f4e
commit 3b891f82b4
2 changed files with 9 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,10 @@
'use strict'; 'use strict';
const editor = ace.edit("editor"); const editor = ace.edit("editor");
editor.getSession().setMode("ace/mode/javascript"); editor.getSession().setOptions({
mode: "ace/mode/javascript",
useSoftTabs: true
});
document.querySelector('#read-button').onclick = () => { document.querySelector('#read-button').onclick = () => {