forked from qt-creator/qt-creator
		
	texteditor: return information on whether openEditor actually created an
editor or re-used an existing one
This commit is contained in:
		@@ -1199,7 +1199,8 @@ void DebuggerPlugin::resetLocation()
 | 
			
		||||
 | 
			
		||||
void DebuggerPlugin::gotoLocation(const QString &file, int line, bool setMarker)
 | 
			
		||||
{
 | 
			
		||||
    TextEditor::BaseTextEditor::openEditorAt(file, line);
 | 
			
		||||
    bool newEditor = false;
 | 
			
		||||
    TextEditor::BaseTextEditor::openEditorAt(file, line, 0, QString(), &newEditor);
 | 
			
		||||
    if (setMarker) {
 | 
			
		||||
        resetLocation();
 | 
			
		||||
        m_locationMark = new LocationMark(file, line);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user