forked from qt-creator/qt-creator
TextEditors: Move indenter to document.
Change-Id: I8bdf7134562d007aa16cc63a34f5a15a708577ae Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -41,13 +41,14 @@ QT_END_NAMESPACE
|
||||
|
||||
namespace TextEditor {
|
||||
|
||||
class ITextMarkable;
|
||||
class TypingSettings;
|
||||
class StorageSettings;
|
||||
class TabSettings;
|
||||
class ExtraEncodingSettings;
|
||||
class SyntaxHighlighter;
|
||||
class BaseTextDocumentPrivate;
|
||||
class ExtraEncodingSettings;
|
||||
class ITextMarkable;
|
||||
class Indenter;
|
||||
class StorageSettings;
|
||||
class SyntaxHighlighter;
|
||||
class TabSettings;
|
||||
class TypingSettings;
|
||||
|
||||
class TEXTEDITOR_EXPORT BaseTextDocument : public ITextEditorDocument
|
||||
{
|
||||
@@ -72,6 +73,9 @@ public:
|
||||
const TabSettings &tabSettings() const;
|
||||
const ExtraEncodingSettings &extraEncodingSettings() const;
|
||||
|
||||
void setIndenter(Indenter *indenter);
|
||||
Indenter *indenter() const;
|
||||
|
||||
ITextMarkable *markableInterface() const;
|
||||
|
||||
// IDocument implementation.
|
||||
|
||||
Reference in New Issue
Block a user