Preferences Dialog

The preferences dialog is split into six sections.

18.1. Misc

There are four items provided in the defaults section of this tab.

18.2. Fonts & Colors

The font and colors that are used in the editor view can be configured here. You can choose to use whatever your current theme uses by default, or specify your own colors and font.

Currently GTK doesn't handle dark backgrounds very well as the cursor color cannot be changed, as such you probably want to avoid black as the background color.

18.3. Editor

The editor tab is split into two sections.

  • Appearance
    Syntax Highlighting

    Use syntax highlighting where available

    Error Highlighting

    When working with markup class documents like HTML and XML Screem can highlight where the doctype is not being followed if this option is enabled.

    A Learn More option is also added to the popup menu in the editor when clicking on a highlighted section.

    Wrap lines

    Controls if long lines wrap, or if a horizontal scrollbar will be used instead.

    Tab Width

    controls how wide tabs are.

    Right column margin

    A margin can be placed on the right hand side of the editor to mark a specific column. This can be useful when working on source code files, such as PHP where your coding style guidelines indicate a maximum line width.

  • Features
    Inline Tagging

    Enables the inline tagging feature, where pressing space inside a tag presents the autocompletion popup with a list of all valid attributes.

    Auto Indent

    This option controls if document tree based auto indentation should be used rather than normal indentation based on the type of document being edited.

    Intelligent tag closing

    When typing </ Screem can automatically fill in the correct closing tag name with this option enabled.

    Auto complete from tag trees

    Tag trees which specify the type of document they are for can be used to provide autocompletion with this feature enabled.

    Along side the PHP tag tree this provides Screem with autocompletion for all PHP4 functions.

    Show function definition tooltips

    As well as using tag trees for autocompletion, this option will show tooltips for functions contained within a tag tree.

    Using the PHP tag tree as and example again this will provide tooltips showing the definition of all PHP4 functions.

    Insert spaces instead of tabs

    Use the equivalent number of spaces instead of tab characters.

    Auto entity insertion

    This controls if Screem will insert character entities in markup class documents if the typed character should be encoded.

    If set to On then this will happen all the time. If set to be performed by character set then it will only occur for reserved characters rather than all non ascii characters.

18.4. Browsers

Here you can setup up to three external browsers for checking how pages you are working on look.


This is the name that will be displayed in the menu / on the toolbar if text labels are turned on.

If you don't specify one then the name of the browser executable file will be used. e.g. if the command is /usr/bin/mozilla then the name will become mozilla.


This is the command to run. Adding %s will cause the path of the file to view to be passed to the application specified.

Use publishing address to view

When working on a site the remote publishing address can be used for viewing pages. Here you can specify if this will be done for normal static pages, such as plain HTML and/or for dynamic pages such as PHP, ASP etc.

Each browser can also have an icon set that will be displayed in the menu / toolbar. Changes to this icon will only take place once Screem is restarted.

18.5. Doctypes

All DTDs available to Screem will be listed here.

Screem attempts to guess the root element for a given DTD but may not always get this correct. Selecting the Override Root Element checkbox allows you to specify what the element is for the selected doctype.

As well as overriding the root element you can set up a different url to be inserted as the system id. A reason for doing so may be that the url is file: based and so only relevant for your machine, so tools such as the W3C HTML validator won't be able to validate against the DTD correctly.

18.6. Tag Trees

This tab displays a list of all tag tree files that are available, and where they are stored.

If you do not want specific tree files to be loaded you can simply click the checkbox in the Active column of the list.

Additional files can be added from any location you like by clicking Add. Any tag trees added like this can also be removed by selecting them in the list, and clicking Remove.

If a tag tree file changes, you can force Screem to reload it, by selecting it in the list and clicking Refresh.