Commit Graph

175 Commits

Author SHA1 Message Date
Timothy Warren 8bcc4c6807 Start experimenting with PHP7.4 transpiling via rector
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-04-23 14:38:42 -04:00
Timothy Warren a5223adfa5 Refactor matches to be transpilable 2021-04-23 14:34:08 -04:00
Timothy Warren 9c5493100f Update test snapshots
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-04-15 13:21:55 -04:00
Timothy Warren ad90dcc775 Properly highlight hex and binary numeric literals
timw4mail/php-kilo/pipeline/head There was a failure building this commit Details
2021-04-15 13:18:41 -04:00
Timothy Warren c928be2d73 Merge branch 'refactor'
timw4mail/php-kilo/pipeline/head There was a failure building this commit Details
2021-04-15 12:50:17 -04:00
Timothy Warren 608fe6cc62 Improve c language highlighting
timw4mail/php-kilo/pipeline/head There was a failure building this commit Details
2021-04-15 12:47:02 -04:00
Timothy Warren 457560137d Comments and tests
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-04-14 19:00:37 -04:00
Timothy Warren 3ef4268263 More docblocks
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-04-14 18:38:33 -04:00
Timothy Warren e22bb0545d Make operator highlighting optional
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-04-14 17:19:01 -04:00
Timothy Warren d0817b62c4 Fix off-by-one highlighting error
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-04-14 16:38:41 -04:00
Timothy Warren a50c22c0e0 Fix more tests
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-04-14 14:40:35 -04:00
Timothy Warren 8f5986e91e Resolve merge conflict 2021-04-14 13:24:13 -04:00
Timothy Warren 2956999737 Docblocks for some public methods, and a few highlighting tweaks
timw4mail/php-kilo/pipeline/head There was a failure building this commit Details
2021-04-14 13:15:31 -04:00
Timothy Warren 5746d15117 Remove redundant method
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-04-14 12:25:41 -04:00
Timothy Warren 52875f348f Fix tests
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-04-13 16:15:32 -04:00
Timothy Warren 69ffb84b33 Remove some coverage comments
timw4mail/php-kilo/pipeline/head There was a failure building this commit Details
2021-04-13 15:03:17 -04:00
Timothy Warren b980a6feb0 Improve highlighting for non-PHP languages
timw4mail/php-kilo/pipeline/head There was a failure building this commit Details
2021-04-09 21:19:46 -04:00
Timothy Warren dcaf922796 Split syntax highlighting into methods
timw4mail/php-kilo/pipeline/head There was a failure building this commit Details
2021-04-09 19:41:15 -04:00
Timothy Warren 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
timw4mail/php-kilo/pipeline/head This commit looks good Details
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
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-04-09 11:26:02 -04:00
Timothy Warren b63c3e49d8 Update dirty flag in a place it was missing
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-04-07 11:35:25 -04:00
Timothy Warren 6c568dfaac Start splitting render methods
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-03-18 16:26:30 -04:00
Timothy Warren d92ca27880 Update more snapshot tests
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-03-17 15:43:24 -04:00
Timothy Warren 50151b7e18 Update snapshot test 2021-03-17 15:41:03 -04:00
Timothy Warren 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
timw4mail/php-kilo/pipeline/head There was a failure building this commit Details
2021-03-17 13:14:16 -04:00
Timothy Warren d0aea78ac3 In progress refactoring of Editor->Document
timw4mail/php-kilo/pipeline/head There was a failure building this commit Details
2021-03-17 08:52:17 -04:00
Timothy Warren 7d381d10e9 Move some logic to Document class 2021-03-16 18:37:53 -04:00
Timothy Warren 633094ea9f Fix tests for refactored code
timw4mail/php-kilo/pipeline/head This commit looks good Details
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
Timothy Warren 0914265492 Fix tests after type change
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-03-10 22:55:52 -05:00
Timothy Warren 7e3c7d074b Set oflag to 0 so characters aren't echoed on linux 2021-03-10 22:48:54 -05:00
Timothy Warren cec69cfb93 Change dirty flag from int to bool 2021-03-10 22:47:57 -05:00
Timothy Warren 1b7e8216ef Add start of Document class
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-03-10 16:24:02 -05:00
Timothy Warren 31144fb2e3 Some more code cleanup
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-03-10 11:10:52 -05:00
Timothy Warren 99685f3fcb Some refactoring
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-03-09 17:22:49 -05:00
Timothy Warren 5329378b93 Cleanup some unused code
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-03-09 13:37:03 -05:00
Timothy Warren 3b6cd21070 Update README
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-03-09 12:51:31 -05:00
Timothy Warren d7d8b4a197 Update README
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-03-09 12:50:29 -05:00
Timothy Warren bce3cae74c Update snapshot test
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-03-09 12:47:33 -05:00
Timothy Warren fdd90e289e Fix arrow key movement and use Position class for cursor and offset 2021-03-09 12:46:30 -05:00
Timothy Warren e4ffe8eb98 Correct syntax highlighting when adding a new line in the middle of the file 2021-03-09 11:05:23 -05:00
Timothy Warren 1680035546 Format fixing
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-03-08 19:48:50 -05:00
Timothy Warren f4c56d383a Fix failing test
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-03-05 21:20:38 -05:00
Timothy Warren 0627e7068a Save composer lock file
timw4mail/php-kilo/pipeline/head There was a failure building this commit Details
2021-03-05 21:16:59 -05:00
Timothy Warren 319a5257cd Fix syntax error 2021-03-05 21:16:39 -05:00
Timothy Warren a952226b92 Use PHP 8 property promotion for Syntax class
timw4mail/php-kilo/pipeline/head There was a failure building this commit Details
2021-03-05 21:11:27 -05:00
Timothy Warren 113cc1a0a1 Minor tweaks
timw4mail/php-kilo/pipeline/head There was a failure building this commit Details
2021-03-05 20:47:59 -05:00