#46 '\usepackage' added by looking at saved and not current text

v0.2
closed-fixed
5
2009-02-04
2009-01-29
Yannick Voglaire
No

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.

Discussion

    • status: open --> closed-fixed
     
  • Fixed in SVN

    Michael