| 
      
      
      From: Andre <ar...@ki...> - 2007-01-01 13:16:06
      
     | 
| 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 |