Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1409 Virtual spaces and column number

Bug
open-rejected
Neil Hodgson
Scintilla (788)
5
2012-10-04
2012-10-01
Van de Bugger
No

Fedora 17 x86_64, SciTE 2.22 (installed from official Fedora repository).

Let us consider a file in :

The| first line

The second line is empty; bar denotes caret position. Virtual spaces are enabled ("virtual.space=3" in .SciTEUser.properties). Status bar shows: "li=1 co=4". Pressing Down key moves the cursor to the second line column 4:

The first line
|

Status bar shows: "li=2 co=1". Note the column number: 1. I believe this is a bug. Since virtual spaces are enabled, and user sees the caret in the column 4, status bar should also report column 4, not 1.

Geany shows the same behaviour. The only difference is that Geany starts column numbering from zero.

Discussion

  • Neil Hodgson
    Neil Hodgson
    2012-10-04

    • assigned_to: nobody --> nyamatongwe
    • status: open --> open-rejected
     
  • Neil Hodgson
    Neil Hodgson
    2012-10-04

    Scintilla provides APIs that can be used to derive the information you want.