protoc / zen-coding

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

Komodo zen_editor.js should wrap endUndoAction in a finally block. #358

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In the replaceContent method in zen_editor.js, the undo action
code should be coded like so:

scimoz.beginUndoAction();
try {
    ....
} finally {
    scimoz.beginEndAction();
}

Original issue reported on code.google.com by eric.pro...@gmail.com on 22 Oct 2012 at 5:52