[Pkg-owncloud-commits] [owncloud] 70/75: Text editor will now wrap text based on window size
David Prévot
taffit at alioth.debian.org
Fri Nov 8 23:08:44 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v3.0.1
in repository owncloud.
commit 098f6655c8a2f5c1a3812dd01e6fbfbb9302f3b0
Author: Tom Needham <needham.thomas at gmail.com>
Date: Sat Mar 10 14:32:57 2012 +0000
Text editor will now wrap text based on window size
---
apps/files_texteditor/js/editor.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/apps/files_texteditor/js/editor.js b/apps/files_texteditor/js/editor.js
index 7473d53..d4852d4 100644
--- a/apps/files_texteditor/js/editor.js
+++ b/apps/files_texteditor/js/editor.js
@@ -191,6 +191,7 @@ function showFileEditor(dir,filename){
$('#editor').attr('data-filename', filename);
window.aceEditor = ace.edit("editor");
aceEditor.setShowPrintMargin(false);
+ aceEditor.getSession().setUseWrapMode(true);
if(result.data.write=='false'){
aceEditor.setReadOnly(true);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list