couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deathb...@apache.org
Subject git commit: updated refs/heads/master to 311e25d
Date Wed, 13 Nov 2013 21:18:27 GMT
Updated Branches:
  refs/heads/master 4c324fc8a -> 311e25d66


Wrap lines in the ace editor for Fauxton


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/311e25d6
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/311e25d6
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/311e25d6

Branch: refs/heads/master
Commit: 311e25d66470313bfc35de106b7ed54c74a6399d
Parents: 4c324fc
Author: suelockwood <deathbearbrown@gmail.com>
Authored: Wed Nov 13 13:18:24 2013 -0800
Committer: suelockwood <deathbearbrown@gmail.com>
Committed: Wed Nov 13 13:18:24 2013 -0800

----------------------------------------------------------------------
 src/fauxton/app/modules/fauxton/components.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/311e25d6/src/fauxton/app/modules/fauxton/components.js
----------------------------------------------------------------------
diff --git a/src/fauxton/app/modules/fauxton/components.js b/src/fauxton/app/modules/fauxton/components.js
index be1bf72..1a20cbe 100644
--- a/src/fauxton/app/modules/fauxton/components.js
+++ b/src/fauxton/app/modules/fauxton/components.js
@@ -193,6 +193,7 @@ function(app, FauxtonAPI, ace) {
       this.editor = ace.edit(this.editorId);
       this.editor.setTheme("ace/theme/" + this.theme);
       this.editor.getSession().setMode("ace/mode/" + this.mode);
+      this.editor.getSession().setUseWrapMode(true);
       this.editor.setShowPrintMargin(false);
       this.editor.gotoLine(2);
       this.addCommands();


Mime
View raw message