• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

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]

Initial value for m_maxDynamicContexts.

Definition at line 77 of file katebuffer.cpp.

Kate

Skip menu "Kate"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal