Convert lParam or/and wParam - when it is an input string - from type string to pointer which point to the string.
New way : Param && (_MsgWithInputStringParam[msg] & 0x1) && !isObject(Param).
_MsgWithInputStringParamis a static object, which key ismsg(Scintilla functions, such asSCI_ADDTEXT), and value is a state of combination aboutlParamandwParamdescribed below.- The 0x1 (01 bin) indicate
wParamis an input string which need to convert from type string to pointer, and so does 0x2 (10 bin) which indicatelParam. - The set of key-value pairs in
_MsgWithInputStringParamis filtered fromconst char *in Scintilla Documentation (1 May 2014 NH) with SciLexer.dll (3.4.3.0). And, convert fromSCI_ADDTEXTtoaddtext. SeeCollectInfoFromScintillaDoc.ahk.
Replace/Remove the old way - Param && !(Param+0) && !isObject(Param) - which get error when Param is a string of numerical value.