adobe/brackets — pull request #4579 by peterflynn (2013-07-25 21:52:20+00:00)
Title: Enhance status bar to show length of selection

Show length of selection when one is present -- number of cols if within a single line, number of lines (or partial lines) if selection spans more than one.

Hoists out "\t" conversion logic from Editor.getCursorPos(). Add unit tests for it.

If we're really not into putting this in core, this seems doable as an extension too... just not nearly as cleanly.