Closed sonoro1234 closed 5 years ago
@sonoro1234, I'll have to check. I'm using a slightly earlier version of 3.1.1 and don't see this issue.
Yes the issue is generated in some commit between your master and tag 3.1.1. Watching the commits that affect stc didnt give me any clue :-(
print("wxstc.wxSTC_LEX_LUA",wxstc.wxSTC_LEX_LUA)
editor:SetLexer(wxstc.wxSTC_LEX_LUA)
print(editor:GetLexer())
prints wxstc.wxSTC_LEX_LUA 15 0
@pkulchenko I have found that SCI_LEXER dont gets defined (Althought it seems to be defined in cmakelist.txt) https://github.com/wxWidgets/wxWidgets/blob/v3.1.1/build/cmake/lib/stc/CMakeLists.txt#L176
The above file is missing
wx_lib_compile_definitions(wxscintilla PRIVATE
SCI_LEXER
LINK_LEXERS
)
which solves the problem but I dont know how to PR to wxWidgets for making tag 3.1.1 to work I have made a PR to master but my fork has a branch for 3.1.1 in https://github.com/sonoro1234/wxWidgets
editor.wx.lua with wxLua compiled with wxWidgets/wxWidgets tag 3.1.1 dont show lua markdown but instead
Any clues?