Man 1 ch08s11

From Bluefish Wiki
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. Modifying the files filters|
11. Modifying the files filters
}}
Prev }}
Chapter VIII. Customising Bluefish
}}
 Next
}}

11. Modifying the files filters

The files filters allow you to group files types from the usage point of view. Once a file filter is created, you can view, hide, or open files based on a filter in the File browser contextual menu.

The file filters consist of:

  1. a label.
  2. whether or not the filter as defined in the Filetypes in filter hides the retrieved files or shows them.
  3. a list of filetypes, as defined in the Filetypes part, separated by a colon.

You add, modify, delete, or move file types the same way it is described in external-browsers Section 8.1, “Customizing browsers”.

Example VIII.2. Adding a file filter

Following with our example in Section 10, “Modifying file types”, we can add a stylesheet filter to group css and xsl stylesheets together.

To add a stylesheet filter, execute the following steps:

  1. Click on the Preferences... icon in the main tool bar to access the Edit preferences panel.
  2. Click on the Filetypes tab to display the Filetypes panel.
  3. Click on the Add button in the Filefilters part at the bottom. A new line will be shown, with an Untitled label.
  4. Double-click on the label to allow editing, and enter the string you want to appear in the Label field. Here enter All stylesheets.
  5. Check the Inverse filter box.
  6. Click in the Filetypes in filter field and enter the filetypes you want to group together, separated with a colon. Here it is stylesheet:xsl stylesheet.
  7. Click on the OK button to save and close the panel.


Man1 important.png The file types used in the Filetypes in filter match those defined in the Filetypes part. Do not confuse them with the file extensions. For example the C programming file filter matches c and image filetypes, i.e. files whose extensions are .c, .h, etc...


Prev }}
Up
}}
 Next
}}
10. Modifying file types}}
Home | ToC
 12. Modifying the highlighting patterns
}}