svn: /web/doc-editor/trunk/js/ux/ Ext.ux.CodeMirror.js

From: Date: Tue, 22 Dec 2009 13:04:11 +0000
Subject: svn: /web/doc-editor/trunk/js/ux/ Ext.ux.CodeMirror.js
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-1359@lists.php.net to get a copy of this message
yannick Tue, 22 Dec 2009 13:04:11 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=292476 Log: all spellCheck into the editor ; disable Scanning when the editor is on readyOnly mode Changed paths: U web/doc-editor/trunk/js/ux/Ext.ux.CodeMirror.js Modified: web/doc-editor/trunk/js/ux/Ext.ux.CodeMirror.js =================================================================== --- web/doc-editor/trunk/js/ux/Ext.ux.CodeMirror.js 2009-12-22 11:41:35 UTC (rev 292475) +++ web/doc-editor/trunk/js/ux/Ext.ux.CodeMirror.js 2009-12-22 13:04:11 UTC (rev 292476) @@ -87,13 +87,14 @@ indentUnit: 1, id:this.id, lineNumbers: true, - continuousScanning: 500, + continuousScanning: (this.readOnly) ? false : 500, cursorActivity: CursorActivity, stylesheet: this.parserStylesheet, path: "js/ux/codemirror/js/", obj: this, initCallback: this.onInit, - autoMatchParens: true + autoMatchParens: true, + disableSpellcheck: false }); var scope = this;

« previous php.doc.web (#1359) next »