conrod icon indicating copy to clipboard operation
conrod copied to clipboard

`TextEdit` todo list

Open mitchmindtree opened this issue 9 years ago • 2 comments

#703 adds a multi-line TextEdit widget, but it still requires a lot of work:

  • [x] Fix bug where cursor sometimes jumps to the start of the line when entering text at the end of a line. Edit: fixed by #767.
  • [x] Insert a newline on Return/Enter. Edit: fixed by #793.
  • [x] Add functionality for Up and Down arrow keys. Edit: fixed by #793.
  • [x] Add clipboard functionality.
  • [ ] Allow for creating custom key combination -> command mapping configurations.
  • [ ] Fix issue where Text widget is slightly offset from drawn selection rectangles when TextEdit is aligned to the middle of bottom of the y axis. Doesn't seem to be a problem when aligned to the top.

mitchmindtree avatar Jun 07 '16 02:06 mitchmindtree

So with https://github.com/PistonDevelopers/conrod/issues/796 I think the only issue left is the clilpboard.

I think the best option for cross-platform clipboard support is to depend on https://github.com/aweinstock314/rust-clipboard. The only problem is parts of it are GPLv2, but apparently there are some plans to rewrite those parts, so maybe the easiest thing to do is to wait for that. I think otherwise we would have to relicense as GPL?

christolliday avatar Aug 16 '16 20:08 christolliday

rust-clipboard now licensed under Apache and MIT licenses.

akhilman avatar Aug 12 '19 05:08 akhilman