Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 14 months ago

Closed 13 months ago

Last modified 13 months 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

Description

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.
https://github.com/paul-h/mythtv/commit/0911512be2

Add a new NEWLINE keybinding to allow newline characters to be inserted into a text edit.
https://github.com/paul-h/mythtv/commit/fd3dd5d834

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.
https://github.com/paul-h/mythtv/commit/d9ad9de8b6


Attachments (0)

Change History (8)

comment:1 Changed 14 months ago by jpoet

  • Owner changed from stuartm to jpoet
  • Status changed from new to accepted

comment:2 Changed 14 months ago by paulh <mythtv@…>

Add cursor page up/page down movement.
https://github.com/paul-h/mythtv/commit/8eeb6b143e

comment:3 Changed 13 months ago by paulh

  • Owner changed from jpoet to paulh
  • Status changed from accepted to assigned

comment:4 Changed 13 months ago by Paul Harrison <mythtv@…>

In e167f79e6bcbec8b9772c92bbc4830deb90e0f82/mythtv:

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

Refs #11414.

comment:5 Changed 13 months 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 13 months 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 13 months ago by Paul Harrison <mythtv@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

In 88399d97c9ee4e563090d757d3e0936d6dc3a250/mythtv:

MythUITextEdit: Add cursor page up/page down movement

Fixes #11414.

comment:8 Changed 13 months ago by paulh

  • Milestone changed from unknown to 0.27

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.