Enabling virtual space in Komodo Edit 9

Create virtual space macro:

var scimoz=komodo.view.scimoz;
scimoz.virtualSpaceOptions=scimoz.SCVS_RECTANGULARSELECTION|scimoz.SCVS_USERACCESSIBLE;

Set this property for virtual space macro: Properties / Triggers / Macro should trigger on a Komodo event / After file open.

Create caret left macro:

komodo.view.scimoz.charLeft();

Bind Left key to caret left macro: go to Properties / Key Binding / New Key Sequence and press Left.

Create caret right macro:

komodo.view.scimoz.charRight();

Bind Right key to caret right macro: go to Properties / Key Binding / New Key Sequence and press Right.

If you want to use Fix whitespace on save option (in Edit / Preferences / check Show Advanced / File Saving), you need to check Always clean current line, otherwise whitespace won't be cleaned when in virtual space and an error message will be displayed.

See also