[Github-comments] [geany/geany-plugins] [geanylua] geany.scintilla() does not work with SCI_SETLEXER (#646)

elextr notifications at xxxxx
Sun Nov 19 03:42:24 UTC 2017


Ok, you can do it if you extend your own Geanylua.  And since its unowned, why not :)

You C cod is passing a string as the filetype, it should be a pointer to the filetype structure, use [`filetypes_lookup_by_name()`](https://www.geany.org/manual/reference/filetypes_8h.html#aa2a53fa0c2f4362d9a5e6eb01839c5a5) to get it from the string. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/646#issuecomment-345489659
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20171119/ab9da99f/attachment.html>


More information about the Github-comments mailing list