huilin1990 / zen-coding

Automatically exported from code.google.com/p/zen-coding
0 stars 0 forks source link

update necessary for Komodo 7 #278

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is an FYI that zen coding will need a small tweak in order to work with 
the upcoming Komodo 7.

As of Komodo 7.0.0a3, "context.document" has been renamed to "context.koDoc", 
so in Komodo's content/js/zen_editor.js will need a tweak in order to support 
both versions:

    getSyntax: function(){
-       var syntax = this.context.koDoc ? this.context.koDoc.language.toLowerCase() 
: this.context.document.language.toLowerCase(),
+       var syntax = this.context.koDoc.language.toLowerCase(),
            caret_pos = this.getCaretPos();

Original issue reported on code.google.com by twhit...@gmail.com on 21 Jun 2011 at 6:57

GoogleCodeExporter commented 8 years ago
BTW, link to Zen Coding for Komodo is here:
http://community.activestate.com/xpi/zen-coding

Original comment by twhit...@gmail.com on 21 Jun 2011 at 6:58

GoogleCodeExporter commented 8 years ago
Just updated plugin code, thank you

Original comment by serge....@gmail.com on 11 Jul 2012 at 9:33