From 952a181f1fcf1fbcc0ff301111be4ce335f282d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 27 Jan 2012 11:04:11 +0100 Subject: [PATCH] Enable line wrapping for SQL editor --- js/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/functions.js b/js/functions.js index 46b579469f..2a1fe23958 100644 --- a/js/functions.js +++ b/js/functions.js @@ -3434,7 +3434,7 @@ $(document).ready(function() { $(document).ready(function() { var elm = $('#sqlquery'); if (elm.length > 0 && typeof CodeMirror != 'undefined') { - codemirror_editor = CodeMirror.fromTextArea(elm[0], {lineNumbers: true, matchBrackets: true, indentUnit: 4, mode: "text/x-mysql"}); + codemirror_editor = CodeMirror.fromTextArea(elm[0], {lineNumbers: true, matchBrackets: true, indentUnit: 4, mode: "text/x-mysql", lineWrapping: true}); } });