Re: SCI_GETCOLUMN/SCI_FINDCOLUMN does not take character representations into account

Neil Hodgson <[email protected]> Wed, 11 Mar 2026 08:02:14 +1100
Newsgroups gmane.comp.lib.scintilla.devel
Message-ID <CACWkrThChh9jxVLRWu7ffWwZJqAoA-XXgp4S1T+uTtj0RwQbrA@mail.gmail.com>
Robin:

> I notice that SCI_GETCOLUMN and SCI_FINDCOLUMN do not take the length of
> character representations into account.

Yes. One of the roles of these APIs is to operate with other pieces of
software that use column numbers. Some tools, for example, report
warning locations in terms of line and column. These APIs allow
automatically selecting the warning location or displaying a column
number UI element that will match the diagnostics.

Representations are more of an appearance (or cosmetic) feature so do
not influence these APIs.

Neil

-- 
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/scintilla-interest/CACWkrThChh9jxVLRWu7ffWwZJqAoA-XXgp4S1T%2BuTtj0RwQbrA%40mail.gmail.com.