~ubuntu-branches/ubuntu/maverick/codelite/maverick

« back to all changes in this revision

Viewing changes to sdk/wxscintilla/src/scintilla/src/CellBuffer.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-07-29 19:42:47 UTC
  • mfrom: (1.1.9 upstream) (18.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20100729194247-cuibfk03wog33nxq
Tags: 2.6.0.4189~dfsg-1
* New upstream release.
* Bump Standards.
* Refresh patches.
* Add license information about files under ./Debugger/

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);