Man 1 ch05s11

From Bluefish Wiki
Revision as of 14:45, 19 August 2009 by Fal7i (talk | contribs) (Created page with '__NOTOC__ __NOEDITSECTION__ {{Man1top |lang=en |rev=1.0.6 |Title=11. File types |prev=Man 1 ch05s10 |Subtitle=Chapter V. Working with files and folders |next=Man 1…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Please consider to upgrade to Bluefish 2!

Please consider to edit the Manual 2!

How To edit the Wiki Manual
{{#if:11. File types|
11. File types
}}
Prev }}
Chapter V. Working with files and folders
}}
 Next
}}

11. File types

11.1. Syntax highlighting

Different file types can change the behaviour of Bluefish. File types are recognized by their extension, or by the beginning of the file's contents. The current document type is shown in the far right of the status bar. If the type of a file is not properly detected, you can change the type using the Document → Document Type menu. See Chapter VIII, Customising Bluefish to change these extensions.

11.1. Syntax highlighting

Syntax highlighting is the coloring of words that have special meaning for a language. The patterns can vary: for example, "<title>" means "start of title" in HTML, "function" means "start of function" in PHP.

While editing, Bluefish will only update the highlighting patterns in the block of text around the cursor. The number of lines (the size) of this block can be adjusted in the preferences under Editor. The syntax highlighting for the total document can be refreshed using the Document → Update Highlighting (F5) menu. It can be disabled in the preferences under Editor. For more information about adding or modifying syntax highlighting for existent or new languages, see here.


Prev }}
Up
}}
 Next
}}
10. Basic Find and Replace}}
Home | ToC
 12. More on files
}}