Hi John, I've been doing custom styling and realized that the work that I've done is mostly in UPDATEUI handlers, whereas it should probably be in STYLENEEDED handlers. I looked at your editor and see that you also only use UPDATEUI, but not STYLENEEDED.
I did some tests and STYLENEEDED didn't seem to be called at all (tested on Windows Vista with wxlua 2.8.12.2). You can easily see it yourself by adding the following code to editor.wx.lua around line 587: editor:Connect(wxstc.wxEVT_STC_STYLENEEDED, function (event) DisplayOutput("StyleNeeded\n") end) Just in case I added debug output to UPDATEUI handler and it's called as expected. I thought maybe the constant is mistyped, but it's the same one present in the DLL file and it returns 10281 as the value. Is there some trick I need to involve to get EVT_STC_STYLENEEDED generated? Is there a working example where it's used? Anyone else is using this event? Paul. ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users