You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by de...@apache.org on 2013/11/13 22:18:27 UTC

git commit: updated refs/heads/master to 311e25d

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 <de...@gmail.com>
Authored: Wed Nov 13 13:18:24 2013 -0800
Committer: suelockwood <de...@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();