forked from qt-creator/qt-creator
		
	Introduced a token cache for the C++ editor.
This should speed things up a bit, because before, the line was tokenized at least 3 times.
This commit is contained in:
		@@ -15,7 +15,8 @@ HEADERS += \
 | 
			
		||||
    $$PWD/TokenUnderCursor.h \
 | 
			
		||||
    $$PWD/BackwardsScanner.h \
 | 
			
		||||
    $$PWD/MatchingText.h \
 | 
			
		||||
    $$PWD/OverviewModel.h
 | 
			
		||||
    $$PWD/OverviewModel.h \
 | 
			
		||||
    $$PWD/TokenCache.h
 | 
			
		||||
 | 
			
		||||
SOURCES += \
 | 
			
		||||
    $$PWD/Icons.cpp \
 | 
			
		||||
@@ -23,7 +24,8 @@ SOURCES += \
 | 
			
		||||
    $$PWD/TokenUnderCursor.cpp \
 | 
			
		||||
    $$PWD/BackwardsScanner.cpp \
 | 
			
		||||
    $$PWD/MatchingText.cpp \
 | 
			
		||||
    $$PWD/OverviewModel.cpp
 | 
			
		||||
    $$PWD/OverviewModel.cpp \
 | 
			
		||||
    $$PWD/TokenCache.cpp
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
HEADERS += \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user