Scintilla icon SciTE

SciTE Frequently Asked Question

How do I use a fixed width font for all text?

Use these properties:

What happened to use.monospaced?

The use.monospaced property was removed as people were using it to ask for fixed width fonts for all text and then requiring support to cope with its limitations. This was not what the use.monospaced property was for; the correct way to set fixed width fonts for all text is here.

However, the Use Monospaced Font menu option is still there, and works as before. If you want to have SciTE start up in Use Monospaced Fonts mode, set the new property to 1.

Why doesn't my line.numbers setting work?

line.numbers has been replaced with two properties: line.margin.visible and line.margin.width which are explained earlier in the main SciTE document.

How do I change SciTE to use black as the background colour?

You need to change the style settings. The main change is in the global options file to the global default style and caret colour but you may have to change other style settings to make this work well:

How do I change the colours of the output pane?

The output pane often lists error and warning messages and is styled by the "errorlist" lexer. The default errorlist styles are found in To change the output pane background to black and the default text to white set

How do I make the horizontal scroll bar adjust to the width of text?

To avoid slow performance the horizontal scroll bar does not automatically adjust. You can use the horizontal.scroll.width property to change the horizontal scroll range.

How do I enable tabbed window mode in SciTE?

Tabbed window mode is only available on Windows and GTK+ 2, not on GTK+ 1. Multiple buffers must be allocated by setting, for example, buffers=10 in your To have the tab bar visible upon starting SciTE, set tabbar.visible=1. You can also set to always show tabs, or 1 to hide when only one file is open. tabbar.multiline=1 splits tabs across various lines if necessary.

How do I enable autocomplete?

Goto Options | Open Global Options File and uncomment

When I try to compile/build/run my [some language] source files, I get the following error: 'The system cannot find the file specified'.

Make sure that the path to your compiler is set correctly on your system. Try to execute from console the same command you get in SciTE and see if it works. You can also search in your [language].properties for the compile commands used. If you have a different compiler or use different arguments, edit the commands to suit your needs. The lines to look for:

How can I add [some external application] to the tools menu on SciTE?

In your properties file, you'll need to add some lines:
(e.g.:$(file.patterns.web)=HTML Tidy)
This defines the Text that will appear on the Tools Menu.

(e.g.: command.1.$(file.patterns.web)=tidy -i -wrap 0 -m $(FilePath) )
This is the actual command that SciTE executes. You should provide the appropriate paths, options and parameters as you would from a command line. See SciTEDoc.html for more information on parameters and how to make SciTE prompt a Parameters Dialog.
The external application may have modified your file, so setting this to true makes SciTE reload the file after execution of the command.

(e.g.: command.subsystem.1.$(file.patterns.web)=2)
This is for Windows and defines the subsystem through which the program is called. See SciTEDoc.html for more information on this.

You can set a command for all files using * as a file pattern. Up to 10 commands (0 - 9) can be defined in the Tools Menu at any time. Commands also get executed with Ctrl+number.

Is there a command to replace a string in multiple files together?

It is possible to replace a string in all opened buffers with the Replace in Buffers button in the Replace dialog. However this button is hidden by default, it can be displayed with find.replace.advanced=1.

How do I make SciTE run faster on GTK+?

The default settings for SciTE were changed in version 1.63 to use the Pango font system and antialiased fonts. You can return to using X core fonts which are faster with these settings:
font.comment=font:new century schoolbook,size:12$(font.comment)
font.vbs=font:new century schoolbook,size:12

Line wrapping also slows SciTE down and this can be turned off with wrap=0.

Is it possible to use the newline character (\n) in a regular expression?


The "Transform backslash expressions" option allows using \n and \r but that option does not work with regular expressions.

How do I get SciTE to understand the error messages from my compiler?

The set of error message formats is embedded in the Scintilla and SciTE code. To add support for another compiler, you will need to add a new style to scintilla/include/Scintilla.iface after the other SCE_ERR_* values, run, edit RecogniseErrorListLine in scintilla/src/LexOthers.cxx to recognise the error message, and edit DecodeMessage in scite/src/SciTEBuffers.cxx to extract the file name and line number.