Vos commentaires
- Packages/Default/Base File.sublime-settings
- Packages/Default/Base File (<platform>).sublime-settings
- Packages/User/Base File.sublime-settings
- Packages/<syntax>/<syntax>.sublime-settings
- Packages/User/<syntax>.sublime-settings
It looks like the API for the command history has
changed a bit.
In the stable release of Sublime Text, when running my command, the
command history (self.view.command_history) is listed as such:
(None, None, 0)
COMMAND HISTORY
(u'erb', None, 1)
COMMAND HISTORY
(u'erb', None, 1)
COMMAND HISTORY
(u'erb', None, 1)
COMMAND HISTORY
(u'erb', None, 1)
COMMAND HISTORY
(u'erb', None, 1)
COMMAND HISTORY
(u'erb', None, 1)
COMMAND HISTORY
(u'erb', None, 1)
COMMAND HISTORY
(u'erb', None, 1)
As you can see this allows me to find out of they have not done
anything else in between key presses which allows me to toggle ERB
blocks.
In the latest dev build, the command history looks something like this:
COMMAND HISTORY
(None, None, 0)
COMMAND HISTORY
(None, None, 0)
COMMAND HISTORY
(u'erb', None, 2)
COMMAND HISTORY
(u'erb', None, 2)
COMMAND HISTORY
(u'left_delete', None, 1)
COMMAND HISTORY
(u'left_delete', None, 1)
COMMAND HISTORY
(u'left_delete', None, 1)
COMMAND HISTORY
(u'erb', None, 3)
COMMAND HISTORY
(u'erb', None, 3)
COMMAND HISTORY
(u'erb', None, 3)
COMMAND HISTORY
(u'erb', None, 3)
COMMAND HISTORY
(u'erb', None, 3)
COMMAND HISTORY
(u'erb', None, 3)
COMMAND HISTORY
(u'erb', None, 6)
COMMAND HISTORY
(u'erb', None, 6)
Service d'assistance aux clients par UserEcho