forked from qt-creator/qt-creator
Work with documents instead of editors where possible in debugger
And where using editors is necessary, take *all* editors into account, not a random set of what previously was called "original" editors (when using splits). Change-Id: Id6bbad08f3083b6744fc2edcf0b87ba504d3257b Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
#include <QTextDocument>
|
||||
|
||||
namespace Core {
|
||||
class IEditor;
|
||||
class IDocument;
|
||||
}
|
||||
|
||||
namespace Debugger {
|
||||
@@ -181,7 +181,7 @@ private:
|
||||
const QString &oldBasePath, const QString &newBasePath) const;
|
||||
QString qmlImportPath() const;
|
||||
|
||||
void updateEditor(Core::IEditor *editor, const QTextDocument *document);
|
||||
void updateDocument(Core::IDocument *document, const QTextDocument *textDocument);
|
||||
bool canEvaluateScript(const QString &script);
|
||||
bool adjustBreakpointLineAndColumn(const QString &filePath, quint32 *line,
|
||||
quint32 *column, bool *valid);
|
||||
|
||||
Reference in New Issue
Block a user