Commit Graph

47 Commits

Author SHA1 Message Date
Timothy Warren 2790fb46f4 Fix formatting of some long lines 2021-03-16 14:31:22 -04:00
Timothy Warren cd7ff3b6e5 Final performance improvements, finish tutorial 2021-03-16 14:29:04 -04:00
Timothy Warren 76e1b24855 Highlight multi-line comments 2021-03-16 14:07:39 -04:00
Timothy Warren 62df35a751 Highlight first line of multi-line comments 2021-03-16 13:38:50 -04:00
Timothy Warren 8169adcb2f Prep for multiline comments 2021-03-16 13:21:28 -04:00
Timothy Warren 10e4c7ddb8 Highlight secondary keywords 2021-03-16 12:40:02 -04:00
Timothy Warren 6a43727240 Highlight primary keywords 2021-03-16 12:18:37 -04:00
Timothy Warren d5b880dd9e Massive refactor of highlighting logic 2021-03-16 11:39:13 -04:00
Timothy Warren aa849373ad Highlight single-line comments 2021-03-16 11:02:27 -04:00
Timothy Warren d84da2b0de Highlighting single characters 2021-03-16 10:57:15 -04:00
Timothy Warren 6267dc4888 Continue highlighting escaped characters 2021-03-16 10:49:15 -04:00
Timothy Warren 6ee4c092f9 Highlight strings 2021-03-16 10:45:19 -04:00
Timothy Warren 5b20598fd3 Implement highlighting options 2021-03-16 10:38:26 -04:00
Timothy Warren b765f894fc Display file type 2021-03-16 10:28:41 -04:00
Timothy Warren d207cb7884 Properly highlight numeric literals 2021-03-16 09:28:07 -04:00
Timothy Warren 872253edc2 Highlight search results 2021-03-15 14:53:08 -04:00
Timothy Warren 689a45de36 optimize highlight rendering 2021-03-15 14:37:41 -04:00
Timothy Warren 101f99c825 Use correct function name 2021-03-15 13:58:10 -04:00
Timothy Warren 4618b2be0e Build up highlighting array 2021-03-15 13:53:30 -04:00
Timothy Warren 49807ec9fe Naive number highlighting 2021-03-12 17:46:31 -05:00
Timothy Warren 7c68bc8a88 Finish chapter 6 (Search Functionality) 2021-03-12 16:29:19 -05:00
Timothy Warren 5bd297ba27 Search forward 2021-03-12 12:17:32 -05:00
Timothy Warren 0d3ed442e4 Basic incremental search 2021-03-12 12:00:39 -05:00
Timothy Warren 6efb73ff2b Basic search 2021-03-12 11:50:28 -05:00
Timothy Warren ec01b65bce More practical clippy settings, simplify some checks 2021-03-11 15:52:30 -05:00
Timothy Warren fa70f3fd61 Optimize loopage of graphemes, finish chapter 5 2021-03-10 16:21:07 -05:00
Timothy Warren 297ff6b80b Add more clippy warnings, and solve a bunch of them 2021-03-10 16:09:46 -05:00
Timothy Warren cf0c576284 Add quit confirmation on unsaved changes 2021-03-10 15:33:41 -05:00
Timothy Warren 72e723ffa5 Dirty checking 2021-03-10 15:26:12 -05:00
Timothy Warren 49ec4084c2 Save new file functionality 2021-03-10 15:10:45 -05:00
Timothy Warren 2607f8bd63 Make StatusMessage::from accept Strings and slices 2021-03-10 14:51:54 -05:00
Timothy Warren 31e5fd6633 Basic file save 2021-03-10 14:51:11 -05:00
Timothy Warren 2697d41264 Row splitting and joining 2021-03-10 14:37:58 -05:00
Timothy Warren a46c474a00 Basic insertion and deletion 2021-03-10 13:48:21 -05:00
Timothy Warren 62e3a3dba7 Finish chapter 4: Text viewer 2021-03-08 14:55:14 -05:00
Timothy Warren 3aa682fc5c Add status bar 2021-03-08 14:41:40 -05:00
Timothy Warren a67f78680f Scrolling 2021-03-08 14:21:24 -05:00
Timothy Warren 1c237c9cb9 Open file from filesystem 2021-03-08 13:34:25 -05:00
Timothy Warren 7e8493410f Display hello world 2021-03-08 10:43:40 -05:00
Timothy Warren d9ed5c631a Start of lines for editing 2021-03-08 10:21:06 -05:00
Timothy Warren 3c9b18fcb4 Formatting fix 2021-03-08 09:51:20 -05:00
Timothy Warren f79ff6ae02 Complete chapter 3 2021-03-08 09:50:15 -05:00
Timothy Warren 3b6a36f3d7 Fix comparision of terminal width and welcome message length 2021-03-05 16:38:35 -05:00
Timothy Warren 93d3501223 Draw a welcome message 2021-03-05 16:36:39 -05:00
Timothy Warren 221512f80c Move logic to editor module. 2021-01-28 16:47:40 -05:00
Timothy Warren a7fe16b007 Read keys instead of bytes 2021-01-28 15:53:09 -05:00
Timothy Warren ad0b0c5db2 First commit 2021-01-22 19:36:11 -05:00