File Types (1/2)

From Bluefish Wiki
Revision as of 08:53, 6 May 2012 by OlivierSessink (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

this page is updated for Manual 2. It needs to be verified! once you have verified this page (and corrected if necessary) please modify the status to v (verified), i.e. st=v (see Guidelines for Writing this Manual)


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

Different file types can change the behaviour of Bluefish. File types are recognized by their MIME type (which is defined by the combination of the file name extension and 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.

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.

If for any reason the syntax highlighting is incorrect, you can refresh the syntax highlighting for the total document using the Document → Rescan Syntax & Spelling (F5) menu. Syntax scanning 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.

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