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
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users