Re: [Github-comments] [geany/geany] Plugin API extension request: execute build command directly (#1897)

2018-07-16 Thread LarsGit223
> I presume you mean build_set_menu_item() and there the SETPTR() macro does > the free. Thanks, forgot to check the macro. > It can't be fire since it has to monitor the command and restore the > menu sensitivity when it finishes. Sorry, I wasn't very precise. I meant fire from the plugins

Re: [Github-comments] [geany/geany] Added syntax highlighting keywords for Verilog-2001 "generate" statement and localparams (#1852)

2018-07-16 Thread Andrew Zonenberg
@azonenberg pushed 2 commits. c2243d3 Merge branch 'master' of git://github.com/geany/geany 5396354 Added support for syntax-highlighting BSDL files as VHDL -- You are receiving this because you are subscribed to this thread. View it on GitHub:

Re: [Github-comments] [geany/geany] Kotlin Language Support (#1581)

2018-07-16 Thread Jonathan Bradley Whited
Okay, I got it working. File name has to be `filetypes.Kotlin.conf`. `~/.config/geany/filedefs/filetypes.Kotlin.conf`: ```INI [styling=C] [keywords] # https://kotlinlang.org/docs/reference/keyword-reference.html primary=abstract assert break case catch class const continue default do else enum

Re: [Github-comments] [geany/geany] Kotlin Language Support (#1581)

2018-07-16 Thread elextr
> I assume I need to do something more? To read the docs more closely I'm afraid :) You have the filename wrong, you havn't specified the lexer_filetype and you havn't specified the tags parser, see for example

Re: [Github-comments] [geany/geany] Kotlin Language Support (#1581)

2018-07-16 Thread Jonathan Bradley Whited
Thanks, that's probably the best way. I made `~/.config/geany/filedefs/filetypes.kotlin`: ```INI [styling=Java] [keywords=Java] # https://kotlinlang.org/docs/reference/keyword-reference.html primary=as as? fun in !in object typealias val var when by constructor delegate dynamic field file get

Re: [Github-comments] [geany/geany] Kotlin Language Support (#1581)

2018-07-16 Thread elextr
@esotericpig while you are waiting for Scintilla and Uctags, did you actually try making a custom filetype using an existing lexer and parser? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Github-comments] [geany/geany] Kotlin Language Support (#1581)

2018-07-16 Thread Colomban Wendling
@esotericpig from what you mention it sounds like it'd be easy to create a [custom filetype](https://www.geany.org/manual/#custom-filetypes) just adding a few keywords, at least for the highlighting part, if the syntax is basically C++. For extracting symbols (the

Re: [Github-comments] [geany/geany] Kotlin Language Support (#1581)

2018-07-16 Thread elextr
> I opened up a feature request: Yes, you are better off engaging directly with Scintilla. -- 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/issues/1581#issuecomment-405204329

Re: [Github-comments] [geany/geany] Kotlin Language Support (#1581)

2018-07-16 Thread Jonathan Bradley Whited
I opened up a feature request: https://sourceforge.net/p/scintilla/feature-requests/1224/ So maybe someone with more knowledge of Scintilla will do it properly, or at least help guide how to do it. -- You are receiving this because you are subscribed to this thread. Reply to this email

Re: [Github-comments] [geany/geany] Kotlin Language Support (#1581)

2018-07-16 Thread Jonathan Bradley Whited
I forked the project on SourceForge, but seems like a lot of work, don't know if I will get around to doing it (as I have other projects I'm working on). I found this: https://www.scintilla.org/Lexer.txt Basically, you would need to copy this file as LexKotlin.cxx: