Changeset View
Changeset View
Standalone View
Standalone View
src/view/kateviewhelpers.h
Show First 20 Lines • Show All 91 Lines • ▼ Show 20 Line(s) | 341 | private: | |||
---|---|---|---|---|---|
345 | 345 | | |||
346 | bool m_iconBorderOn: 1; | 346 | bool m_iconBorderOn: 1; | ||
347 | bool m_lineNumbersOn: 1; | 347 | bool m_lineNumbersOn: 1; | ||
348 | bool m_relLineNumbersOn:1; | 348 | bool m_relLineNumbersOn:1; | ||
349 | bool m_updateRelLineNumbers:1; | 349 | bool m_updateRelLineNumbers:1; | ||
350 | bool m_foldingMarkersOn: 1; | 350 | bool m_foldingMarkersOn: 1; | ||
351 | bool m_dynWrapIndicatorsOn: 1; | 351 | bool m_dynWrapIndicatorsOn: 1; | ||
352 | bool m_annotationBorderOn: 1; | 352 | bool m_annotationBorderOn: 1; | ||
353 | 353 | bool m_updatePositionToArea: 1; | |||
354 | | ||||
355 | typedef QPair<int, KateIconBorder::BorderArea> AreaPosition; | ||||
356 | QVector<AreaPosition> m_positionToArea; | ||||
357 | | ||||
358 | const int m_separatorWidth = 2; | ||||
359 | const int m_modAreaWidth = 3; | ||||
360 | qreal m_maxCharWidth = 0.0; | ||||
361 | int m_lineNumberAreaWidth = 0; | ||||
362 | int m_iconAreaWidth = 0; | ||||
363 | int m_foldingAreaWidth = 0; | ||||
364 | int m_annotationAreaWidth = 0; | ||||
354 | const QChar m_dynWrapIndicatorChar = QChar(0x21AA); | 365 | const QChar m_dynWrapIndicatorChar = QChar(0x21AA); | ||
355 | int m_dynWrapIndicators; | 366 | int m_dynWrapIndicators = 0; | ||
356 | int m_lastClickedLine; | 367 | int m_lastClickedLine = -1; | ||
357 | int m_cachedLNWidth; | | |||
358 | qreal m_maxCharWidth; | | |||
359 | int iconPaneWidth; | | |||
360 | int m_annotationBorderWidth; | | |||
361 | 368 | | |||
362 | KTextEditor::AbstractAnnotationItemDelegate *m_annotationItemDelegate; | 369 | KTextEditor::AbstractAnnotationItemDelegate *m_annotationItemDelegate; | ||
363 | bool m_hasUniformAnnotationItemSizes = false; | 370 | bool m_hasUniformAnnotationItemSizes = false; | ||
364 | bool m_isDefaultAnnotationItemDelegate = true; | 371 | bool m_isDefaultAnnotationItemDelegate = true; | ||
365 | 372 | | |||
366 | mutable QColor m_oldBackgroundColor; | | |||
367 | | ||||
368 | QPointer<KateTextPreview> m_foldingPreview; | 373 | QPointer<KateTextPreview> m_foldingPreview; | ||
369 | KTextEditor::MovingRange *m_foldingRange; | 374 | KTextEditor::MovingRange *m_foldingRange; | ||
370 | int m_nextHighlightBlock; | 375 | int m_nextHighlightBlock; | ||
371 | int m_currentBlockLine; | 376 | int m_currentBlockLine; | ||
372 | QTimer m_delayFoldingHlTimer; | 377 | QTimer m_delayFoldingHlTimer; | ||
373 | void showDelayedBlock(int line); | 378 | void showDelayedBlock(int line); | ||
374 | void hideBlock(); | 379 | void hideBlock(); | ||
375 | 380 | | |||
▲ Show 20 Lines • Show All 91 Lines • Show Last 20 Lines |