forked from qt-creator/qt-creator
		
	Utils: First step to extend search results for clang query support
We need multi line support, multi text range support. This is only adding enablers and adds later the multi line and multi text support because this triggers larger changes because you have to know the text document. Change-Id: I44e46d9d80d7d73b2650c69cc83657c20c85bfae Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
		@@ -481,7 +481,8 @@ void CppFindReferences::openEditor(const SearchResultItem &item)
 | 
			
		||||
{
 | 
			
		||||
    if (item.path.size() > 0) {
 | 
			
		||||
        EditorManager::openEditorAt(QDir::fromNativeSeparators(item.path.first()),
 | 
			
		||||
                                              item.lineNumber, item.textMarkPos);
 | 
			
		||||
                                    item.mainRange.begin.line,
 | 
			
		||||
                                    item.mainRange.begin.column);
 | 
			
		||||
    } else {
 | 
			
		||||
        EditorManager::openEditor(QDir::fromNativeSeparators(item.text));
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user