You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix-plus/helix-view/src
Michael Davis 70887b7378 Refactor toml::Value->Theme conversion
The `From<Value>` implementation for `Theme` converted the Value to a
string and re-parsed the string to convert it to
`HashMap<String, Value>` which feels a bit wasteful. This change uses
the underlying `toml::map::Map` directly when the value is a table and
warns about the unexpected `Value` shape otherwise.

This is necessary because toml 0.6.0 changes the Display implementation
for Value::Table so that the `to_string` no longer encodes the value as
a Document, just a Value. So the parse of the Value fails to be decoded
as a HashMap.

The behavior for returning `Default::default` matches the previous
code's behavior except that it did not warn when the input Value was
failed to parse.
2 years ago
..
handlers feat(csharp,debug): add C# debugger support (#4213) 2 years ago
base64.rs Use OSC 52 as a fallback for setting the system clipboard (#3220) 2 years ago
clipboard.rs Fix for lost clipboard contents (#5424) (#5426) 2 years ago
document.rs Remove apply_transaction helper (#5598) 2 years ago
editor.rs Make clippy happy on Windows (#5644) 2 years ago
env.rs Use OSC 52 as a fallback for setting the system clipboard (#3220) 2 years ago
graphics.rs refactor(helix-view): remove cfg_attr references a nonexistent feature (#5630) 2 years ago
gutter.rs Add configuration for min width of line-numbers gutter (#4724) 2 years ago
info.rs fix: remove unneeded allocations when calling helix_view::Info::new 2 years ago
input.rs Handle disambiguated keycodes (#4887) 2 years ago
keyboard.rs refactor(helix-view): remove cfg_attr references a nonexistent feature (#5630) 2 years ago
lib.rs Remove apply_transaction helper (#5598) 2 years ago
macros.rs Apply transactions to all views (#4733) 2 years ago
theme.rs Refactor toml::Value->Theme conversion 2 years ago
tree.rs Add configuration for min width of line-numbers gutter (#4724) 2 years ago
view.rs Add configuration for min width of line-numbers gutter (#4724) 2 years ago