Guard against use of editable interface before it's created.

Reviewed-by: Thorbjørn Lindeijer
Task-number: QTCREATORBUG-1261
This commit is contained in:
con
2010-04-23 14:31:47 +02:00
parent 2b3906be4d
commit b169ff5800
2 changed files with 8 additions and 10 deletions

View File

@@ -315,7 +315,7 @@ public:
, int at = -1) const;
void convertPosition(int pos, int *line, int *column) const;
ITextEditable *editableInterface() const;
BaseTextEditorEditable *editableInterface() const;
ITextMarkable *markableInterface() const;
virtual void triggerCompletions();