Kate
katelayoutcache.h
Go to the documentation of this file.
124 // find the view line of the cursor, relative to the display (0 = top line of view, 1 = second line, etc.)
125 // if limitToVisible is true, only lines which are currently visible will be searched for, and -1 returned if the line is not visible.
131 void updateViewCache(const KTextEditor::Cursor& startPos, int newViewLineCount = -1, int viewLinesScrolled = 0);
KTextEditor::Cursor viewCacheStart() const
Definition: katelayoutcache.cpp:369
QPair< int, KateLineLayoutPtr > LineLayoutPair
Definition: katelayoutcache.h:56
void insert(int realLine, const KateLineLayoutPtr &lineLayoutPtr)
Definition: katelayoutcache.cpp:61
KateTextLayout textLayout(const KTextEditor::Cursor &realCursor)
Returns the layout describing the text line which is occupied by realCursor.
Definition: katelayoutcache.cpp:337
void slotEditDone(int fromLine, int toLine, int shiftAmount)
Definition: katelayoutcache.cpp:105
void relayoutLines(int startRealLine, int endRealLine)
Definition: katelayoutcache.cpp:92
void setAcceptDirtyLayouts(bool accept)
Definition: katelayoutcache.cpp:561
Handles all of the work of rendering the text (used for the views and printing)
Definition: katerenderer.h:50
void viewWidthDecreased(int newWidth)
Definition: katelayoutcache.cpp:82
KateLayoutCache(KateRenderer *renderer, QObject *parent)
Definition: katelayoutcache.cpp:140
KateLineLayoutPtr line(int realLine, int virtualLine=-1)
Returns the KateLineLayout for the specified line.
Definition: katelayoutcache.cpp:280
Definition: katelayoutcache.h:35
This class handles Kate's caching of layouting information (in KateLineLayout and KateTextLayout)...
Definition: katelayoutcache.h:77
KateTextLayout & viewLine(int viewLine)
Returns the layout of the corresponding line in the view.
Definition: katelayoutcache.cpp:358
KateLineLayoutPtr & operator[](int i)
Definition: katelayoutcache.cpp:132
This class represents one visible line of text; with dynamic wrapping, many KateTextLayouts can be ne...
Definition: katetextlayout.h:38
void relayoutLines(int startRealLine, int endRealLine)
Definition: katelayoutcache.cpp:548
KTextEditor::Cursor viewCacheEnd() const
Definition: katelayoutcache.cpp:374
int displayViewLine(const KTextEditor::Cursor &virtualCursor, bool limitToVisible=false)
Definition: katelayoutcache.cpp:404
void viewCacheDebugOutput() const
Definition: katelayoutcache.cpp:476
int viewCacheLineCount() const
Definition: katelayoutcache.cpp:364
void updateViewCache(const KTextEditor::Cursor &startPos, int newViewLineCount=-1, int viewLinesScrolled=0)
Definition: katelayoutcache.cpp:159
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.