logic: Improved code view performance
* Don't set stylesheet for every token activation * Streamlined code area creation steps * Delay most syntax highlighting until lines become visible
This commit is contained in:
@@ -188,8 +188,7 @@ private:
|
||||
std::vector<Annotation> m_annotations;
|
||||
std::vector<const Annotation*> m_hoveredAnnotations;
|
||||
|
||||
// Remove when annotations become unique regarding start and end, and store multiple tokenIds
|
||||
std::vector<Annotation*> m_colorChangedAnnotations;
|
||||
std::set<size_t> m_colorChangedAnnotationIndices;
|
||||
|
||||
int m_digits;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user