chiark / gitweb /
Generalise EditableMenuLine's data update.
authorSimon Tatham <anakin@pobox.com>
Sat, 20 Jan 2024 11:46:22 +0000 (11:46 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 20 Jan 2024 12:21:24 +0000 (12:21 +0000)
commitc89810e6f36d5d2a725eb97bb2375af5d9e5252a
treee048f233b3573f8ede1c21efac3b79611b1172f9
parent8cf2c7b36bbca81057bf80b34c032f41c57c8aac
Generalise EditableMenuLine's data update.

This allows the Data parameter type to bake in extra information which
is not affected by the editor providing it with new text. The idea is
to allow one password editor field to know about the password in the
other field, so as to display differently if they don't match.
src/editor.rs
src/options.rs