Bug 549604 - Text editor status line should show caret offset and
selection

The status line of the test editors before this change shows line:column
information only. This change introduces additionally current cursor
offset, or, if the editor has selection, count of selected characters.

If the editor has no selection, line:column:caret offset is shown.
If the editor has some selection, line:column[selected characters count]
is shown.

Both additions to the status line are enabled by default but can be
turned off on the General -> Editors -> Test Editors preference page.

Change-Id: I9e06f48f29987ac4eb21bfe0e818166bcbc61dbe
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
12 files changed