File Types (1/2)

From Bluefish Wiki
(Redirected from File Types)
Jump to: navigation, search
Man2 warning.png This page is a copy from Manual 1. It needs to be modified to match Bluefish version 2.0.0!
Once you have verified this page (and corrected if necessary),

please modify the status to u (updated), i.e. st=u (see Guidelines for Writing this Manual)

Man2 icon 48.png
Chapter V. Working with files and folders
11. File types

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 → Langage Mode 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 → Rescan Syntax & Spelling (F5) menu. It can be disabled/enabled with Document → Highlight Syntax. For more information about adding or modifying syntax highlighting for existent or new languages, see Modifying the highlighting patterns.

10. Basic Find and Replace
Home | ToC
 12. More on files