Files
gio/ui
Elias Naur d4eb86a9b5 ui/text: replace Editor.Update with Next for stepping through events
Before this change, the Editor cleared its content after each
Submission event. If it didn't multiple submits for a frame would
not result in the cleared text for clients that wants to clear the
Editor between submits.

However, for clients that do not want to clear the content or that
wants to validate the text before accepting it were not supported.

Instead, switch to a event stepping model, where the client can
call Next to receive each EditorEvent (that is, Submit event) in
turn.

We can then delete the Submit flag on Editor and always report Submit
events.

We can also make Layout flush the pending events now that Editor
always has access to its Config and input queue.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
2019-06-21 16:17:29 +02:00
..
2019-06-17 16:45:49 +02:00
2019-03-31 10:47:22 +02:00
2019-06-18 21:10:01 +02:00
2019-03-31 14:45:26 +02:00
2019-06-08 11:00:59 +02:00
2019-06-21 14:54:34 +02:00
2019-03-31 14:45:26 +02:00