Wonson:
> Hmm...Maybe I ask this way: How do you define "SC_PERFORMED_USER”?
Not SC_PERFORMED_UNDO or SC_PERFORMED_REDO.
> ot I get this flag from notification, though I was calling SCI_REPLACESEL etc.
Scintilla can’t tell the difference between a SCI_CUT performed by the user pressing a key and an application performing some operation through SCI_CUT.
> At least I need a flag which is able to determine "whether it is modified by a human directly input in the editor". Something like that.
Input source is not currently tracked in Scintilla. If you want to differentiate calls that your application performs then maintain a flag that is set before each call to Scintilla and reset after the call.
Neil