Changeset View
Changeset View
Standalone View
Standalone View
src/view/kateviewinternal.cpp
Show First 20 Lines • Show All 2949 Lines • ▼ Show 20 Line(s) | 2935 | { | |||
---|---|---|---|---|---|
2950 | QPainter paint(this); | 2950 | QPainter paint(this); | ||
2951 | paint.setRenderHints(QPainter::Antialiasing); | 2951 | paint.setRenderHints(QPainter::Antialiasing); | ||
2952 | 2952 | | |||
2953 | paint.save(); | 2953 | paint.save(); | ||
2954 | 2954 | | |||
2955 | renderer()->setCaretStyle(m_currentInputMode->caretStyle()); | 2955 | renderer()->setCaretStyle(m_currentInputMode->caretStyle()); | ||
2956 | renderer()->setShowTabs(doc()->config()->showTabs()); | 2956 | renderer()->setShowTabs(doc()->config()->showTabs()); | ||
2957 | renderer()->setShowTrailingSpaces(doc()->config()->showSpaces()); | 2957 | renderer()->setShowTrailingSpaces(doc()->config()->showSpaces()); | ||
2958 | renderer()->updateMarkerSize(); | ||||
2958 | 2959 | | |||
2959 | int sy = startz * h; | 2960 | int sy = startz * h; | ||
2960 | paint.translate(unionRect.x(), startz * h); | 2961 | paint.translate(unionRect.x(), startz * h); | ||
2961 | 2962 | | |||
2962 | for (uint z = startz; z <= endz; z++) { | 2963 | for (uint z = startz; z <= endz; z++) { | ||
2963 | paint.save(); | 2964 | paint.save(); | ||
2964 | 2965 | | |||
2965 | if ((z >= lineRangesSize) || (cache()->viewLine(z).line() == -1)) { | 2966 | if ((z >= lineRangesSize) || (cache()->viewLine(z).line() == -1)) { | ||
▲ Show 20 Lines • Show All 812 Lines • Show Last 20 Lines |