diff options
| author | nyamatongwe <unknown> | 2007-01-02 05:28:45 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2007-01-02 05:28:45 +0000 | 
| commit | 02161437a9abe6a66b37979247bcb8f44b66f6d8 (patch) | |
| tree | 3ff5f363106d8488bc48c5e555b20688ff6b5879 /src/Document.h | |
| parent | 9f6740c61ca15c172be2d5c04b672cd0eba7d0e4 (diff) | |
| download | scintilla-mirror-02161437a9abe6a66b37979247bcb8f44b66f6d8.tar.gz | |
Separated the cell buffer into substance and style buffers.
Diffstat (limited to 'src/Document.h')
| -rw-r--r-- | src/Document.h | 7 | 
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Document.h b/src/Document.h index d774d5664..730b033f3 100644 --- a/src/Document.h +++ b/src/Document.h @@ -136,7 +136,7 @@ public:  	// Gateways to modifying document  	void ModifiedAt(int pos);  	bool DeleteChars(int pos, int len); -	bool InsertStyledString(int position, char *s, int insertLength); +	bool InsertString(int position, const char *s, int insertLength);  	int Undo();  	int Redo();  	bool CanUndo() { return cb.CanUndo(); } @@ -163,8 +163,7 @@ public:  	bool IsReadOnly() { return cb.IsReadOnly(); }  	bool InsertChar(int pos, char ch); -	bool InsertString(int position, const char *s); -	bool InsertString(int position, const char *s, size_t insertLength); +	bool InsertCString(int position, const char *s);  	void ChangeChar(int pos, char ch);  	void DelChar(int pos);  	void DelCharBack(int pos); @@ -197,7 +196,7 @@ public:  	int NextWordStart(int pos, int delta);  	int NextWordEnd(int pos, int delta);  	int Length() { return cb.Length(); } -	void Allocate(int newSize) { cb.Allocate(newSize*2); } +	void Allocate(int newSize) { cb.Allocate(newSize); }  	long FindText(int minPos, int maxPos, const char *s,  		bool caseSensitive, bool word, bool wordStart, bool regExp, bool posix, int *length);  	long FindText(int iMessage, unsigned long wParam, long lParam);  | 
