Opened 5 years ago

Last modified 5 years ago

#261 new defect

Entry field should not continue to next line

Reported by: patrik.svestka@… Owned by:
Priority: major Milestone:
Component: default Keywords:
Cc: Also affects CVS HEAD (eXept version): no

Description

Problem description: Create a simple view with just Entry Field (Edit Field) and pre-filled text. If you click at the end of the text and press -> (right arrow) you should probably not move at all as you are at the end of the field. However, in StX now if you press the right arrow the text dissapears as it would "jump" to next line. If you jump back again with left arrow you are back at the position.

How it should work?
In my opinion, pressing right arrow on the end of Entry field (Edit field) should not perform any action and stay at the end as you are at the end of the field -> there should not be any other lines there.

Attachments (1)

EditFieldTests.st (2.6 KB ) - added by patrik.svestka@… 5 years ago.
Test which shows the bug

Download all attachments as: .zip

Change History (4)

comment:1 by patrik.svestka@…, 5 years ago

Here is a failing test, which shows the bug.

by patrik.svestka@…, 5 years ago

Attachment: EditFieldTests.st added

Test which shows the bug

comment:2 by patrik.svestka@…, 5 years ago

This appears to be windows only bug.

comment:3 by jan vrany, 5 years ago

This patch fails only when "Editor Settings" "Cursor has standard line-end behavior" checked on.

Note: See TracTickets for help on using tickets.