diff options
author | nyamatongwe <devnull@localhost> | 2005-11-09 12:11:43 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2005-11-09 12:11:43 +0000 |
commit | f6aff0a47a21212903ad86337b1e9eb52aef571d (patch) | |
tree | c60b50aab2db215503b64e655f47270a3a9428c6 /include | |
parent | 740d35f48cd7db8ebaed67df09d6604def4825b9 (diff) | |
download | scintilla-mirror-f6aff0a47a21212903ad86337b1e9eb52aef571d.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(,) |