We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
highlighter
markdown
1 parent 23ad153 commit 1d1a5f1Copy full SHA for 1d1a5f1
examples/markdown/src/main.rs
@@ -34,6 +34,7 @@ impl Markdown {
34
widget::focus_next(),
35
)
36
}
37
+
38
fn update(&mut self, message: Message) {
39
match message {
40
Message::Edit(action) => {
highlighter/src/lib.rs
@@ -169,7 +169,6 @@ impl Highlight {
169
pub fn font(&self) -> Option<Font> {
170
self.0.font_style.and_then(|style| {
171
let bold = style.contains(highlighting::FontStyle::BOLD);
172
-
173
let italic = style.contains(highlighting::FontStyle::ITALIC);
174
175
if bold || italic {
0 commit comments