Changeset View
Changeset View
Standalone View
Standalone View
src/render/katerenderer.h
Show First 20 Lines • Show All 281 Lines • ▼ Show 20 Line(s) | 191 | void updateMarkerSize(); | |||
---|---|---|---|---|---|
282 | */ | 282 | */ | ||
283 | bool isLineRightToLeft(KateLineLayoutPtr lineLayout) const; | 283 | bool isLineRightToLeft(KateLineLayoutPtr lineLayout) const; | ||
284 | 284 | | |||
285 | /** | 285 | /** | ||
286 | * The ultimate decoration creation function. | 286 | * The ultimate decoration creation function. | ||
287 | * | 287 | * | ||
288 | * \param selectionsOnly return decorations for selections and/or dynamic highlighting. | 288 | * \param selectionsOnly return decorations for selections and/or dynamic highlighting. | ||
289 | */ | 289 | */ | ||
290 | QVector<QTextLayout::FormatRange> decorationsForLine(const Kate::TextLine &textLine, int line, bool selectionsOnly = false, KateRenderRange *completionHighlight = nullptr, bool completionSelected = false) const; | 290 | QVector<QTextLayout::FormatRange> decorationsForLine(const Kate::TextLine &textLine, int line, bool selectionsOnly = false, bool completionHighlight = false, bool completionSelected = false) const; | ||
291 | 291 | | |||
292 | // Width calculators | 292 | // Width calculators | ||
293 | qreal spaceWidth() const; | 293 | qreal spaceWidth() const; | ||
294 | 294 | | |||
295 | /** | 295 | /** | ||
296 | * Returns the x position of cursor \p col on the line \p range. | 296 | * Returns the x position of cursor \p col on the line \p range. | ||
297 | */ | 297 | */ | ||
298 | int cursorToX(const KateTextLayout &range, int col, bool returnPastLine = false) const; | 298 | int cursorToX(const KateTextLayout &range, int col, bool returnPastLine = false) const; | ||
▲ Show 20 Lines • Show All 140 Lines • Show Last 20 Lines |