Puts command(s) to the beginning of the command buffer
(String text)
| 48 | * Puts command(s) to the beginning of the command buffer |
| 49 | */ |
| 50 | public static void InsertText(String text) { |
| 51 | List<String> commands = splitCommandLine(text); |
| 52 | for (int i = commands.size() - 1; i >= 0; i--) |
| 53 | buffer.push(commands.get(i)); |
| 54 | } |
| 55 | |
| 56 | /** |
| 57 | * Split string by new line or unquoted semicolon |
no test coverage detected