~ubuntu-branches/ubuntu/natty/geany/natty

« back to all changes in this revision

Viewing changes to scintilla/CellBuffer.h

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2010-08-07 03:23:12 UTC
  • mfrom: (1.4.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: james.westby@ubuntu.com-20100807032312-ot70ac9d50cn79we
Tags: upstream-0.19
ImportĀ upstreamĀ versionĀ 0.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
        void SetPerLine(PerLine *pl);
38
38
 
39
39
        void InsertText(int line, int delta);
40
 
        void InsertLine(int line, int position);
 
40
        void InsertLine(int line, int position, bool lineStart);
41
41
        void SetLineStart(int line, int position);
42
42
        void RemoveLine(int line);
43
43
        int Lines() const {
149
149
 
150
150
        /// Retrieving positions outside the range of the buffer works and returns 0
151
151
        char CharAt(int position) const;
152
 
        void GetCharRange(char *buffer, int position, int lengthRetrieve);
153
 
        char StyleAt(int position);
 
152
        void GetCharRange(char *buffer, int position, int lengthRetrieve) const;
 
153
        char StyleAt(int position) const;
154
154
        const char *BufferPointer();
155
155
 
156
156
        int Length() const;
159
159
        int Lines() const;
160
160
        int LineStart(int line) const;
161
161
        int LineFromPosition(int pos) const { return lv.LineFromPosition(pos); }
162
 
        void InsertLine(int line, int position);
 
162
        void InsertLine(int line, int position, bool lineStart);
163
163
        void RemoveLine(int line);
164
164
        const char *InsertString(int position, const char *s, int insertLength, bool &startSequence);
165
165
 
170
170
 
171
171
        const char *DeleteChars(int position, int deleteLength, bool &startSequence);
172
172
 
173
 
        bool IsReadOnly();
 
173
        bool IsReadOnly() const;
174
174
        void SetReadOnly(bool set);
175
175
 
176
176
        /// The save point is a marker in the undo stack where the container has stated that
183
183
        void BasicDeleteChars(int position, int deleteLength);
184
184
 
185
185
        bool SetUndoCollection(bool collectUndo);
186
 
        bool IsCollectingUndo();
 
186
        bool IsCollectingUndo() const;
187
187
        void BeginUndoAction();
188
188
        void EndUndoAction();
189
189
        void AddUndoAction(int token, bool mayCoalesce);