Konsole
History.h
Go to the documentation of this file.
71 //this is used to detect when a large number of lines are being read and processed from the history
72 //and automatically mmap the file for better performance (saves the overhead of many lseek-read calls).
180 return (other.rendition & ~RE_EXTENDED_CHAR) == (rendition & ~RE_EXTENDED_CHAR) && other.fgColor == fgColor && other.bgColor == bgColor;
184 return (c.rendition & ~RE_EXTENDED_CHAR) == (rendition & ~RE_EXTENDED_CHAR) && c.foregroundColor == fgColor && c.backgroundColor == bgColor;
277 };
Definition: History.h:240
Definition: History.h:288
virtual unsigned int getLength() const
Definition: History.h:275
virtual void * allocate(size_t length)
Definition: History.cpp:308
Definition: History.h:348
CompactHistoryBlockList()
Definition: History.h:243
Definition: History.h:255
Definition: History.h:200
Definition: History.h:373
virtual void getCells(int lineno, int colno, int count, Character res[])=0
Definition: History.h:127
virtual bool isWrappedLine(int lineno)=0
A single character in the terminal which consists of a unicode character value, foreground and backgr...
Definition: Character.h:77
T * data()
bool isRealCharacter
Indicate whether this character really exists, or exists simply as place holder.
Definition: Character.h:128
virtual void addLine(bool previousWrapped=false)=0
virtual int getLines()=0
virtual void addCellsVector(const QVector< Character > &cells)
Definition: History.h:104
virtual void getCharacters(Character *array, int length, int startColumn)
Definition: History.cpp:456
CharacterColor backgroundColor
The color used to draw this character's background.
Definition: Character.h:117
virtual int getLineLen(int lineno)=0
Describes the color of a single character in the terminal.
Definition: CharacterColor.h:147
virtual void add(const unsigned char *bytes, int len)
Definition: History.cpp:110
Definition: History.h:359
virtual void getCharacter(int index, Character &r)
Definition: History.cpp:442
Definition: History.h:319
bool equalsFormat(const Character &c) const
Definition: History.h:183
Definition: History.h:176
bool equalsFormat(const CharacterFormat &other) const
Definition: History.h:179
~CompactHistoryBlockList()
Definition: History.cpp:363
Definition: History.h:86
virtual ~CompactHistoryLine()
Definition: History.cpp:433
CompactHistoryLine(const TextLine &, CompactHistoryBlockList &blockList)
Definition: History.cpp:374
CompactHistoryBlockList & _blockListRef
Definition: History.h:277
Definition: History.h:152
int size() const
Definition: History.h:43
virtual void addCells(const Character a[], int count)=0
virtual ~CompactHistoryBlock()
Definition: History.h:212
quint8 rendition
A combination of RENDITION flags which specify options for drawing the character. ...
Definition: Character.h:111
CharacterColor foregroundColor
The foreground color used to draw this character.
Definition: Character.h:114
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.