Commit Graph

181 Commits

Author SHA1 Message Date
Timothy Warren
5887faf7d4 Only refresh screen when a key is pressed
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2022-08-23 14:09:00 -04:00
Timothy Warren
07fded57e8 Update dependencies 2022-08-23 14:08:33 -04:00
Timothy Warren
6a9994c811 Update test snapshots
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2021-12-03 11:59:55 -05:00
Timothy Warren
36da56c519 Refactor to use new enums 2021-12-03 11:59:42 -05:00
Timothy Warren
9214c16595 Give PHP enums a go 2021-12-03 11:45:40 -05:00
Timothy Warren
eb3f7f848d Fix broken test
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2021-08-13 11:18:41 -04:00
Timothy Warren
131e6177e1 Sort of get html and xml syntax highlighting working
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2021-08-13 11:17:35 -04:00
Timothy Warren
4d91919fb5 Minor refactors, fix some typos 2021-08-13 11:16:57 -04:00
Timothy Warren
9c5493100f Update test snapshots
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-04-15 13:21:55 -04:00
ad90dcc775 Properly highlight hex and binary numeric literals
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2021-04-15 13:18:41 -04:00
c928be2d73 Merge branch 'refactor'
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2021-04-15 12:50:17 -04:00
608fe6cc62 Improve c language highlighting
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2021-04-15 12:47:02 -04:00
457560137d Comments and tests
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-04-14 19:00:37 -04:00
3ef4268263 More docblocks
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-04-14 18:38:33 -04:00
e22bb0545d Make operator highlighting optional
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-04-14 17:19:01 -04:00
Timothy Warren
d0817b62c4 Fix off-by-one highlighting error
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-04-14 16:38:41 -04:00
Timothy Warren
a50c22c0e0 Fix more tests
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-04-14 14:40:35 -04:00
Timothy Warren
8f5986e91e Resolve merge conflict 2021-04-14 13:24:13 -04:00
2956999737 Docblocks for some public methods, and a few highlighting tweaks
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2021-04-14 13:15:31 -04:00
5746d15117 Remove redundant method
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-04-14 12:25:41 -04:00
Timothy Warren
52875f348f Fix tests
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-04-13 16:15:32 -04:00
Timothy Warren
69ffb84b33 Remove some coverage comments
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2021-04-13 15:03:17 -04:00
b980a6feb0 Improve highlighting for non-PHP languages
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2021-04-09 21:19:46 -04:00
dcaf922796 Split syntax highlighting into methods
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2021-04-09 19:41:15 -04:00
ead70c33ac Refactor syntax class to use boolean flags instead of bitflags, allow conditional rendering of characters 2021-04-09 19:40:28 -04:00
Timothy Warren
30b4c3818a Continue refactoring of non-PHP syntax highlighting
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-04-09 16:27:16 -04:00
Timothy Warren
644f27bb37 More consistent names for keys 2021-04-09 13:52:01 -04:00
Timothy Warren
35ec8f27ad Fix line splitting on enter
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-04-09 11:26:02 -04:00
b63c3e49d8 Update dirty flag in a place it was missing
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-04-07 11:35:25 -04:00
Timothy Warren
6c568dfaac Start splitting render methods
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-03-18 16:26:30 -04:00
d92ca27880 Update more snapshot tests
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-03-17 15:43:24 -04:00
50151b7e18 Update snapshot test 2021-03-17 15:41:03 -04:00
d7081d2b4e Fix more things that were broken 2021-03-17 15:38:52 -04:00
Timothy Warren
85e96264a8 Get syntax highlighting and keyboard natvigation working again...buggy editing functionality
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2021-03-17 13:14:16 -04:00
d0aea78ac3 In progress refactoring of Editor->Document
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2021-03-17 08:52:17 -04:00
7d381d10e9 Move some logic to Document class 2021-03-16 18:37:53 -04:00
Timothy Warren
633094ea9f Fix tests for refactored code
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-03-11 17:11:00 -05:00
Timothy Warren
c5e1b6f1b2 Refactor related class properties into their own objects 2021-03-11 16:56:02 -05:00
0914265492 Fix tests after type change
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-03-10 22:55:52 -05:00
7e3c7d074b Set oflag to 0 so characters aren't echoed on linux 2021-03-10 22:48:54 -05:00
cec69cfb93 Change dirty flag from int to bool 2021-03-10 22:47:57 -05:00
Timothy Warren
1b7e8216ef Add start of Document class
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-03-10 16:24:02 -05:00
Timothy Warren
31144fb2e3 Some more code cleanup
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-03-10 11:10:52 -05:00
99685f3fcb Some refactoring
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-03-09 17:22:49 -05:00
5329378b93 Cleanup some unused code
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-03-09 13:37:03 -05:00
3b6cd21070 Update README
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-03-09 12:51:31 -05:00
d7d8b4a197 Update README
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-03-09 12:50:29 -05:00
bce3cae74c Update snapshot test
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-03-09 12:47:33 -05:00
fdd90e289e Fix arrow key movement and use Position class for cursor and offset 2021-03-09 12:46:30 -05:00
e4ffe8eb98 Correct syntax highlighting when adding a new line in the middle of the file 2021-03-09 11:05:23 -05:00