I’ve just installed Komodo Edit 10.2.0 and recorded a macro to change a line of text
from:
aaaa bbbbbb cccccc ddddd
(this is the original line)
to:
aaaa cccccc bbbbbb bbbbbb bbbbbb ddddd
(this is the line after recording the macro)
But when I run the macro on another line (identical with the original line above) I get the following
aaaa cccccc ddddd
bbbbbb bbbbbb bbbbbb
The text of the macro is as follows:
// Macro recorded on: Wed Feb 22 2017 18:11:07 GMT+0100 (CET)
komodo.assertMacroVersion(3);
if (komodo.view) { komodo.view.setFocus(); }
ko.commands.doCommand(‘cmd_wordRight’)
ko.commands.doCommand(‘cmd_selectWordRight’)
ko.commands.doCommand(‘cmd_cut’)
ko.commands.doCommand(‘cmd_wordRight’)
ko.commands.doCommand(‘cmd_paste’)
ko.commands.doCommand(‘cmd_paste’)
ko.commands.doCommand(‘cmd_paste’)
ko.commands.doCommand(‘cmd_home’)
ko.commands.doCommand(‘cmd_lineNext’)
I also noticed some problems running macros I have been using during the past few years using Komodo Edit 9.x …
Please help!
Best regards
Andrew Florit