aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2000-06-08 10:13:35 +0000
committernyamatongwe <devnull@localhost>2000-06-08 10:13:35 +0000
commitff0018fbc36d8c93814b9cb3d0df53bafd4ef6b6 (patch)
treeb6f995d8a0da6e0aced8372b4fd598304fe02437 /include
parentf3fa55b3b910e4949cb2dda8cf24fb15aec84ecf (diff)
downloadscintilla-mirror-ff0018fbc36d8c93814b9cb3d0df53bafd4ef6b6.tar.gz
Added GetColumn that determines the column of a position.
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 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,)