From 6be833dedafe46929496a7d8a7fe19e7a904c2a7 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 8 Jun 2000 10:13:35 +0000 Subject: Added GetColumn that determines the column of a position. --- include/Scintilla.h | 1 + include/Scintilla.iface | 3 +++ 2 files changed, 4 insertions(+) (limited to 'include') diff --git a/include/Scintilla.h b/include/Scintilla.h index d1cb759f7..2ae3b03c8 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -235,6 +235,7 @@ extern "C" { #define SCI_SETLINEINDENTATION SCI_START + 126 #define SCI_GETLINEINDENTATION SCI_START + 127 #define SCI_GETLINEINDENTPOSITION SCI_START + 128 +#define SCI_GETCOLUMN SCI_START + 129 #define SCI_SETHSCROLLBAR SCI_START + 130 #define SCI_GETHSCROLLBAR SCI_START + 131 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index acbad39df..4ddbfe054 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -414,6 +414,9 @@ get int GetLineIndentation=2127(int line,) # Retrieve the position before the first non indentation character on a line. get position GetLineIndentPosition=2128(int line,) +# Retrieve the column number of a position, taking tab width into account. +get int GetColumn=2129(position pos,) + # Show or hide the horizontal scroll bar set void SetHScrollBar=2130(bool show,) -- cgit v1.2.3