Notes for Bluefish 2 Manual: Difference between revisions

From Bluefish Wiki
Jump to navigation Jump to search
Fal7i (talk | contribs)
m →‎Bluefish 2.0 new features: add links to Templates and bookmarks
Fal7i (talk | contribs)
Line 26: Line 26:
Use Document > Highligt Syntax.
Use Document > Highligt Syntax.
=== Edit preferences ===
=== Edit preferences ===
[[File:Man2_Text_styles.png|500px|thumb|left|Edit preferences Text styles]]
 
<br style="clear:both;" />
[[File:Man2 Language support.png|500px|thumb|left|Edit preferences Language support]]
<br style="clear:both;" />
[[File:Man2 Generic HTML.png|500px|thumb|left|Edit preferences Generic HTML]]
<br style="clear:both;" />
[[File:Man2 Generic HTML Textstyle.png|500px|thumb|left|Edit preferences Generic HTML Textstyle]]
[[File:Man2 Generic HTML Textstyle.png|500px|thumb|left|Edit preferences Generic HTML Textstyle]]
<br style="clear:both;" />
<br style="clear:both;" />
=== Contributing ===
=== Contributing ===
A lot of informations are available in these two files in bluefish/data/bflang/ :<br />
A lot of informations are available in these two files in bluefish/data/bflang/ :<br />

Revision as of 13:18, 8 March 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.)

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

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

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