X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5fd656d50366b26450b1535c384c84d53e1449f5..00a1d2e00442255dae9efd9f68eb497436054e0d:/src/stc/stc.cpp diff --git a/src/stc/stc.cpp b/src/stc/stc.cpp index b3b3cd2765..f534906177 100644 --- a/src/stc/stc.cpp +++ b/src/stc/stc.cpp @@ -2408,6 +2408,12 @@ void wxStyledTextCtrl::Allocate(int bytes) { SendMsg(2446, bytes, 0); } +// 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. +int wxStyledTextCtrl::FindColumn(int line, int column) { + return SendMsg(2456, line, column); +} + // Start notifying the container of all key presses and commands. void wxStyledTextCtrl::StartRecord() { SendMsg(3001, 0, 0);