forked from qt-creator/qt-creator
		
	fakevim: when leaving visual mode, set move type to char or line according to visual mode
Merge-request: 99 Reviewed-by: hjk <qtc-committer@nokia.com>
This commit is contained in:
		@@ -3210,6 +3210,11 @@ void FakeVimHandler::Private::enterVisualMode(VisualMode visualMode)
 | 
			
		||||
 | 
			
		||||
void FakeVimHandler::Private::leaveVisualMode()
 | 
			
		||||
{
 | 
			
		||||
    if (isVisualLineMode())
 | 
			
		||||
        m_movetype = MoveLineWise;
 | 
			
		||||
    else if (isVisualCharMode())
 | 
			
		||||
        m_movetype = MoveInclusive;
 | 
			
		||||
 | 
			
		||||
    m_visualMode = NoVisualMode;
 | 
			
		||||
    updateMiniBuffer();
 | 
			
		||||
    updateSelection();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user