svn: /web/doc-editor/trunk/js/ux/ Ext.ux.CodeMirror.js
| From: | Yannick Torres | Date: | Fri, 04 Dec 2009 22:13:38 +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-1285@lists.php.net to get a copy of this message | ||
yannick Fri, 04 Dec 2009 22:13:38 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=291722
Log:
Fire cmchange when we insert a tag from the menu
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-04 22:12:17 UTC (rev 291721)
+++ web/doc-editor/trunk/js/ux/Ext.ux.CodeMirror.js 2009-12-04 22:13:38 UTC (rev 291722)
@@ -139,6 +139,7 @@
insertIntoLine : function(line, position, text) {
var lineObj = this.mirror.nthLine(line);
this.mirror.insertIntoLine(lineObj, position, text);
+ this.fireEvent('cmchange');
},
scrollTo : function(scrollY) {