Hi,

I have inadvertently come across a problem when recording macros with Scintilla. I have previously defined code that calls SCI_INSERTTEXT() when a '(' is typed for example, but when recording, Scintilla passes a notification with wParam 4294967295. (Out of bounds). (On a side note interestingly, the notifications have been 'SCI_INSERTTEXT )' and 'SCI_REPLACESEL (' in that order) I have worked around it by doing an 'if (n->wParam + 1)' conditional, but is there a more elegant way around it? Also, I have found no documentation for what cases Scintilla will return out of bounds pointer addresses and how to handle them.

Thanks,
-Mitchell;

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to