Changeset View
Changeset View
Standalone View
Standalone View
src/view/kateviewhelpers.h
Show First 20 Lines • Show All 365 Lines • ▼ Show 20 Line(s) | 341 | private: | |||
---|---|---|---|---|---|
366 | int m_dynWrapIndicators = 0; | 366 | int m_dynWrapIndicators = 0; | ||
367 | int m_lastClickedLine = -1; | 367 | int m_lastClickedLine = -1; | ||
368 | 368 | | |||
369 | KTextEditor::AbstractAnnotationItemDelegate *m_annotationItemDelegate; | 369 | KTextEditor::AbstractAnnotationItemDelegate *m_annotationItemDelegate; | ||
370 | bool m_hasUniformAnnotationItemSizes = false; | 370 | bool m_hasUniformAnnotationItemSizes = false; | ||
371 | bool m_isDefaultAnnotationItemDelegate = true; | 371 | bool m_isDefaultAnnotationItemDelegate = true; | ||
372 | 372 | | |||
373 | QPointer<KateTextPreview> m_foldingPreview; | 373 | QPointer<KateTextPreview> m_foldingPreview; | ||
374 | KTextEditor::MovingRange *m_foldingRange; | 374 | KTextEditor::MovingRange *m_foldingRange = nullptr; | ||
375 | int m_nextHighlightBlock; | 375 | int m_currentLine = -1; | ||
376 | int m_currentBlockLine; | 376 | QTimer m_antiFlickerTimer; | ||
377 | QTimer m_delayFoldingHlTimer; | 377 | void highlightFoldingDelayed(int line); | ||
378 | void showDelayedBlock(int line); | 378 | void hideFolding(); | ||
379 | void hideBlock(); | | |||
380 | 379 | | |||
381 | private Q_SLOTS: | 380 | private Q_SLOTS: | ||
382 | void showBlock(); | 381 | void highlightFolding(); | ||
383 | void handleDestroyedAnnotationItemDelegate(); | 382 | void handleDestroyedAnnotationItemDelegate(); | ||
384 | 383 | | |||
385 | private: | 384 | private: | ||
386 | QString m_hoveredAnnotationGroupIdentifier; | 385 | QString m_hoveredAnnotationGroupIdentifier; | ||
387 | 386 | | |||
388 | void initializeFoldingColors(); | 387 | void initializeFoldingColors(); | ||
389 | }; | 388 | }; | ||
390 | 389 | | |||
▲ Show 20 Lines • Show All 277 Lines • Show Last 20 Lines |