| 
      
      
      From: Andre <ar...@ki...> - 2007-01-05 13:28:19
      
     | 
| Maybe I should be clearer.
this is the code:
editor:StartRecord()
frame:Connect(wx.wxID_ANY, wx.wxEVT_STC_MACRORECORD,
function (event)
 table.insert(recorded, {event.Message, event.WParam, event.LParam})
end)
the problem is that for the SCI_REPLACESEL notification scintilla send a
character back, but the event contains the pointer to the character instead of
the pointer.
I could see in the code where this could be changed but the character must be
transformed into a LUA string I could not figure out how to do this.
So I change Scintilla to send back a the value instead of the pointer and got
the  code working. But this not a reasonnable solution.
Hope this help
Andre
 |