class IntegerInsertAction : DataInsertAction
Inserts random integers.
scheme
- the scheme to use for generating integers
class ArrayAction : DataInsertArrayAction
Inserts an array-like string of integers. |
|
class RepeatAction : DataInsertRepeatAction
Inserts repeated random integers. |
|
class RepeatArrayAction : DataInsertRepeatArrayAction
Inserts repeated array-like strings of integers. |
IntegerInsertAction(scheme: IntegerScheme = IntegerSettings.default.currentScheme)
Inserts random integers. |
val name: String
The name of the action to display. |
var random: Random
The random generator used to generate random values. |
fun generateStrings(count: Int): List<String>
Returns random integers between the minimum and maximum value, inclusive. |
open fun actionPerformed(event: AnActionEvent): Unit
Inserts the data generated by generateStrings at the caret(s) in the editor; one datum for each caret. |
|
fun generateString(): String
Generates a random datum. |
|
open fun update(event: AnActionEvent): Unit
Sets the title of this action and disables this action if no editor is currently opened. |