Issue by peterflynn
Thursday Jul 25, 2013 at 21:52 GMT
Originally opened as adobe/brackets#4579
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.
peterflynn included the following code: https://github.com/adobe/brackets/pull/4579/commits
Thursday Jul 25, 2013 at 21:52 GMT
Originally opened as adobe/brackets#4579
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.
peterflynn included the following code: https://github.com/adobe/brackets/pull/4579/commits