6 #ifndef TEXTFORMATTER_H_
7 #define TEXTFORMATTER_H_
11 #include <boost/shared_ptr.hpp>
13 #include <srchilite/formatter.h>
15 class FormatterParams;
16 class QSyntaxHighlighter;
43 void setElem(
const std::string &e) { elem = e; }
45 virtual void setQSyntaxHighlighter(QSyntaxHighlighter *qSyntaxHighlighter_) = 0;
49 typedef boost::shared_ptr<TextFormatter> TextFormatterPtr;
Definition: ColorDialog.cpp:12
std::string elem
the language element represented by this formatter
Definition: TextFormatter.h:33
A specialization of srchilite::Formatter in order to format parts of a document, instead of outputtin...
Definition: TextFormatter.h:30
const std::string & getElem() const
Definition: TextFormatter.h:42