Kate
katetextbuffer.h
  
Go to the documentation of this file.
   60         eolUnknown = -1
   61       , eolUnix = 0
   62       , eolDos = 1
   63       , eolMac = 2
   91     void setEncodingProberType (KEncodingProber::ProberType proberType) { m_encodingProberType = proberType; }
  130     void setGenerateByteOrderMark (bool generateByteOrderMark) { m_generateByteOrderMark = generateByteOrderMark; }
  143     void setEndOfLineMode (EndOfLineMode endOfLineMode) { Q_ASSERT (endOfLineMode != eolUnknown); m_endOfLineMode = endOfLineMode; }
  174     virtual bool load (const QString &filename, bool &encodingErrors, bool &tooLongLinesWrapped, bool enforceTextCodec);
  396     void notifyAboutRangeChange (KTextEditor::View *view, int startLine, int endLine, bool rangeWithAttribute);
  423     QList<TextRange *> rangesForLine (int line, KTextEditor::View *view, bool rangesWithAttributeOnly) const;
KateDocument * document() const 
Gets the document to which this buffer is bound. 
Definition: katetextbuffer.h:408
void setGenerateByteOrderMark(bool generateByteOrderMark)
Generate byte order mark on save. 
Definition: katetextbuffer.h:130
bool editingChangedBuffer() const 
Query information from the last editing transaction: was the content of the buffer changed...
Definition: katetextbuffer.h:250
KEncodingProber::ProberType encodingProberType() const 
Get encoding prober type for this buffer. 
Definition: katetextbuffer.h:97
bool rangePointerValid(TextRange *range) const 
Check if the given range pointer is still valid. 
Definition: katetextbuffer.h:429
void setFallbackTextCodec(QTextCodec *codec)
Set fallback codec for this buffer to use for load. 
Definition: katetextbuffer.h:103
int editingMaximalLineChanged() const 
Get maximal line number changed by last editing transaction. 
Definition: katetextbuffer.h:269
bool editingChangedNumberOfLines() const 
Query information from the last editing transaction: was the number of lines of the buffer changed...
Definition: katetextbuffer.h:257
void setNewLineAtEof(bool newlineAtEof)
Set whether to insert a newline character on save at the end of the file. 
Definition: katetextbuffer.h:155
QTextCodec * fallbackTextCodec() const 
Get fallback codec for this buffer. 
Definition: katetextbuffer.h:109
KAction * clear(const QObject *recvr, const char *slot, QObject *parent)
Definition: katedocument.h:74
void setEncodingProberType(KEncodingProber::ProberType proberType)
Set encoding prober type for this buffer to use for load. 
Definition: katetextbuffer.h:91
void setEndOfLineMode(EndOfLineMode endOfLineMode)
Set end of line mode for this buffer, not allowed to be set to unknown. 
Definition: katetextbuffer.h:143
QSharedPointer< TextLineData > TextLine
The normal world only accesses the text lines with shared pointers. 
Definition: katetextline.h:443
Class representing the editing history of a TextBuffer. 
Definition: katetexthistory.h:39
ProberType
bool generateByteOrderMark() const 
Generate byte order mark on save? 
Definition: katetextbuffer.h:136
int editingMinimalLineChanged() const 
Get minimal line number changed by last editing transaction. 
Definition: katetextbuffer.h:263
int editingTransactions() const 
Query the number of editing transactions running atm. 
Definition: katetextbuffer.h:231
KAction * save(const QObject *recvr, const char *slot, QObject *parent)
qint64 editingLastRevision() const 
Query the revsion of this buffer before the ongoing editing transactions. 
Definition: katetextbuffer.h:237
int editingLastLines() const 
Query the number of lines of this buffer before the ongoing editing transactions. ...
Definition: katetextbuffer.h:243
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
            Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
    KDE API Reference