Project

General

Profile

Bug #9936

Fix cases when clicking on an empty line in an editor should move cursor out of the viewport

Added by Andreea Bârzu about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
reviewer:
production:
No
env_name:
topics:

History

#2 Updated by Andreea Bârzu about 1 year ago

Testcase:

DEFINE VARIABLE ed AS CHARACTER VIEW-AS EDITOR SCROLLBAR-VERTICAL
     SIZE 30 BY 2.5 NO-UNDO. 
DEF FRAME fr ed.

ENABLE ALL WITH FRAME fr.
WAIT-FOR CLOSE OF CURRENT-WINDOW

In OE, when scrolling is made and we are double-clicking on the last line in the viewport and it is empty, the cursor moves out of the viewport:
  • if it is also the last line in the editor (not just the viewport): to the first line
  • if there is another line under it : to the beggining of that line

In FWD the cursor moves to the right position but scrolling is made, it should be moved out of the viewport without any scrolling.

Also available in: Atom PDF