A simple text editor with input and output via the console.
- Open the repository in the IntelliJ IDE and navigate to the
App.javafile. - Click
Runnext to theCurrent Fileoption on the toolbar. - The program is compiled and started accordingly. After that the commands listed below can be used in the console.
| Command | Parameter | Description |
|---|---|---|
| ADD [n] | Optional | Adds a paragraph at position n or at the end if no parameter given. |
| DEL [n] | Optional | Removes a paragraph at position n or the last one if no parameter given. |
| DUMMY [n] | Optional | Adds a dummy paragraph at position n or at the end if no parameter given. |
| EXIT | None | Exits the program. |
| FORMAT FIX [n] | Required | Changes the output format of the paragraphs to only be n columns wide. |
| FORMAT RAW | None | Changes the output format to a raw output of the paragraphs. |
| HELP | None | Prints the help text. |
| INDEX | None | Indexes word frequency in paragraphs and prints out frequent words. |
| None | Prints out all Paragraphs in the current format. | |
| REPLACE [n] | Optional | Replaces a sequence of characters in paragraph n or in the last paragraph if no parameter given. |
