SCN_CHARADDED and multiple selections

40 views
Skip to first unread message

Héctor A

unread,
Aug 19, 2017, 8:54:17 AM8/19/17
to scintilla-interest
As far as I see when using multiple cursors entering a char causes multiple char added notifications, doesn't it? I would say it makes sense, however my main concern is related to what to do in this case? The notification doesn't tell where the addition happened.

Neil Hodgson

unread,
Aug 21, 2017, 2:33:19 AM8/21/17
to Scintilla mailing list
Héctor A:

> As far as I see when using multiple cursors entering a char causes multiple char added notifications, doesn't it?

No. There is a single notification of the character, not one for each selection.

> I would say it makes sense, however my main concern is related to what to do in this case? The notification doesn't tell where the addition happened.

Use the SCN_MODIFIED notification when you want to determine where characters are added.

Neil

Reply all
Reply to author
Forward
0 new messages