Scintilla expect string for some of its messages this list may not be complete but since the code is emitted it is not important. SCI_SETTEXT SCI_COPYTEXT SCI_REPLACESEL SCI_REPLACETARGET SCI_REPLACETARGETRE SCI_SEARCHINTARGET SCI_ADDTEXT SCI_ADDSTYLEDTEXT SCI_INSERTTEXT SCI_APPENDTEXT SCI_SETWORDCHARS SCI_SETSTYLINGEX SCI_TEXTWIDTH SCI_MARKERDEFINEPIXMAP SCI_STYLESETFONT
a change has to be made in wxLua_wxStyledTextCtrl_SendMsg in stc.cpp which is emitted by genwxbind.lua. also: in NotifyMacroRecord in editor.cxx SCI_REPLACESEL sends a pointer instead of the string. In all cases a single character is being transferred but it is stored in a string. I am not familiar enough with the code to propose a change so I will change the code locally an let others do the actual modification. Thank you Andre ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users