Skip to content

jrie/lite-xl-charcount

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

charcount - lite-xl plugin

lite-xl plugin to display characters, newlines and total counts of a document and selections.

Quick installation

  • Download or clone the repository and copy the file charcount.lua to the lite-xl plugin folder to: lite-xl/plugins/.

In case of questions, refer to the "lite-xl plugin installation guide".

Usage

The plugin should work out-of-box after copying the file charcount.lua to the plugin directory.

If everything is setup, you should see the following informations in the status bar of lite-xl:

XX characters | XX newlines | XX total

What is counted?

  • characters - everything what is not a newline character, in this case \n
  • newlines - are displayed separately.
  • total - sum of characters and newlines

Example screenshots

Updated screenshot with new statistics

New stats, showing characters, newlines and total count.

Old screenshots with old display, for historical reasons

No selection - Displays the count of all characters and newlines of the current document

document information

Single selection - Displays characters of the current selection

singe selection

Multiple selections - Display characters of all selections

ranged selections

Ranged selection, here with newlines too

multiple selections

Only newlines are also displayed

only newlines

About

lite-xl plugin to display characters, newlines and total counts of a document and selections.

Resources

License

Stars

Watchers

Forks

Contributors

Languages