Kate
katerenderer.h
  
Go to the documentation of this file.
  244     QList<QTextLayout::FormatRange> decorationsForLine(const Kate::TextLine& textLine, int line, bool selectionsOnly = false, KateRenderRange* completionHighlight = 0L, bool completionSelected = false) const;
  254     int cursorToX(const KateTextLayout& range, const KTextEditor::Cursor& pos, bool returnPastLine = false) const;
  261     KTextEditor::Cursor xToCursor(const KateTextLayout& range, int x, bool returnPastLine = false) const;
  287     void paintTextLine(QPainter& paint, KateLineLayoutPtr range, int xStart, int xEnd, const KTextEditor::Cursor* cursor = 0L);
  303     void paintTextLineBackground(QPainter& paint, KateLineLayoutPtr layout, int currentViewLine, int xStart, int xEnd);
  333     void assignSelectionBrushesFromAttribute(QTextLayout::FormatRange& target, const KTextEditor::Attribute& attribute) const;
int cursorToX(const KateTextLayout &range, int col, bool returnPastLine=false) const 
Returns the x position of cursor col on the line range. 
Definition: katerenderer.cpp:1048
void setShowSelections(bool showSelections)
Set whether the view's selections should be shown. 
Definition: katerenderer.cpp:135
bool drawCaret() const 
Determine whether the caret (text cursor) will be drawn. 
Definition: katerenderer.h:115
Definition: katerenderer.h:71
void paintTextLineBackground(QPainter &paint, KateLineLayoutPtr layout, int currentViewLine, int xStart, int xEnd)
Paint the background of a line. 
Definition: katerenderer.cpp:172
void setCaretOverrideColor(const QColor &color)
Set a brush with which to override drawing of the caret. 
Definition: katerenderer.cpp:1083
KateRenderer(KateDocument *doc, Kate::TextFolding &folding, KateView *view=0)
Constructor. 
Definition: katerenderer.cpp:49
const QFontMetricsF & currentFontMetrics() const 
Definition: katerenderer.cpp:810
KTextEditor::Attribute::Ptr attribute(uint pos) const 
This takes an in index, and returns all the attributes for it. 
Definition: katerenderer.cpp:79
void increaseFontSizes()
Change to a different font (soon to be font set?) 
Definition: katerenderer.cpp:140
void layoutLine(KateLineLayoutPtr line, int maxwidth=-1, bool cacheLayout=false) const 
Text width & height calculation functions... 
Definition: katerenderer.cpp:912
Definition: katelinelayout.h:34
KTextEditor::Cursor xToCursor(const KateTextLayout &range, int x, bool returnPastLine=false) const 
Returns the real cursor which is occupied by the specified x value, or that closest to it...
Definition: katerenderer.cpp:1071
void setShowTrailingSpaces(bool showSpaces)
Set whether a mark should be painted for trailing spaces. 
Definition: katerenderer.cpp:110
Handles all of the work of rendering the text (used for the views and printing) 
Definition: katerenderer.h:50
void setShowTabs(bool showTabs)
Set whether a mark should be painted to help identifying tabs. 
Definition: katerenderer.cpp:105
void setPrinterFriendly(bool printerFriendly)
Configure this renderer to paint in a printer-friendly fashion. 
Definition: katerenderer.cpp:163
Definition: katerenderer.h:72
Definition: katerenderer.h:73
bool getSelectionBounds(int line, int lineLength, int &start, int &end) const 
Definition: katerenderer.cpp:830
KateView * view() const 
Returns the view to which this renderer is bound. 
Definition: katerenderer.h:103
Class representing the folding information for a TextBuffer. 
Definition: katetextfolding.h:42
Definition: katerenderer.h:70
Definition: kateview.h:78
Kate::TextFolding & folding() const 
Returns the folding info to which this renderer is bound. 
Definition: katerenderer.h:98
Definition: katedocument.h:74
void updateAttributes()
update the highlighting attributes (for example after an hl change or after hl config changed) ...
Definition: katerenderer.cpp:74
KTextEditor::Attribute::Ptr specificAttribute(int context) const 
Definition: katerenderer.cpp:87
Definition: kateconfig.h:591
This class represents one visible line of text; with dynamic wrapping, many KateTextLayouts can be ne...
Definition: katetextlayout.h:38
KateRenderer::caretStyles caretStyle() const 
The style of the caret (text cursor) to be painted. 
Definition: katerenderer.h:127
void setCaretStyle(KateRenderer::caretStyles style)
Set the style of caret to be painted. 
Definition: katerenderer.cpp:100
QSharedPointer< TextLineData > TextLine
The normal world only accesses the text lines with shared pointers. 
Definition: katetextline.h:443
void paintTextLine(QPainter &paint, KateLineLayoutPtr range, int xStart, int xEnd, const KTextEditor::Cursor *cursor=0L)
This is the ultimate function to perform painting of a text line. 
Definition: katerenderer.cpp:506
KateDocument * doc() const 
Returns the document to which this renderer is bound. 
Definition: katerenderer.h:92
QList< QTextLayout::FormatRange > decorationsForLine(const Kate::TextLine &textLine, int line, bool selectionsOnly=false, KateRenderRange *completionHighlight=0L, bool completionSelected=false) const 
The ultimate decoration creation function. 
Definition: katerenderer.cpp:340
void setShowIndentLines(bool showLines)
Set whether a guide should be painted to help identifying indent lines. 
Definition: katerenderer.cpp:125
void setDrawCaret(bool drawCaret)
Set whether the caret (text cursor) will be drawn. 
Definition: katerenderer.cpp:95
Definition: katerenderrange.h:35
bool isLineRightToLeft(KateLineLayoutPtr lineLayout) const 
This is a smaller QString::isRightToLeft(). 
Definition: katerenderer.cpp:1010
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
            Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
 KDE API Reference
    KDE API Reference