Skip to content

Instantly share code, notes, and snippets.

@JoeGlines
Last active April 26, 2021 15:43
Show Gist options
  • Save JoeGlines/f3f4336319c7bc86d730d3cccefef5db to your computer and use it in GitHub Desktop.
Save JoeGlines/f3f4336319c7bc86d730d3cccefef5db to your computer and use it in GitHub Desktop.
Example how to customize your SciTE status bars
#*******************************************************
# Want a clear path for learning AutoHotkey; Take a look at our AutoHotkey Udemy courses. They're structured in a way to make learning AHK EASY
# Right now you can get a coupon code here: https://the-Automator.com/Learn
#*******************************************************
#**********************SciTE Status Bars*********************************
# Commonly used properties are: ReadOnly, EOLMode, BufferLength, NbOfLines (in buffer), SelLength (chars), SelHeight (lines).
# Extra properties defined for the status bar are LineNumber, ColumnNumber, and OverType
# You can also use file properties, which, unlike those above, are not updated on each keystroke: FileName or FileNameExt, FileDate and FileTime and FileAttr.
# Plus CurrentDate and CurrentTime.
statusbar.visible=0
# The statusbar.number option defines how many status bars are to be cycled through.
statusbar.number=6
#~ These are additional status bars that could be used by double clicking on the status bar. First enable the statusbar.number above to have more than 1
#~ statusbar.text.1=Selc: $(SelLength) | Line $(LineNumber) of $(NbOfLines) | Column $(ColumnNumber) | Path: $(FilePath) | Last Modified @ $(FileTime) on $(FileDate)
statusbar.text.1=$(BufferLength) chars in $(NbOfLines) lines | Selc: $(SelLength) chars in $(SelHeight) lines | Selection: $(OverType) | End of Line: $(EOLMode)
statusbar.text.2=Dir: $(FileDir) | Path: $(FilePath) | Name & Ext: $(FileNameExt) | Name: $(FileName) | Extension: $(FileExt) | Last Modified @ $(FileTime) on $(FileDate) | File Attribs: $(FileAttr)
statusbar.text.3=Date: $(CurrentDate) | Time: $(CurrentTime) | SciTE Home: $(SciteUserHome) $(SciteDefaultHome)
statusbar.text.4=Max File size:$(max.file.size) | Encoding: $(code.page) | Default Ext: $(default.file.ext) | Tab size: $(tabsize)
statusbar.text.5=Py File patterns $(file.patterns.py) | $(locale.properties) | $(buffers) | $(selection.fore)
statusbar.text.6=Find: $(find.what) | Replacements made: $(Replacements)
#**********************End of Status Bar*********************************
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment