Faculty of Information Technology
Software Engineering Group

Opened 9 months ago

Last modified 8 months 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 8 months ago.
Test which shows the bug

Download all attachments as: .zip

Change History (4)

comment:1 Changed 8 months ago by Patrik Svestka

Here is a failing test, which shows the bug.

Changed 8 months ago by Patrik Svestka

Attachment: EditFieldTests.st added

Test which shows the bug

comment:2 Changed 8 months ago by Patrik Svestka

This appears to be windows only bug.

comment:3 Changed 8 months ago by Jan Vrany

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

Note: See TracTickets for help on using tickets.