aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <unknown>2008-01-19 04:19:36 +0000
committernyamatongwe <unknown>2008-01-19 04:19:36 +0000
commita081db882e05bffa8bde512d0db99fb765517c90 (patch)
treefd44fd40feef2aa1412b06a3832af8212ba6f252 /include
parent51cdae6cd9d680285cac796c07a147ef21c69afa (diff)
downloadscintilla-mirror-a081db882e05bffa8bde512d0db99fb765517c90.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.h1
-rw-r--r--include/Scintilla.iface3
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(,)