Commit Graph

45 Commits

Author SHA1 Message Date
Timothy Warren
f955e22c19 Implement missing function, fix some math issues between cursor_x and render_x 2019-09-12 16:49:49 -04:00
Timothy Warren
d45911767d Fix keyword highlighting off-by-one errors, to fix keyword highlighting 2019-09-11 10:37:18 -04:00
Timothy Warren
cec958932c Misc tweaks, add Javascript highlighting 2019-09-10 16:47:15 -04:00
Timothy Warren
934791d1c4 Use reverse highlight for search, so multiline comments can be blue 2019-09-09 13:27:11 -04:00
Timothy Warren
788edf7e03 Don't use the type name as the name of a variable 2019-09-09 13:16:56 -04:00
Timothy Warren
e720de0eb8 Another ugly progress commit 2019-09-06 16:40:31 -04:00
Timothy Warren
e6d3995e4c Ugly progress commit 2019-09-06 13:24:29 -04:00
Timothy Warren
389a526f41 Finish tutorial, much refactoring 2019-09-05 15:26:04 -04:00
Timothy Warren
ca51d8f1f5 Start of multiline comment highlighting 2019-09-05 12:09:53 -04:00
Timothy Warren
2cecadb3aa Add more Rust keywords 2019-09-04 16:55:05 -04:00
Timothy Warren
d2ac4a422c Unfinished keyword highlighting 2019-09-04 16:39:56 -04:00
Timothy Warren
78c612e90f Highlight strings 2019-09-04 15:53:36 -04:00
Timothy Warren
f25252a39e Create language syntax struct, and select highlighting by file extension 2019-09-04 15:41:06 -04:00
Timothy Warren
13eb9fd7b4 Fix key repeat escape code truncation issue 2019-09-04 13:25:48 -04:00
Timothy Warren
11a058c8df Improve number highlighting logic 2019-09-04 13:15:22 -04:00
Timothy Warren
4092b0226e Clear previous search highlights 2019-09-04 11:32:05 -04:00
Timothy Warren
7c6c06e10f Number and search result highlighting 2019-09-04 11:20:57 -04:00
Timothy Warren
be4a866a0c Working incremental search 2019-09-04 10:09:08 -04:00
Timothy Warren
3ae040f1fc Code format cleanup 2019-09-03 16:20:00 -04:00
Timothy Warren
dcd0c3bec1 Find with callback 2019-09-03 16:19:19 -04:00
Timothy Warren
b461804354 Finish chapter 5 2019-09-03 14:57:52 -04:00
Timothy Warren
ae74513e88 Rework input logic to remove throttling 2019-09-03 11:48:40 -04:00
Timothy Warren
dd9166d465 Add Save As prompt 2019-08-30 16:17:06 -04:00
Timothy Warren
aadbccaf9d Make the enter key work 2019-08-30 15:10:19 -04:00
Timothy Warren
8e125b8c7c Basic backspacing 2019-08-30 11:20:52 -04:00
Timothy Warren
19c724d18f Fix some style and syntax issues 2019-08-29 16:45:54 -04:00
Timothy Warren
5d1c8d8b8b Basic save functionality 2019-08-29 16:32:17 -04:00
Timothy Warren
0c81912cac Complete chapter 4 2019-08-29 14:13:09 -04:00
Timothy Warren
fd9f504266 Show current line number and total in status bar 2019-08-29 11:47:22 -04:00
Timothy Warren
172d5ad699 First status bar output 2019-08-28 16:35:48 -04:00
Timothy Warren
c1c87429fb Vertical scrolling, and improved escape code matching 2019-08-27 17:38:05 -04:00
Timothy Warren
160b840151 Make Editor.rows a vector, cleanup some code and logic 2019-08-27 15:13:32 -04:00
Timothy Warren
4167088f81 Open a file and display the first line 2019-08-27 12:22:19 -04:00
a67562b3a2 Start chapter 4 2019-08-27 08:30:51 -04:00
Timothy Warren
761e55236b Rough progress commit, chapter 3 with cursor issues 2019-08-26 16:39:52 -04:00
Timothy Warren
208b92b713 Show welcome message 2019-08-26 10:04:12 -04:00
Timothy Warren
04369ca796 Fill the screen with tilde lines 2019-08-23 16:46:04 -04:00
Timothy Warren
40477ec7ca Another ugly commit, tweak handling of input 2019-08-23 14:57:26 -04:00
Timothy Warren
f08f5f3cae Properly take in input and control characters 2019-08-23 13:34:00 -04:00
Timothy Warren
84e0cd89a8 Proper raw mode... by properly combining bitflags 2019-08-23 13:33:18 -04:00
Timothy Warren
144fd65412 really ugly progress commit 2019-08-22 16:44:47 -04:00
Timothy Warren
6c967fe499 Ugly progress commit 2019-08-22 14:25:18 -04:00
Timothy Warren
2d5db77ce4 File descriptor constants 2019-08-21 16:51:45 -04:00
Timothy Warren
e3e187d442 First hint of raw mode 2019-08-21 16:46:14 -04:00
Timothy Warren
45fabec0e4 First commit 2019-08-21 14:39:17 -04:00