latexer
latexer copied to clipboard
Wrong autocompletion in multi-select mode
Using the multiselction mode, the autocompletion with the "begin-end" section will become a little bit weird. Example code: \begin{align* \end{align_}} \begin{align_ \end{align*}}
I guess the main problem is the code does not auto complete the brackets in the multi-selection mode. Everything else is pretty good!
Hi, thanks for submitting the report. Could you please clarify which bits are the bits that you are typing and which parts does the program autocomplete?
Typing: \begin{align_} [I usually typed the brackets first, then the environment name, in multiselection mode] \begin{align_}
Autocomplete[should've] : \begin{align_} \end{align_} \begin{align_} \end{align_}
After Autocomplete[in reality]: \begin{align* \end{align_}} \begin{align_ \end{align*}}
Problem would not occur if typing directly like { align } rather than {} <- align*
Also: Autocomplete in environment name will not occur if I click enter twice (fast). For example: [should've] \begin{align*}
\end{align*}
In reality: \begin{align*} [enter] [enter]
Hope I clarify your confusion. :D
Thanks. I can confirm the bug. This happens because the program checks the line above for a unmatched environment. I didn't really think about multiselection mode.