Commit 7c050eb4 authored by hjk's avatar hjk
Browse files

basetextdocument.h: code cosmetics

parent 5710fed5
......@@ -44,9 +44,6 @@ class QTextDocument;
namespace TextEditor {
namespace Internal {
class DocumentMarker;
class ITextMarkable;
class StorageSettings;
......@@ -73,7 +70,7 @@ public:
ITextMarkable *documentMarker() const;
// IFile implementation.
virtual bool save(const QString &fileName = QString());
virtual QString fileName() const;
virtual bool isReadOnly() const;
......@@ -99,22 +96,20 @@ public:
void setSyntaxHighlighter(SyntaxHighlighter *highlighter);
SyntaxHighlighter *syntaxHighlighter() const;
bool hasDecodingError() const;
QTextCodec *codec() const;
void setCodec(QTextCodec *c);
QByteArray decodingErrorSample() const;
void reload(QTextCodec *codec);
void cleanWhitespace(const QTextCursor &cursor);
void titleChanged(QString title);
void cleanWhitespace(QTextCursor& cursor, bool cleanIndentation, bool inEntireDocument);
void ensureFinalNewLine(QTextCursor& cursor);
void cleanWhitespace(QTextCursor &cursor, bool cleanIndentation, bool inEntireDocument);
void ensureFinalNewLine(QTextCursor &cursor);
void documentClosing();
BaseTextDocumentPrivate *d;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment