Commit Graph

167 Commits

Author SHA1 Message Date
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
1680035546 Format fixing
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-03-08 19:48:50 -05:00
f4c56d383a Fix failing test
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-03-05 21:20:38 -05:00
0627e7068a Save composer lock file
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2021-03-05 21:16:59 -05:00
319a5257cd Fix syntax error 2021-03-05 21:16:39 -05:00
a952226b92 Use PHP 8 property promotion for Syntax class
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2021-03-05 21:11:27 -05:00
113cc1a0a1 Minor tweaks
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2021-03-05 20:47:59 -05:00
Timothy Warren
e6f7095a45 Move terminal handling to its own class
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-03-05 12:06:23 -05:00
Timothy Warren
825966ac54 More cleanup
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-03-04 16:41:12 -05:00
Timothy Warren
b642ff5c59 Readability refactoring
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-03-04 12:03:51 -05:00
Timothy Warren
3c64af224e Fix snapshot test
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-03-04 10:04:33 -05:00
Timothy Warren
5d0f05dc05 Try to fix CI with different docker image
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2021-03-04 09:12:41 -05:00
8eae0c7822 Attempt to fix CI tests
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2021-03-03 20:28:27 -05:00
2d8d8ef5d2 Attempt to fix CI tests
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2021-03-03 20:26:30 -05:00
6df5bda8f2 Attempt to fix CI tests
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2021-03-03 20:23:12 -05:00