How to disable all words AutoCorrect but keep "drawing a line when you type three identical characters"?

I read this: Turning Off AutoCorrect - LibreOffice Help

In the tutorial above, there is the option to exclude from autocorrect only certain words or to “To turn off most AutoCorrect features” which also disables “Drawing a line when you type three identical characters” (which I want to keep).

Question: How to disable all words AutoCorrect but keep “drawing a line when you type three identical characters”?

AutoCorrect and the wavy red line under misspelled words are two different things. If AutoCorrect becomes an annoyance for you, just turn it off.

You can keep spellchecking while you type so that you are notified immediately of typing errors, i.e. words not in the dictionary for your language.

Spellchecking parameters are in Tools>Options, Language Settings>Writing Aids. A comprehensive list of settings is available in Options. Check the boxes you need. Make sure the required User-defined dictionaries are enabled.

In case your dictionary (language) is not listed, verify in Tools>Options, Language Settings>Languages the linguistic configuration is consistent with your requirement. You might need to download a language pack to add the missing language/dictionary.

To show the community your question has been answered, click the ✓ next to the correct answer, and “upvote” by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

EDT 2018-08-22

Obviously, I didn’t understand the question. So, here is supplementary information.

There is no horizontal line per se in LO Writer. The “===” AutoCorrect entry expands in fact to an empty paragraph with a border (upper or lower, I don’t remember but it does not matter).

You can clone this feature by creating a paragraph style with the required settings, aka. an upper or lower border with the adequate spacings above and below . Don’t forget to set also the font size (minimum is 2pt), so that the line appears exactly where you want it. Also, set the Next paragraph style in Organizer tab to Text Body.

Associate this paragraph style with a keyboard shortcut to allow you to style an empty paragraph without leaving the keyboard.

Afterwards, the procedure is as follow: when you want an horizontal line, type Enter to put the cursor in a new empty paragraph, then the keyboard shortcut for your H-line paragraph style. Typing anew Enter leaves the H-line paragraph and opens a new Text Body paragraph for “normal” entry.

If this is convenient for you, you can fully disable AutoCorrect.

By “drawing line” I mean drawing the horizontal line when I input === and after press enter button. I do not mean the red line that underlines incorrectly typed words.

Apologies for not having understood the question