Kate
katebuffer.cpp File Reference
#include <sys/types.h>#include <sys/stat.h>#include <unistd.h>#include "katebuffer.h"#include "katebuffer.moc"#include "katedocument.h"#include "katehighlight.h"#include "kateconfig.h"#include "katefactory.h"#include "kateautoindent.h"#include <kdebug.h>#include <kglobal.h>#include <kcharsets.h>#include <qpopupmenu.h>#include <qfile.h>#include <qtextstream.h>#include <qtimer.h>#include <qtextcodec.h>#include <qcstring.h>#include <qdatetime.h>
Include dependency graph for katebuffer.cpp:

Go to the source code of this file.
Variables | |
| static const Q_ULONG | KATE_AVG_BLOCK_SIZE = 2048 * 80 |
| static const Q_ULONG | KATE_FILE_LOADER_BS = 256 * 1024 |
| static const uint | KATE_HL_LOOKAHEAD = 64 |
| static const Q_ULONG | KATE_MAX_BLOCK_LINES = 2048 |
| static const uint | KATE_MAX_DYNAMIC_CONTEXTS = 512 |
Variable Documentation
const Q_ULONG KATE_AVG_BLOCK_SIZE = 2048 * 80 [static] |
KATE_AVG_BLOCK_SIZE is in characters ! (internaly we calc with approx 80 chars per line !) block will max contain around BLOCK_SIZE chars or BLOCK_LINES lines (after load, later that won't be tracked).
Definition at line 57 of file katebuffer.cpp.
const Q_ULONG KATE_FILE_LOADER_BS = 256 * 1024 [static] |
loader block size, load 256 kb at once per default if file size is smaller, fall back to file size
Definition at line 49 of file katebuffer.cpp.
const uint KATE_HL_LOOKAHEAD = 64 [static] |
hl will look at the next KATE_HL_LOOKAHEAD lines or until the current block ends if a line is requested will avoid to run doHighlight too often
Definition at line 65 of file katebuffer.cpp.
const Q_ULONG KATE_MAX_BLOCK_LINES = 2048 [static] |
Definition at line 58 of file katebuffer.cpp.
const uint KATE_MAX_DYNAMIC_CONTEXTS = 512 [static] |
KDE 3.5 API Reference