File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1413,9 +1413,9 @@ public void OnScintillaControlUpdateControl(ScintillaControl sci)
1413
1413
ITabbedDocument document = DocumentManager . FindDocument ( sci ) ;
1414
1414
if ( sci != null && document != null && document . IsEditable )
1415
1415
{
1416
- Int32 column = sci . Column ( sci . CurrentPos ) + 1 ;
1417
- Int32 line = sci . CurrentLine + 1 ;
1418
1416
String statusText = " " + TextHelper . GetString ( "Info.StatusText" ) ;
1417
+ String line = sci . CurrentLine + 1 + " / " + sci . LineCount . ToString ( ) ;
1418
+ String column = sci . Column ( sci . CurrentPos ) + 1 + " / " + ( sci . Column ( sci . LineEndPosition ( sci . CurrentLine ) ) + 1 ) . ToString ( ) ;
1419
1419
var oldOS = this . OSVersion . Major < 6 ; // Vista is 6.0 and ok...
1420
1420
String file = oldOS ? PathHelper . GetCompactPath ( sci . FileName ) : sci . FileName ;
1421
1421
String eol = ( sci . EOLMode == 0 ) ? "CR+LF" : ( ( sci . EOLMode == 1 ) ? "CR" : "LF" ) ;
You can’t perform that action at this time.
0 commit comments