Notes for Bluefish 2 Manual: Difference between revisions

From Bluefish Wiki
Jump to navigation Jump to search
(first steps towards bf2 Manual)
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
== Bluefish 1.3 features ==
== Bluefish 1.3 features ==
http://bluefish.openoffice.nl/features.html<br />
from: http://bluefish.openoffice.nl/features.html<br />
Bluefish 1.3 (the development version) mostly has the same features with some notable exceptions or additions:
Bluefish 1.3 (the development version) mostly has the same features with some notable exceptions or additions:


Line 14: Line 14:
* Many new tools (tabs to spaces, join lines, etc. etc.)
* Many new tools (tabs to spaces, join lines, etc. etc.)


=== scanner ===
=== Bluefish 2.0 new features ===
==== Edit preferences ====
* Right margin
[[File:Man2_Text_styles.png|500px|thumb|left|Edit preferences Text styles]]
* [[Templates]] function (XHTML 1.0, HTML 5, C Header, C Header GPL and PHP
<br style="clear:both;" />
* Tab key indent a block, tab / shift tab for indent/unindent
[[File:Man2 Language support.png|500px|thumb|left|Edit preferences Language support]]
* toggle bookmark on doubleclick  (to add to [[Man 2 ch06s04]])
<br style="clear:both;" />
 
[[File:Man2 Generic HTML.png|500px|thumb|left|Edit preferences Generic HTML]]
== scanner ==
<br style="clear:both;" />
Bluefih can Highlight the syntax of a lot of languages, 22 actually:<br />
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 &gt; Highligt Syntax.
 
=== Edit preferences ===
 
[[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 ====
 
=== snippets ===
=== Contributing ===
A lot of informations are available in these two files in bluefish/data/bflang/ :<br />
[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]
 
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.
{{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
*make the script executable: chmod a+x convert_custom_menu_to_snippets.py and run the script.}}
 
== Editing Snippets ==
 
 
[[Category:Manual 2]]

Revision as of 13:32, 12 July 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/disable 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.

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