conrod
conrod copied to clipboard
`TextEdit` todo list
#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
UpandDownarrow keys. Edit: fixed by #793. - [x] Add clipboard functionality.
- [ ] Allow for creating custom key combination -> command mapping configurations.
- [ ] Fix issue where
Textwidget is slightly offset from drawn selection rectangles whenTextEditis aligned to the middle of bottom of the y axis. Doesn't seem to be a problem when aligned to the top.
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?
rust-clipboard now licensed under Apache and MIT licenses.