diff options
author | nyamatongwe <devnull@localhost> | 2008-01-19 04:19:36 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2008-01-19 04:19:36 +0000 |
commit | 4663b7ffe215ea47902a467e26f4e6b40435f58d (patch) | |
tree | fd44fd40feef2aa1412b06a3832af8212ba6f252 /include | |
parent | 541f13e28956050f2111c873dc7afeeaed981ef9 (diff) | |
download | scintilla-mirror-4663b7ffe215ea47902a467e26f4e6b40435f58d.tar.gz |
CopyAllowLine from 280Z28 / Sam Harwell that reproduces Visual Studio's
behaviour when performing copy on an empty selection copies the current
line.
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 1 | ||||
-rw-r--r-- | include/Scintilla.iface | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index aa7c6e1be..ac32f40d8 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -667,6 +667,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_INDICATOREND 2509 #define SCI_SETPOSITIONCACHE 2514 #define SCI_GETPOSITIONCACHE 2515 +#define SCI_COPYALLOWLINE 2519 #define SCI_STARTRECORD 3001 #define SCI_STOPRECORD 3002 #define SCI_SETLEXER 4001 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index cabbbbb82..f847f7d13 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1797,6 +1797,9 @@ set void SetPositionCache=2514(int size,) # How many entries are allocated to the position cache? get int GetPositionCache=2515(,) +# Copy the selection, if selection empty copy the line with the caret +fun void CopyAllowLine=2519(,) + # Start notifying the container of all key presses and commands. fun void StartRecord=3001(,) |