[Tex/LaTex] Why does TeXShop add a dot after autocomplete


Why does TeXShop add a dot after auto-completing an environment? An example is shown in the following image:
enter image description here

I'm referring to the dot after \end{itemize}. If I don't delete it pdflatexmk can not compile the document and throws the following error:

Package inputenc Error: Keyboard character used is undefined
(inputenc) in inputencoding 'utf8'.

What is the purpose of the dot?

Best Answer

I raised this issue on the TeX on OS X mailing list a few years ago, and received the following reply from Herb Schulz, who created the basic autocompletion file for TeXShop:

Well, they will show up depending upon your input encoding. You are supposed to replace them by using the Next/Previous Mark commands to move and select them and replace them. When I go to the final • at the end of the environment I simply hit return and it gets removed and a newline is entered. I like to isolate environments. And you can remove them by editing the CommandCompletion.txt file in TeXShop if you wish.

Personally, I've never found them very helpful, but the idea is that you can move from one to the other and replace them easily.

You can read the entire thread here: Still trying to understand autocompletion.

Related Question