#include "support/types.h"
#include "support/SignalSlot.h"
-#include <set>
#include <string>
#include <vector>
class LaTeXFeatures;
class Language;
class MacroData;
+class MacroNameSet;
class OutputParams;
class Paragraph;
class ParConstIterator;
class TexRow;
class TocBackend;
class Undo;
+class WordList;
namespace frontend {
class GuiBufferDelegate;
/// Iterate through the whole buffer and try to resolve macros
void updateMacroInstances() const;
- typedef std::set<docstring> MacroNameSet;
-
/// List macro names of this buffer. the parent and the children
void listMacroNames(MacroNameSet & macros) const;
/// Write out all macros somewhere defined in the parent,
/// Register word for completion word list.
void registerWord(docstring const & word);
///
- std::set<docstring> const & registeredWords() const { return words_; }
+ WordList const & registeredWords() const;
private:
/// search for macro in local (buffer) table or in children
//Signal setBusy(bool) = 0;
/// Reset autosave timers for all users.
Signal resetAutosaveTimers_;
-
- std::set<docstring> words_;
};