diff options
| author | Neil <nyamatongwe@gmail.com> | 2014-05-01 10:51:55 +1000 | 
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2014-05-01 10:51:55 +1000 | 
| commit | d4240cac256a9fc8e49e127a602a8ec6e47ba067 (patch) | |
| tree | b95f529ed4a663877831868f4cbce56e65ad1cbe /src/Editor.h | |
| parent | 87c435a58c291770bedbc1302a86dacff14cac4f (diff) | |
| download | scintilla-mirror-d4240cac256a9fc8e49e127a602a8ec6e47ba067.tar.gz | |
Consolidate insertion for paste into Editor class and perform line end
conversion in Editor.
Diffstat (limited to 'src/Editor.h')
| -rw-r--r-- | src/Editor.h | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/src/Editor.h b/src/Editor.h index 119d03379..15a0fcf04 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -473,8 +473,10 @@ protected:	// ScintillaBase subclass needs access to much of Editor  	int InsertSpace(int position, unsigned int spaces);  	void AddChar(char ch);  	virtual void AddCharUTF(char *s, unsigned int len, bool treatAsDBCS=false); -	void InsertPaste(SelectionPosition selStart, const char *text, int len); -	void ClearSelection(bool retainMultipleSelections=false); +	void InsertPaste(const char *text, int len); +	enum PasteShape { pasteStream=0, pasteRectangular = 1, pasteLine = 2 }; +	void InsertPasteShape(const char *text, int len, PasteShape shape); +	void ClearSelection(bool retainMultipleSelections = false);  	void ClearAll();  	void ClearDocumentStyle();  	void Cut(); | 
