forked from qt-creator/qt-creator
Debugger: Add Run to/Jump to Line to text editor context menu.
Remove actions from debugger plugin as they are not directly usable. Create additional actions in context menu. Move some code around to find the current editor.
This commit is contained in:
@@ -91,6 +91,10 @@ QString quoteUnprintableLatin1(const QByteArray &ba);
|
||||
bool isCppEditor(Core::IEditor *editor);
|
||||
QString cppExpressionAt(TextEditor::ITextEditor *editor, int pos,
|
||||
int *line, int *column, QString *function = 0);
|
||||
// Editor helpers
|
||||
TextEditor::ITextEditor *currentTextEditor();
|
||||
bool currentTextEditorPosition(QString *fileNameIn = 0,
|
||||
int *lineNumberIn = 0);
|
||||
|
||||
// Decode string data as returned by the dumper helpers.
|
||||
QString decodeData(const QByteArray &baIn, int encoding);
|
||||
|
||||
Reference in New Issue
Block a user