@zeufparis
Install Python Script plugin from here.
Once installed, goto
Plugins->Python Script-New Script
and create a script called
startup.py
and copy the following content into the newly created document.
import locale
locale.setlocale(locale.LC_ALL, '')
def StatusbarSelOverride(args):
_length = "{0:n}".format(editor.getTextLength())
_lines = "{0:n}".format(editor.getLineCount())
_zoom = editor.getZoom()
notepad.setStatusBar(STATUSBARSECTION.DOCSIZE, 'length:{} lines:{} zoom:{}'.format(_length, _lines, _zoom))
editor.callback(StatusbarSelOverride, [SCINTILLANOTIFICATION.UPDATEUI, SCINTILLANOTIFICATION.ZOOM]) # register callback
Save it. (DO NOT reformat code - python is strict about indention)
Goto Plugins->Python Script->Configuration and
change Initialisation from Lazy to ATSTARTUP
press ok
Restart npp
Cheers
Claudia