forked from qt-creator/qt-creator
TextEditor: Replace PlainTextEditorWidget by Base + a setup function
Change-Id: I91a3bfb66a72e9234ca59f97d5260bbfc3ccb0d3 Reviewed-by: Christian Stenger <christian.stenger@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -514,7 +514,7 @@ protected:
|
||||
virtual bool replacementVisible(int blockNumber) const;
|
||||
virtual QColor replacementPenColor(int blockNumber) const;
|
||||
|
||||
virtual BaseTextEditor *createEditor() = 0;
|
||||
virtual BaseTextEditor *createEditor();
|
||||
virtual void triggerPendingUpdates();
|
||||
virtual void applyFontSettings();
|
||||
|
||||
@@ -550,6 +550,8 @@ public:
|
||||
|
||||
QString selectedText() const;
|
||||
|
||||
void setupAsPlainEditor();
|
||||
|
||||
protected:
|
||||
/*!
|
||||
Reimplement this function to enable code navigation.
|
||||
|
||||
Reference in New Issue
Block a user