forked from qt-creator/qt-creator
		
	fakevim: don't let 'F'/'T' at the start of a document go into an endless loop
Merge-request: 99 Reviewed-by: hjk <qtc-committer@nokia.com>
This commit is contained in:
		@@ -2751,7 +2751,7 @@ void FakeVimHandler::Private::handleFfTt(int key)
 | 
			
		||||
    if (forward)
 | 
			
		||||
        n += block.length();
 | 
			
		||||
    int pos = m_tc.position();
 | 
			
		||||
    while (true) {
 | 
			
		||||
    while (pos != n) {
 | 
			
		||||
        pos += forward ? 1 : -1;
 | 
			
		||||
        if (pos == n)
 | 
			
		||||
            break;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user