The big differences are in line 5: becomes and line 40: Run_RunEncodedCommand becomes ko.run. Must end undo action or may corrupt edit buffer Komodo.doCommand('cmd_cleanLineEndings') On Windows, when the output of a command is inserted into an edit buffer it has Unix line ends. It will be close to the where it started, depending on how the text was modified. Perhaps someone out there can find a universal improvement (using something like HTML Tidy). It works well and I included the JavaScript formatting provided by a commentator, but I think it may only work with Komodo IDE. Since all of the pages will live in the same folder, you can link directly to the file name.I found this formatting script (macro) and adapted it for my personal use with the latest Komodo Edit (v6.1.0).
0 Comments
Leave a Reply. |