From e08ac79b9f3add77d5e2806fe8a93475104f3174 Mon Sep 17 00:00:00 2001 From: Keith Simmons Date: Thu, 19 Dec 2019 18:26:43 -0800 Subject: [PATCH] support bold and italic text --- src/editor/cursor.rs | 2 +- src/editor/mod.rs | 3 +- src/events.rs | 156 +++++++++++++++++++++++++++++++++++++++++-- src/main.rs | 2 +- src/renderer/mod.rs | 57 +++++++++++++--- 5 files changed, 202 insertions(+), 18 deletions(-) diff --git a/src/editor/cursor.rs b/src/editor/cursor.rs index 4bd95f8..37b4527 100644 --- a/src/editor/cursor.rs +++ b/src/editor/cursor.rs @@ -43,7 +43,7 @@ impl Cursor { Cursor { position: (0, 0), shape: CursorShape::Block, - style: Option::