Allow the user to configure tabs in the SQL editor. Fixes #1406

This commit is contained in:
Surinder Kumar
2016-08-19 11:40:19 +01:00
committed by Dave Page
parent 0f99c3b60c
commit 761b54ce69
7 changed files with 73 additions and 27 deletions

View File

@@ -1423,7 +1423,8 @@ define(
gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter", "breakpoints"],
mode: "text/x-pgsql",
readOnly: true,
extraKeys: pgAdmin.Browser.editor_shortcut_keys
extraKeys: pgAdmin.Browser.editor_shortcut_keys,
tabSize: pgAdmin.Browser.editor_options.tabSize
});
// On loading the docker, register the callbacks