Project

General

Profile

Bug #98

Statusbar line number is not updated when using line up/down select

Added by Wil van Antwerpen about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
02/06/2018
Due date:
% Done:

0%


Description

When using Shift+Up/Down arrow to select a text, the line number in the status bar does not get updated.

History

#1 Updated by Wil van Antwerpen about 6 years ago

The same thing happens with Shift+Page up/down.

#2 Updated by Wil van Antwerpen almost 6 years ago

  • Status changed from New to Resolved

This is because the code for updating the cursor position (cEditorEdit.pkg in method onSelChange) depends on the old codemax logic CM_GetSel. The idea was that the end line and position of the selection (or not selection) would be correct.

That's a false premise now with our selection, we can add code to make it work in the old codemax style, but it was easier to just get the actual line and column of the cursor.

#3 Updated by Wil van Antwerpen almost 6 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF