MiniIncrementer
Description
An incrementer for an integer variables.
C-= to increment. If no variable is selected, it'll prompt you for one. C– to decrement. You may select another variable with M-x select-variable.
The incrementer may be specialized on one variable, in which case the incrementVariable is fixed and cannot be changed. No select-variable will be exposed.
C-= to increment by 1.
C-u 10 C-= to increment by 10.
C-u C-= to increment by 4.
C-u C-u C-= to increment by 16.
Public Member Functions | |
string | SelectVariable ([Prompt("Select integer variable: ", completer="variable-int")] string variableName) |
Command select-variable: Select an integer variable for M-x increment and M-x decrement to use. More... | |
void | Increment ([UniversalArgument] int?amount, string variableName=null) |
Command increment: Increment the current integer variable by 1 (C-u to change). More... | |
void | Decrement ([UniversalArgument] int?amount, string variableName=null) |
Command decrement: Decrement the current integer variable by 1 (C-u to change). More... | |