As you have noticed, initialization and execution are not the same. How is your keybinding defined? I noticed that your class name is IsoTeXCommand, and given the relationship of class names to commands, you'd need to use the command "iso_te_x". ST2 uses capitalization as a "marker" for underscores. For example, in the code I posted, the class name was MfrReplaceCommand which executed via the "mfr_replace" command.
- Code: Select all
while self.living? do
mistake = Mistake.new
self.learn_from!(mistake) unless mistake.fatal?