Notes for Bluefish 2 Manual: Difference between revisions

From Bluefish Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
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 ===
== scanner ==
Bluefih can Highlight the syntax of a lot of languages, 22 actually:<br />
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.
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 ====
=== Enable/desable scanner ===
Use Document &gt; Highligt Syntax.
Use Document &gt; Highligt Syntax.
==== Edit preferences ====
=== Edit preferences ===
[[File:Man2_Text_styles.png|500px|thumb|left|Edit preferences Text styles]]
[[File:Man2_Text_styles.png|500px|thumb|left|Edit preferences Text styles]]
<br style="clear:both;" />
<br style="clear:both;" />
Line 28: Line 28:
[[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 />
[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 ===
== 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 />
To import your Bluefish_1 Custom menu in snippets you can use Olivier's python script [[convert_custom_menu_to_snippets.py]]
{|
!valign="top"|[[File:Man1 note.png]]
| 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 ==

Revision as of 17:04, 8 October 2009

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

Snippets

In Bluefish_2 Custom menu is replaced by Snippets in left panel.

Man1 note.png 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