aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2004-07-22 01:02:15 +0000
committernyamatongwe <devnull@localhost>2004-07-22 01:02:15 +0000
commit1e897e643d5acc133f9c90beeec20428d2037e41 (patch)
tree43b1c8d5d353905b6e9917d9bcd2b6dd335a991d /include
parent80cef9861be6eb687bace05e989677a3b3df675d (diff)
downloadscintilla-mirror-1e897e643d5acc133f9c90beeec20428d2037e41.tar.gz
New method SCI_FINDCOLUMN.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h1
-rw-r--r--include/Scintilla.iface4
2 files changed, 5 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 78f3e093e..f20f0de22 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -586,6 +586,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_TARGETASUTF8 2447
#define SCI_SETLENGTHFORENCODE 2448
#define SCI_ENCODEDFROMUTF8 2449
+#define SCI_FINDCOLUMN 2456
#define SCI_STARTRECORD 3001
#define SCI_STOPRECORD 3002
#define SCI_SETLEXER 4001
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 8fec74f66..d53f9c4e4 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -1595,6 +1595,10 @@ fun void SetLengthForEncode=2448(int bytes,)
# On error return 0.
fun int EncodedFromUTF8=2449(string utf8, stringresult encoded)
+# Find the position of a column on a line taking into account tabs and
+# multi-byte characters. If beyond end of line, return line end position.
+fun int FindColumn=2456(int line, int column)
+
# Start notifying the container of all key presses and commands.
fun void StartRecord=3001(,)