diff options
Diffstat (limited to 'objects/basetexteditor.h')
-rw-r--r-- | objects/basetexteditor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/objects/basetexteditor.h b/objects/basetexteditor.h index 31b9866..10c77ce 100644 --- a/objects/basetexteditor.h +++ b/objects/basetexteditor.h @@ -124,11 +124,13 @@ public slots: bool findRegexp(const QString& regexp, bool backward = false, bool caseSensitively = false, bool wholeWords = false); void indent(); void deleteRegion( const Position& from, const Position& to); + QString text( const Position& from, const Position& to); void gotoDocumentStart(); void gotoDocumentEnd(); int lineCount(); private: + QString fetchSelectionAndDelete( const Position& from, const Position& to, bool del); QTextDocument::FindFlags flags(bool backward, bool caseSensitively, bool wholeWords) const; }; |