Kate
katebuffer.cpp File Reference
#include "katebuffer.h"
#include "katebuffer.moc"
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdlib.h>
#include "katedocument.h"
#include "katehighlight.h"
#include "kateconfig.h"
#include "kateglobal.h"
#include "kateautoindent.h"
#include <kdebug.h>
#include <kglobal.h>
#include <kcharsets.h>
#include <kencodingprober.h>
#include <kde_file.h>
#include <QtCore/QFile>
#include <QtCore/QTextStream>
#include <QtCore/QTimer>
#include <QtCore/QTextCodec>
#include <QtCore/QDate>
#include <limits.h>
Go to the source code of this file.
Variables | |
static const int | KATE_AVERAGE_LINES_PER_BLOCK = 4 * 1024 |
static const qint64 | KATE_FILE_LOADER_BS = 256 * 1024 |
static const int | KATE_HL_LOOKAHEAD = 64 |
static const int | KATE_MAX_DYNAMIC_CONTEXTS = 512 |
Variable Documentation
const int KATE_AVERAGE_LINES_PER_BLOCK = 4 * 1024 [static] |
allowed lines per buffer block on loading
Definition at line 71 of file katebuffer.cpp.
const qint64 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 must be a multiple of 2
Definition at line 54 of file katebuffer.cpp.
const int 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 61 of file katebuffer.cpp.
const int KATE_MAX_DYNAMIC_CONTEXTS = 512 [static] |
Initial value for m_maxDynamicContexts.
Definition at line 66 of file katebuffer.cpp.