From 1e897e643d5acc133f9c90beeec20428d2037e41 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 22 Jul 2004 01:02:15 +0000 Subject: New method SCI_FINDCOLUMN. --- include/Scintilla.h | 1 + include/Scintilla.iface | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'include') 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(,) -- cgit v1.2.3