#include "History.h"
Public Member Functions | |
HistoryScrollBlockArray (size_t size) | |
virtual | ~HistoryScrollBlockArray () |
virtual void | addCells (const Character a[], int count) |
virtual void | addCellsVector (const QVector< Character > &cells) |
virtual void | addLine (bool previousWrapped=false) |
Character | getCell (int lineno, int colno) |
virtual void | getCells (int lineno, int colno, int count, Character res[]) |
virtual int | getLineLen (int lineno) |
virtual int | getLines () |
const HistoryType & | getType () |
virtual bool | hasScroll () |
virtual bool | isWrappedLine (int lineno) |
Protected Attributes | |
BlockArray | m_blockArray |
HistoryType * | m_histType |
QHash< int, size_t > | m_lineLengths |
HistoryScrollBlockArray::HistoryScrollBlockArray | ( | size_t | size | ) |
Definition at line 459 of file History.cpp.
References m_blockArray, and BlockArray::setHistorySize().
|
virtual |
Definition at line 465 of file History.cpp.
|
virtual |
Implements HistoryScroll.
Definition at line 503 of file History.cpp.
References Block::data, ENTRIES, BlockArray::getCurrent(), BlockArray::lastBlock(), m_blockArray, m_lineLengths, BlockArray::newBlock(), and Block::size.
|
inlinevirtualinherited |
Reimplemented in HistoryScrollBuffer.
Definition at line 100 of file History.h.
References HistoryScroll::addCells().
Referenced by Screen::addHistLine().
|
virtual |
Implements HistoryScroll.
Definition at line 524 of file History.cpp.
|
inlineinherited |
Definition at line 94 of file History.h.
References HistoryScroll::getCells().
|
virtual |
Implements HistoryScroll.
Definition at line 487 of file History.cpp.
References BlockArray::at(), Block::data, ENTRIES, and m_blockArray.
|
virtual |
|
virtual |
|
inlineinherited |
Definition at line 112 of file History.h.
References HistoryScroll::m_histType.
Referenced by Screen::getScroll().
|
virtualinherited |
Reimplemented in HistoryScrollNone.
Definition at line 193 of file History.cpp.
Referenced by Screen::hasScroll().
|
virtual |
Implements HistoryScroll.
Definition at line 482 of file History.cpp.
|
protected |
Definition at line 242 of file History.h.
Referenced by HistoryScrollBlockArray(), addCells(), and getCells().
|
protectedinherited |
Definition at line 115 of file History.h.
Referenced by HistoryScroll::~HistoryScroll(), and HistoryScroll::getType().
|
protected |
Definition at line 243 of file History.h.
Referenced by addCells(), getLineLen(), and getLines().