From 35f92874a87be9f8e26b6b9c53ef4e47a50e894a Mon Sep 17 00:00:00 2001 From: schrom01 Date: Fri, 12 Nov 2021 15:15:38 +0100 Subject: [PATCH] changes in README.md --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 910e632..0475584 100644 --- a/README.md +++ b/README.md @@ -3,26 +3,26 @@ Texteditor is a program to edit a text by using the input and is then able to ou #Usermanual #ADD a paragraph ```ADD``` -Adds custom text to the last paragraph.

+Adds a paragraph with custom text.

Enter the command add to add a new paragraph at the end of text. After submitting the add command you will be prompted to enter the text to add as last paragraph. ```ADD [n]``` -Adds custom text to the desired paragraph.

+Adds a paragraph with custom text at a specific position in text.

Enter the command add with the paragraph number where it should be added. After submitting the add [n] command you will be prompted to enter the text to add in the corresponding paragraph. #DUMMY Text ```DUMMY``` -Inserts a dummy text at the end of the text.

+Inserts a paragraph with dummy text at the end of the text.

Enter the command dummy to enter a pre-written paragraph into the text as your last paragraph. ```DUMMY [n]``` -Inserts a dummy text in the selected paragraph.

-Enter the command dummy with a paragraph number to insert a pre-written dummy text in the corresponding paragraph. +Inserts a paragraph with dummy text at a specific position.

+Enter the command dummy with a paragraph number to insert a pre-written dummy text paragraph to a spcific position. #REPLACE a Text ```REPLACE``` -Replaces desired words in the whole text with a desired replacement.

+Replaces desired words in the last paragraph with a desired replacement.

Enter the command replace, after submitting the command replace enter the characters that should be replaced. After submitting the characters you will be need to input the characters wich will replace the previous characters. @@ -44,13 +44,13 @@ Enter the command del with a paragraph number, the corresponding paragraph will #INDEX the words ```INDEX``` Diplays the index of words used 3 times or more.

-Enter the command index to display the words that are displayed more than three times in a paragraph with their corresponding paragraphs. +Enter the command index to display the words that are displayed more than three times in the text with their corresponding paragraphs. #Print the Text ```PRINT``` Prints the text with the previously set format option.

Enter the command print to print out the current text you have. The Text will be printed with the settings set before (see FORMAT the Text). -If no settings have been set the standard to output is the RAW format. +If no settings have been set the standard to output is the FIX format and a line length of 20. #FORMAT the Text ```FORMAT RAW``` @@ -62,5 +62,5 @@ and each paragraph will be printed on one line with its corresponding paragraph Sets the format fix with the maximum line length.

Enter the command format fix and the max line length which will be used. After you changed the format to fix you can use the command ```PRINT``` again and the text will be displayed with the max length in mind and a new line will be created if no space is left for a paragraph. -If the word is too long to fit the paragraph it will be displayed as whole, ignoring the max length. +If a word is too long to fit the line length, it will be displayed as whole, ignoring the max length.