Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7B7C710E19 for ; Wed, 13 Nov 2013 21:18:28 +0000 (UTC) Received: (qmail 5404 invoked by uid 500); 13 Nov 2013 21:18:28 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 5340 invoked by uid 500); 13 Nov 2013 21:18:27 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 5333 invoked by uid 99); 13 Nov 2013 21:18:27 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Nov 2013 21:18:27 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 893518A8713; Wed, 13 Nov 2013 21:18:27 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: deathbear@apache.org To: commits@couchdb.apache.org Message-Id: <0512c8e03b1d407f9dfe50c067c18007@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: updated refs/heads/master to 311e25d Date: Wed, 13 Nov 2013 21:18:27 +0000 (UTC) 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 Authored: Wed Nov 13 13:18:24 2013 -0800 Committer: suelockwood 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();