diff options
author | nyamatongwe <devnull@localhost> | 2000-06-08 10:13:35 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2000-06-08 10:13:35 +0000 |
commit | ff0018fbc36d8c93814b9cb3d0df53bafd4ef6b6 (patch) | |
tree | b6f995d8a0da6e0aced8372b4fd598304fe02437 /include | |
parent | f3fa55b3b910e4949cb2dda8cf24fb15aec84ecf (diff) | |
download | scintilla-mirror-ff0018fbc36d8c93814b9cb3d0df53bafd4ef6b6.tar.gz |
Added GetColumn that determines the column of a position.
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 1 | ||||
-rw-r--r-- | include/Scintilla.iface | 3 |
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,) |