forked from qt-creator/qt-creator
texteditor: merge ITextEditable into ITextEditor
rename BastTextEditor->BaseTextEditorWidget, BaseTextEditorEditable->BaseTextEditor
rename BaseTextEditor{,Widget} subclasses
rename editableInterface->editorInterface
rename createEditableInterface->createEditor
minor cleanups after renamings
This commit is contained in:
@@ -85,7 +85,7 @@ static bool colonIsElectric(const QString &text)
|
||||
void CppQtStyleIndenter::indentBlock(QTextDocument *doc,
|
||||
const QTextBlock &block,
|
||||
const QChar &typedChar,
|
||||
TextEditor::BaseTextEditor *editor)
|
||||
TextEditor::BaseTextEditorWidget *editor)
|
||||
{
|
||||
Q_UNUSED(doc)
|
||||
|
||||
@@ -117,7 +117,7 @@ void CppQtStyleIndenter::indentBlock(QTextDocument *doc,
|
||||
void CppQtStyleIndenter::indent(QTextDocument *doc,
|
||||
const QTextCursor &cursor,
|
||||
const QChar &typedChar,
|
||||
TextEditor::BaseTextEditor *editor)
|
||||
TextEditor::BaseTextEditorWidget *editor)
|
||||
{
|
||||
if (cursor.hasSelection()) {
|
||||
QTextBlock block = doc->findBlock(cursor.selectionStart());
|
||||
|
||||
Reference in New Issue
Block a user