Partial refactor of the mess that is TerminalView

- Decouple the `CursorController`, `TextSelectionCursorController`(previously `SelectionModifierCursorController`) and `TextSelectionHandleView` (previously `HandleView`) from `TerminalView` by moving them to their own class files.
- Fixes #1501 which caused the `java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.` exception to be thrown when long pressing the down key while simultaneously long pressing the terminal view for text selection.
This commit is contained in:
agnostic-apollo
2021-03-06 18:25:10 +05:00
parent 93a5bf8d29
commit ada5087f67
5 changed files with 999 additions and 802 deletions

File diff suppressed because it is too large Load Diff