Re: [Geany-devel] [pretty-print plugin] Failed to compile geany-plugins with latest geany

2009-09-12 Thread Cédric Tabin
Hello, If I put 'extern' in ConfigUI.h, geany cannot load my plugin : Can't load plugin: /usr/local/lib/geany/pretty-print.so: undefined symbol: prettyPrintingOptions Do I miss something somewhere ? Regards, Cedric On Sat, Sep 12, 2009 at 10:04 AM, Eugene Arshinov earshi...@gmail.comwrote:

Re: [Geany-devel] [pretty-print plugin] Failed to compile geany-plugins with latest geany

2009-09-12 Thread Cédric Tabin
Hi Eugene, Thanks for your explanations :-) That's important to me to understand how it works ! Can you tell me if it is the good way to solve this like that : in ConfigUI.h #ifndef PP_CONFIG_UI_PPOPTIONS extern #endif PrettyPrintingOptions* prettyPrintingOptions; in ConfigUI.c #define

Re: [Geany-devel] [pretty-print plugin] Failed to compile geany-plugins with latest geany

2009-09-12 Thread Eugene Arshinov
Hi Cedric. It is common to accept little code duplication and just write in ConfigUI.h: extern PrettyPrintingOptions* prettyPrintingOptions; in ConfigUI.c: #include ConfigUi.h PrettyPrintingOptions* prettyPrintingOptions; This way is more straightforward and obvious. On Sat, 12 Sep

Re: [Geany-devel] [pretty-print plugin] Failed to compile geany-plugins with latest geany

2009-09-12 Thread Lex Trotman
Hi, Putting extern will make that a declaration which is what you want in a header that is used several times, but you have to define it somewhere, usually in a file that is only used once like a .c file. Cheers Lex 2009/9/12 Cédric Tabin tabin.ced...@gmail.com: Hello, If I put 'extern' in

Re: [Geany-devel] abc tagmanager patch

2009-09-12 Thread Nick Treleaven
On Mon, 7 Sep 2009 17:17:39 +1000 Lex Trotman ele...@gmail.com wrote: I submit a new patch for including a popular format among musicians: ABC notation. ... I don't want to be the killjoy, but I don't want to add any arbitrary filetypes. We should limit the list of filetypes to those which

Re: [Geany-devel] COBOL syntax highlighting and filetype support

2009-09-12 Thread Nick Treleaven
On Thu, 10 Sep 2009 18:57:11 -0400 Seth Keiper erst...@gmail.com wrote: Have you seen the HACKING file? Yes, this is where I got the info to add the COBOL lexr OK, it mentions about checking the Scintilla project first, but after several recent patches I just added a clearer warning. A

Re: [Geany-devel] Plugin Keybindings (default values)

2009-09-12 Thread Nick Treleaven
On Wed, 9 Sep 2009 14:04:05 +0300 Yura Siamashka yura...@gmail.com wrote: Also please add sci_set_marker_at_line and sci_is_marker_set_at_line to plugin API. I will need them to show breakpoints and current line when debugging. Committed, thanks. I split sci_set_marker_at_line into