In order to distinguish which scintilla notification was sent by which scintilla instance it
would be nice to add this
params["idFrom"] = notifyCode->nmhdr.idFrom;
after
params["code"] = notifyCode->nmhdr.code;
in ScintillaWrapper.cpp
then one can use SCI_SETIDENTIFIER.
Preferable npp itself would set it and I will open a feature request there but for the time being it could be done from
pythonscript with something like editor1.setIdentifier(1) and editor2.setIdentifier(2)