Notes for Bluefish 2 Manual: Difference between revisions

From Bluefish Wiki
Jump to navigation Jump to search
Line 32: Line 32:
[https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish/data/bflang/bflang2.bflang2 bflang2.bflang2] [https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish/data/bflang/sample.bflang2 sample.bflang2]
[https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish/data/bflang/bflang2.bflang2 bflang2.bflang2] [https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish/data/bflang/sample.bflang2 sample.bflang2]


== Snippets ==
In Bluefish 2 Custom menu is replaced by Snippets in left panel.<br />
In Bluefish_2 Custom menu is replaced by Snippets in left panel.<br />
Bluefish_2 become without any snippets, you have to [[:Category:Snippets repository|import]] or create them.
Bluefish_2 become without any snippets, you have to [[Snippets repository|import]] or create them
{{note|text= To import your Bluefish_1 Custom menu in snippets you can use Olivier's python script [[convert_custom_menu_to_snippets.py]].
{|
*put convert_custom_menu_to_snippets.py in ~/.bluefish/ directory
!valign="top"|[[File:Man1 note.png]]
*make the script executable: chmod a+x convert_custom_menu_to_snippets.py and run the script.}}
| To import your Bluefish_1 Custom menu in snippets you can use Olivier's python script [[convert_custom_menu_to_snippets.py]].
*copy ~/.bluefish/custom_menu in ~/.bluefish-unstable/
*put convert_custom_menu_to_snippets.py in ~/.bluefish-unstable/ directory
*make the script executable: chmod a+x convert_custom_menu_to_snippets.py and run the script.
|}


== Editing Snippets ==
== Editing Snippets ==

Revision as of 19:17, 1 January 2010

Bluefish 1.3 features

from: http://bluefish.openoffice.nl/features.html
Bluefish 1.3 (the development version) mostly has the same features with some notable exceptions or additions:

  • In-line spell checker which is programing language aware (spell check comments and strings, but not code), requires libenchant during compilation.
  • Code block folding
  • Highlighting matching block start and end markers (both brackets and tags)
  • Auto-completion for many programming languages, and even for nested languages (e.g. css inside html)
  • Auto-recovery of changes in modified documents after a crash, kill or shutdown
  • Character map of all unicode characters (requires libgucharmap during compilation)
  • Upload / download synchronisation
  • Full screen editing
  • In-line reference information (move your mouse over a function name or tag name) for various programming languages
  • Many new tools (tabs to spaces, join lines, etc. etc.)

scanner

Bluefih can Highlight the syntax of a lot of languages, 22 actually:
Ada, ASP-VBScript, ASP, C, C++, CSS, D, HTML, Java, JavaScript, JSP, NSIS, Perl, PHP, gettext PO, Python, Ruby, Shell, Smarty, VBScript, XHTML, XML.

Enable/desable scanner

Use Document > Highligt Syntax.

Edit preferences

Error creating thumbnail: File missing
Edit preferences Text styles


Error creating thumbnail: File missing
Edit preferences Language support


Error creating thumbnail: File missing
Edit preferences Generic HTML


Error creating thumbnail: File missing
Edit preferences Generic HTML Textstyle


Contributing

A lot of informations are available in these two files in bluefish/data/bflang/ :
bflang2.bflang2 sample.bflang2

In Bluefish 2 Custom menu is replaced by Snippets in left panel.
Bluefish_2 become without any snippets, you have to import or create them.

Man2 note.gif To import your Bluefish_1 Custom menu in snippets you can use Olivier's python script convert_custom_menu_to_snippets.py.
  • put convert_custom_menu_to_snippets.py in ~/.bluefish/ directory
  • make the script executable: chmod a+x convert_custom_menu_to_snippets.py and run the script.

Editing Snippets