diff options
author | 2024-07-18 13:14:56 +0200 | |
---|---|---|
committer | 2024-07-18 13:14:56 +0200 | |
commit | 904704d7c1b006c850654dcf3bf9e856e23cb317 (patch) | |
tree | f26c32d5769a184c72ca3dc4accacd1ac634d915 /examples/editor | |
parent | 910eb72a0620b34e5b3d7793bbd5ab7290e08dd6 (diff) | |
download | iced-904704d7c1b006c850654dcf3bf9e856e23cb317.tar.gz iced-904704d7c1b006c850654dcf3bf9e856e23cb317.tar.bz2 iced-904704d7c1b006c850654dcf3bf9e856e23cb317.zip |
Flesh out the `markdown` example a bit more
Diffstat (limited to 'examples/editor')
-rw-r--r-- | examples/editor/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/editor/src/main.rs b/examples/editor/src/main.rs index 71b1a719..9ffb4d1a 100644 --- a/examples/editor/src/main.rs +++ b/examples/editor/src/main.rs @@ -189,7 +189,7 @@ impl Editor { .highlight::<Highlighter>( highlighter::Settings { theme: self.theme, - extension: self + token: self .file .as_deref() .and_then(Path::extension) |