clansco | 2 Jan 2007 15:09
Favicon

Re: deprecate custom menu in favor of snippets plugin?


> ./convert_custom_menu_to_snippets.py > ~/.bluefish-unstable/snippets
> 
> unfortunately it cannot convert any set shortcut keys, they have to
> be assigned manually.

it works fine !

the script overwrite existing snippets file.

editing :

it is very easy to edit snippets file with bf,
there is no refresh button, you have to open a new bf window to see
your changes.

snippets syntax :
there is no "comment" capabilities (is there ?)
sample :

<branch title="clansco">
<leaf title="l14" type="insert">
<before>&lt;span class="l14"&gt;</before>
<after>&lt;/span&gt;</after>
</leaf>
</branch>

<branch title="clansco">
<comment>see clansco.org/***/guidelines.xml</comment>
<leaf title="l14" type="insert">
<comment>important idea of your article</comment>
<before>&lt;span class="l14"&gt;</before>
<after>&lt;/span&gt;</after>
</leaf>
</branch>

not well formed xml snippets file :
bf do not crashed, well,
but no info is given, 

trying to debug snippets with bf gives bf crashes (see screenshot)

my opinion : GREAT !!! thanks to all bf developpers !
you can remove custom-menu, snippets plugin is very easy to manage for
simple user.

happy new year,
ff

 -- 
ClanscoTribues   http://www.clansco.org

Gmane