In TeXstudio, if I paste lines of text that contain leading spaces, they are altered automatically by the editor producing an undesirable layout.
MWE: Copy the following snippet and paste it in the editor.
\begin{verbatim}
1
-----
s + 1
\end{verbatim}
This is how it looks after pasting:
\begin{verbatim}
1
-----
s + 1
\end{verbatim}
- Why is this happening?
- How can I keep the indentation of the pasted text intact?