Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

SpellChecker plugin

<< < (12/27) > >>

karbous:
I'm here again, please bear with me ;-)

I upgraded the Ubuntu to 10.10 and download CB 10.05 from repo with its SDK. I tried to compiled the SpellCheckPlugin and got errors on every occurrence of cbStatusBar (not defined) as Leathnes reported, so I jsut commented that out and got stuck at linker error:
 === SpellChecker, plugin ===|
ld||cannot find -lwxscintilla|

Where the wxscintilla library should be located? Somewhere in the CB SDK? I searched for it without no luck.

Why this plugin creates directory in /home/devel/share/codeblocks/plugins? Seems a bit odd location...

Thanks for your help!

MortenMacFly:

--- Quote from: karbous on December 21, 2010, 02:22:36 pm ---I upgraded the Ubuntu to 10.10 and download CB 10.05 from repo with its SDK.

--- End quote ---
SellChecker won't work with 10/05. It requires a patch applied to trunk of C::B after the release. Thus you need to compile C::B from trunk yourself to use this plugin. This will also make available all libraries you are asking for.

danselmi:

--- Quote from: MortenMacFly on December 20, 2010, 08:43:30 pm ---Mmmh... I just noticed that the option to change the language from the statusbar has gone in my builds...?! The statusbar does not show these elements anymore. Anybody else experiencing this?

--- End quote ---
It is because DoCreateStatusBar() gets called after ScanForPlugins() since rev6841. Additionally, plugins were not able to create their fields if the Statusbar was not visible at startup. The attached patch solves the problem (statusbar shows the mentioned field again).
There is/remains the problem that the statusbar is not positioned/sized correctly when it was hidden. (hide statusbar, resize cb, make the statusbar visible again! (resize cb and the statusbar is again positioned correctly) I try to look into this tomorrow.)

regards,

danselmi

MortenMacFly:

--- Quote from: danselmi on January 04, 2011, 01:06:55 am ---
--- Quote from: MortenMacFly on December 20, 2010, 08:43:30 pm ---Mmmh... I just noticed that the option to change the language from the statusbar has gone in my builds...?! The statusbar does not show these elements anymore. Anybody else experiencing this?

--- End quote ---
It is because DoCreateStatusBar() gets called after ScanForPlugins() since rev6841.

--- End quote ---
Dammed. This slipped through. Who did this and why?! (I'll have a look...).

danselmi:

--- Quote from: MortenMacFly on January 04, 2011, 07:05:41 am ---Dammed. This slipped through. Who did this and why?! (I'll have a look...).

--- End quote ---
It was made to store the visible/hidden-state in the config to know it at startup (the patch does not remove this feature).

--- Quote from: danselmi on January 04, 2011, 01:06:55 am ---There is/remains the problem that the statusbar is not positioned/sized correctly when it was hidden. (hide statusbar, resize cb, make the statusbar visible again! (resize cb and the statusbar is again positioned correctly) I try to look into this tomorrow.)

--- End quote ---
Is solved with the new patch.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version