Commit Graph

83 Commits

Author SHA1 Message Date
Timothy Warren b0ea547378 Fix CTRL method 2020-02-05 16:32:17 -05:00
Timothy Warren afd6560db4 Add KeyType::CTRL helper method
timw4mail/php-kilo/master There was a failure building this commit Details
2020-02-05 15:20:32 -05:00
Timothy Warren 366945bda1 Fix merge conflict
timw4mail/php-kilo/master There was a failure building this commit Details
2020-02-05 14:51:42 -05:00
Timothy Warren 6f870aa922 Refactor and simplify 2020-02-05 14:50:31 -05:00
Timothy Warren 60b1cca695 Cut down on number of keycode escapes with constants
timw4mail/php-kilo/master This commit looks good Details
2020-01-29 16:13:05 -05:00
Timothy Warren 52e284b818 Improve tput detection
timw4mail/php-kilo/master This commit looks good Details
2020-01-27 15:57:45 -05:00
Timothy Warren f8894b971a Add basic event system
timw4mail/php-kilo/master There was a failure building this commit Details
2020-01-27 15:11:35 -05:00
Timothy Warren 54bc83e1f9 Clean up key mapping with more constants 2020-01-27 15:11:20 -05:00
Timothy Warren 24baca3cb8 Improve terminal size checking
timw4mail/php-kilo/master There was a failure building this commit Details
2020-01-23 13:41:35 -05:00
Timothy Warren a0e0f80223 Tests for the ANSI methods
Gitea - Tutorials/php-kilo/master This commit looks good Details
2019-12-05 14:54:00 -05:00
Timothy Warren b54221ed38 Simplify more escape sequences
Gitea - Tutorials/php-kilo/master This commit looks good Details
2019-12-05 11:05:07 -05:00
Timothy Warren 8c159dd5bc Attempt to verify tput exists before using it
Gitea - Tutorials/php-kilo/master This commit looks good Details
2019-12-05 11:00:03 -05:00
Timothy Warren fb5dd66bee Replace inline ANSI escapes with constants and static methods
Gitea - Tutorials/php-kilo/master There was a failure building this commit Details
2019-12-04 10:54:15 -05:00
Timothy Warren c3bdc6f67b Clean functions, fix sizing on mac
Gitea - Tutorials/php-kilo/master There was a failure building this commit Details
2019-12-02 16:27:22 -05:00
Timothy Warren f5aafb465a Mac fixes
Gitea - Tutorials/php-kilo/master There was a failure building this commit Details
2019-12-02 09:44:11 -05:00
Timothy Warren 5c73b3db2b More test coverage, and snapshots 2019-11-20 15:03:48 -05:00
Timothy Warren a3e902967a A little cleanup refactoring 2019-11-19 15:57:51 -05:00
Timothy Warren 99c5ac9697 Test coverage 2019-11-19 13:48:12 -05:00
Timothy Warren 0ed7a34948 Remove redundant checks 2019-11-18 13:45:36 -05:00
Timothy Warren cf75f92cd5 Fix syntax highlighting dissapearing when code pushed to new line (for PHP) 2019-11-15 16:19:34 -05:00
Timothy Warren 345239d248 Fix test, PHP highlighting now works as expected 2019-11-15 11:35:08 -05:00
Timothy Warren 8951894493 More PHP token refactoring 2019-11-14 17:11:10 -05:00
Timothy Warren 519a193a8d Refactor PHP token function into class, more tests 2019-11-14 12:14:02 -05:00
Timothy Warren de0b6bda43 First unit test 2019-11-14 11:12:32 -05:00
Timothy Warren 99799e1d5a Slight tweak of php token handling 2019-11-13 16:26:19 -05:00
Timothy Warren 9c23194feb little rawmode cleanup 2019-11-08 21:48:46 -05:00
Timothy Warren 5787fe3822 Go full PHP with composer and phpunit 2019-11-08 16:27:08 -05:00
Timothy Warren c4f9d67980 Further simplify Row->update 2019-11-08 13:32:31 -05:00
Timothy Warren 8baca1d293 Improve token mapping, fix multi-line PHP comments 2019-11-08 13:28:24 -05:00
Timothy Warren e2e4f421e0 Insert a little more sanity 2019-11-08 12:04:26 -05:00
Timothy Warren 252eddc093 Another ugly progress commit 2019-11-08 12:02:00 -05:00
Timothy Warren bb10b69e12 Make ANSI escape colors into constants 2019-11-06 16:11:38 -05:00
Timothy Warren ae5228a6f1 Minor refactor 2019-11-06 14:55:32 -05:00
Timothy Warren d3bf9294cc Cut down on some highlighting boilerplate 2019-11-06 14:48:21 -05:00
Timothy Warren da2bec354a Ugly progress commit 2019-11-06 13:57:19 -05:00
Timothy Warren 0877bcd6dd Some progress on multi-line comments in PHP 2019-11-05 16:56:18 -05:00
Timothy Warren 155340df66 Misc updates 2019-11-05 13:51:21 -05:00
Timothy Warren be415d28b8 More looping updates 2019-11-05 13:21:37 -05:00
Timothy Warren 2871ead27d Do null key check 2019-11-05 12:56:12 -05:00
Timothy Warren dd9d52400e Remove redundant code 2019-11-05 12:38:03 -05:00
Timothy Warren c7d9f00965 Replace foreachs with for loops 2019-11-05 12:37:25 -05:00
Timothy Warren c16b9aa6f0 Fix some editing issues 2019-11-05 12:28:10 -05:00
Timothy Warren 3d2bc7ef48 Partially fix inserting new lines in the PHP version 2019-10-31 19:05:39 -04:00
Timothy Warren d617c1c009 More progress on PHP syntax highlighting 2019-10-30 16:36:17 -04:00
Timothy Warren d115985833 Make sure to keep all the tokens, rework php highlighting into lookup arrays 2019-10-30 14:21:10 -04:00
Timothy Warren fa96e91b30 More PHP highlighting 2019-10-29 17:24:04 -04:00
Timothy Warren 346ef67a08 Work in progress on PHP highlighting using token_get_all 2019-10-29 17:02:03 -04:00
Timothy Warren ca9ec17d49 Complete tutorial 2019-10-25 16:36:03 -04:00
Timothy Warren 4df0644bc2 Refactor array_replace_range and syntax_to_color 2019-10-25 15:35:20 -04:00
Timothy Warren e6dc670c1d Complete step 176 2019-10-25 15:34:56 -04:00