Notes for Bluefish 2 Manual

From Bluefish Wiki
Jump to navigation Jump to search

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.)

Bluefish 2.0 new features

  • Right margin
  • Templates function (XHTML 1.0, HTML 5, C Header, C Header GPL and PHP
  • Tab key indent a block, tab / shift tab for indent/unindent
  • toggle bookmark on doubleclick (to add to Man 2 ch06s04)

scanner

Bluefish can Highlight the syntax of more than 20 languages, eg:
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/disable scanner

Use Document > Highlight Syntax.

Edit preferences

Error creating thumbnail: File missing
Edit preferences Generic HTML Textstyle


Contributing

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

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

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