3 * \file MathCompletionList.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Stefan Schimanski
9 * Full author contact details are available in file CREDITS.
12 #ifndef MATH_COMPLETIONLIST_H
13 #define MATH_COMPLETIONLIST_H
15 #include "CompletionList.h"
17 #include "support/docstring.h"
24 class MathCompletionList
: public CompletionList
{
27 MathCompletionList(Cursor
const & cur
);
29 virtual ~MathCompletionList();
32 virtual bool sorted() const { return false; }
34 virtual size_t size() const;
36 virtual docstring
const & data(size_t idx
) const;
38 virtual std::string
icon(size_t idx
) const;
41 static void addToFavorites(docstring
const & completion
);
45 static std::vector
<docstring
> globals
;
47 std::vector
<docstring
> locals
;
52 #endif // MATH_COMPLETIONLIST_H