增减数字

This action, as name says, increments or decrements number under caret with different steps: 0.1, 1 or 10.

这个功能,如名字所示,以不同的步值增减插入符所在位置的数字。

  1. <textarea class="movie-def">
  2. body {
  3. padding: 1|0px;
  4. line-height: 1.7;
  5. width: 100%;
  6. }
  7. @@@
  8. run: {command: 'emmet.increment_number_by_1', times: 6} ::: “Increment by 1” (Ctrl-↑)<br />“Decrement by 1” (Ctrl-↓)
  9. wait: 1000
  10. moveTo: 2:20
  11. wait: 1000
  12. run: {command: 'emmet.increment_number_by_01', times: 6} ::: “Increment by 0.1” (Alt-↑)<br />“Decrement by 0.1” (Alt-↓)
  13. wait: 1000
  14. moveTo: 3:12
  15. run: {command: 'emmet.increment_number_by_10', times: 6} ::: “Increment by 10” (Ctrl-Alt-↑)<br />“Decrement by 10” (Ctrl-Alt-↓)
  16. @@@
  17. mode: text/css