diff options
| author | nyamatongwe <unknown> | 2005-11-09 12:11:43 +0000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2005-11-09 12:11:43 +0000 |
| commit | 0cc7d068ca8fb110c4de0886225caf5188b582eb (patch) | |
| tree | c60b50aab2db215503b64e655f47270a3a9428c6 /include | |
| parent | 3ac5c3a6ad55a035df336103693631ae15c9387a (diff) | |
| download | scintilla-mirror-0cc7d068ca8fb110c4de0886225caf5188b582eb.tar.gz | |
Patch, mostly from Simon Steele, that converts new lines in
pasted text to match document.
Diffstat (limited to 'include')
| -rw-r--r-- | include/Scintilla.h | 2 | ||||
| -rw-r--r-- | include/Scintilla.iface | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index 1d6588215..a82c00fda 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -604,6 +604,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_GETCARETSTICKY 2457 #define SCI_SETCARETSTICKY 2458 #define SCI_TOGGLECARETSTICKY 2459 +#define SCI_SETPASTECONVERTENDINGS 2467 +#define SCI_GETPASTECONVERTENDINGS 2468 #define SCI_STARTRECORD 3001 #define SCI_STOPRECORD 3002 #define SCI_SETLEXER 4001 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 41c42a952..2c2272cd1 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1632,6 +1632,12 @@ set void SetCaretSticky=2458(bool useCaretStickyBehaviour,) # Switch between sticky and non-sticky: meant to be bound to a key. fun void ToggleCaretSticky=2459(,) +# Enable/Disable convert-on-paste for line endings +set void SetPasteConvertEndings=2467(bool convert,) + +# Get convert-on-paste setting +get bool GetPasteConvertEndings=2468(,) + # Start notifying the container of all key presses and commands. fun void StartRecord=3001(,) |
