forked from qt-creator/qt-creator
		
	TextEditor: Merge some "assist" related classes
Simplifies the code base by removing one level of unused
and unneeded abstraction.
- Merge {I,Default}AssistInterface to AssistInterface
- Merge {IAssist,Basic}ProposalItem to AssistProposalItem
- Merge {IGenericProposal,BasicProposalItemList}Model to GenericProposalModel
Change-Id: I54ee7b095427383d67a00fc1d87c3808c21d812d
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
			
			
This commit is contained in:
		@@ -48,8 +48,8 @@ using namespace Internal;
 | 
			
		||||
// -----------------------
 | 
			
		||||
QmlJSQuickFixAssistInterface::QmlJSQuickFixAssistInterface(QmlJSEditorWidget *editor,
 | 
			
		||||
                                                           TextEditor::AssistReason reason)
 | 
			
		||||
    : DefaultAssistInterface(editor->document(), editor->position(),
 | 
			
		||||
                             editor->textDocument()->filePath(), reason)
 | 
			
		||||
    : AssistInterface(editor->document(), editor->position(),
 | 
			
		||||
                      editor->textDocument()->filePath(), reason)
 | 
			
		||||
    , m_semanticInfo(editor->qmlJsEditorDocument()->semanticInfo())
 | 
			
		||||
    , m_currentFile(QmlJSRefactoringChanges::file(editor, m_semanticInfo.document))
 | 
			
		||||
{}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user