The final feature discussed in this chapter provides a way to repeat a command any number of times.
To repeat a command multiple times, press Control-Enter, enter the desired repeat count, then invoke the command to repeat (either using a keyboard shortcut, or by selecting it from the menu bar). For example, “Control-Enter 1 4 Control-D” will delete 14 lines; “Control-Enter 9 #” will insert “#########” in the buffer.
If you specify a repeat count greater than 20, a confirmation dialog box will be displayed, asking if you really want to perform the action. This prevents you from hanging jEdit by executing a command too many times.