Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#11414 closed Patch - Feature (fixed)

MythUITextEdit: Add vertical cursor movement and allow newlines to be entered

Reported by: paulh <mythtv@…> Owned by: paulh
Priority: minor Milestone: 0.27
Component: MythTV - User Interface Library Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no


Allow the Up/Down? keybindings to move the cursor up and down within the text edit. Previously you could only move one character left/right which gets a little annoying if you want to move to the previous/next line in the edit.

Add a new NEWLINE keybinding to allow newline characters to be inserted into a text edit.

Update the virtual keyboard to be able to insert newlines characters into a text edit and be able to move the cursor vertically. Also remove the hard coded keycodes and instead use the keycodes defined for the specified keybindings.

Change History (8)

comment:1 Changed 8 years ago by jpoet

Owner: changed from stuartm to jpoet
Status: newaccepted

comment:2 Changed 8 years ago by paulh <mythtv@…>

Add cursor page up/page down movement.

comment:3 Changed 8 years ago by paulh

Owner: changed from jpoet to paulh
Status: acceptedassigned

comment:4 Changed 8 years ago by Paul Harrison <mythtv@…>

In e167f79e6bcbec8b9772c92bbc4830deb90e0f82/mythtv:

MythUITextEdit: Add up/down cursor movement in multi-line text edits

Refs #11414.

comment:5 Changed 8 years ago by Paul Harrison <mythtv@…>

In f320d68349b9ead0f3f006c921c63e9b8b12b034/mythtv:

Fix not being able to insert a newline in the multi-line text edit

Refs #11414.
This adds a NEWLINE keybinding to the Global key context (default binding is
Ctrl-Return) and adds support for it in MythUITextEdit.

comment:6 Changed 8 years ago by Paul Harrison <mythtv@…>

In 43da49ccda99dcbb052e91971b438aec49057117/mythtv:

Virtual keyboard: Fix some key codes and allow vertical cursor movement

This uses the cursor movement keys defined in the key-bindings rather than
having them hard coded. Also if the shift is on pressing the return button
will insert a newline and the left/right buttons will move the cursor up/down.

Refs #11414.

comment:7 Changed 8 years ago by Paul Harrison <mythtv@…>

Resolution: fixed
Status: assignedclosed

In 88399d97c9ee4e563090d757d3e0936d6dc3a250/mythtv:

MythUITextEdit: Add cursor page up/page down movement

Fixes #11414.

comment:8 Changed 8 years ago by paulh

Milestone: unknown0.27
Note: See TracTickets for help on using tickets.