'\usepackage' added by looking at saved and not current text
Brought to you by:
m_zeising
When typing commands like "\begin{pmatrix" with code completion, a "\usepackage{amsmath}" is inserted if not present already.
But the program actually looks at the saved file to decide if it is present already, instead of looking at the current buffer in gedit.
This makes it add possibly many times the same \usepackage{amsmath} if the file is not saved between two uses of the code completion.
Fixed in SVN
Michael