forked from qt-creator/qt-creator
TextEditor: Rename BaseTextEditorWidget to TextEditorWidget
... and some of the related implementation details Change-Id: I1f03aa5acf2d3fb2cfc2a6a7845f3d3578b0408d Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
@@ -260,7 +260,7 @@ bool getUninitializedVariables(const Snapshot &snapshot,
|
||||
|
||||
|
||||
// Editor tooltip support
|
||||
bool isCppEditor(BaseTextEditorWidget *editorWidget)
|
||||
bool isCppEditor(TextEditorWidget *editorWidget)
|
||||
{
|
||||
const TextDocument *document = editorWidget->textDocument();
|
||||
return ProjectFile::classify(document->filePath()) != ProjectFile::Unclassified;
|
||||
@@ -281,7 +281,7 @@ QString cppFunctionAt(const QString &fileName, int line, int column)
|
||||
|
||||
|
||||
// Return the Cpp expression, and, if desired, the function
|
||||
QString cppExpressionAt(BaseTextEditorWidget *editorWidget, int pos,
|
||||
QString cppExpressionAt(TextEditorWidget *editorWidget, int pos,
|
||||
int *line, int *column, QString *function /* = 0 */)
|
||||
{
|
||||
*line = *column = 0;
|
||||
|
||||
Reference in New Issue
Block a user