Customizing your SciTE Status bars: Create your own to your liking!

scite status barCustomizing SciTE status bars is a great, easy, way to add more relevant information to your needs.

In the below video I walk through how you can make minor tweaks to your status bar by editing your user.properties file.  Further down the page I’ve provided some of the built-in variables however there are a ton of additional ones you can check out the defined variables here.

Here is the syntax I walked through in the below video.  The first statusbar.text.1 that is commented out is one I use by default.

SciTE Status Bar customization video

Customize yor SciTE Status Bars

Built-in variables for SciTE status bar

Variable NameMeaning
FilePathfull path of the current file
FileDirdirectory of the current file without a trailing slash
FileNamebase name of the current file
FileExtextension of the current file
FileNameExt$(FileName).$(FileExt)
Languagename of the lexer used for the current file
SessionPathfull path of the current session
CurrentSelectionvalue of the currently selected text
CurrentWordvalue of word which the caret is within or near
Replacementsnumber of replacements made by last Replace command
SelectionStartColumncolumn where selection starts
SelectionStartLineline where selection starts
SelectionEndColumncolumn where selection ends
SelectionEndLineline where selection ends
CurrentMessagemost recently selected output pane message
SciteDefaultHomedirectory in which the Global Options file is found
SciteUserHomedirectory in which the User Options file is found
SciteDirectoryHomedirectory in which the Directory Options file is found
APIPathlist of full paths of API files from api.filepattern
AbbrevPathfull path of abbreviations file
ScaleFactorthe screen’s scaling factor with a default value of 100

Create your own SciTE Hotkeys by hacking your user.properties file

SciTE hotkeyHotkeys are a great way to be more efficient!  AutoHotkey makes it easy to create a hotkey for nearly anything however you can easily create your own custom SciTE Hotkeys by making a tweak to your user.properties file.

Below is the text I have in my user.properties file which builds in hotkeys without needing AutoHotkey.  You can find additional commands by going here.  Just don’t forget you are not limited to these.  In the video I show how you can create your own!

This video walks through the process of creating your own SciTE Hotkeys

Creatie custom SciTE hotkeys to be more efficient

Customize your SciTE context menu: Make your favorite commands 1 click away

SciTE context menuOne of my favorite things about SciTE is that it is highly customizable!   If you have favorite commands you frequently use it is really easy to add them to Customize your SciTE context menu.

By tweaking your user.properties file you can easily make your favorite commands one click away!

Here is text from my User.Properties file.  Make sure you check out this url for additional commands/examples.

Customize your SciTE context menu

Customize SciTE Context Menu- Add your favorite shortcuts

Creating a Second SciTE window with a user.properties hack

Second SciTE windowTypically I like having one SciTE window with multiple tabs however, at times, it is very handy to have a Second SciTE window.

Making a minor tweak to your user.properties file is an easy way to achieve this.

Just open your current user.properties file and add the below code to it.

For a quick review of how it works and how to add it you can check out this video

Creating a Second SciTE window

Opening an Additional SciTE Window