edlib - commands
It been over 3 months - maybe you thought I had given up - but no. I had some holidays and other distractions, but I'm back and will be working fairly consistently for a while.
The topic for today is "Commands". Commands are a standard interface for code in one module of the editor to call code in some other module. Various objects in the editor have commands attached to perform various tasks specific to that object. To some extent you can think of commands like object methods in an object-orient system, but that is only part of the story.
In many cases, commands are associated with names in a key-map. The key maps were hinted at in my previous note about managing input, but they are broader than that and details have changed since last I wrote. So maybe that is a good place to start.