Commit Graph

201 Commits

Author SHA1 Message Date
Timothy Warren 155340df66 Misc updates 2019-11-05 13:51:21 -05:00
Timothy Warren f55a603031 Add php highlighting test file 2019-11-05 13:50:02 -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
Timothy Warren 2bc98b0308 Keyword highlighting, completing step 174 2019-10-25 14:49:34 -04:00
Timothy Warren cf0436dc7d Highlight single-line comments, finish step 171 2019-10-25 12:08:21 -04:00
Timothy Warren 3dc3fc01aa Highlight strings, complete step 168 2019-10-25 11:49:04 -04:00
Timothy Warren 17283f5011 Improve highlighting loop and language support 2019-10-25 10:47:44 -04:00
Timothy Warren 5566441dc3 Complete step 164 2019-10-25 10:28:15 -04:00
Timothy Warren 79d9a6def3 Remove some extra lines 2019-10-24 20:21:44 -04:00
Timothy Warren 76b6acdf80 tweak main function 2019-10-24 17:07:07 -04:00
Timothy Warren 26eb9170f7 Add Syntax class, from step 157 2019-10-24 16:58:52 -04:00
Timothy Warren cb8eb05249 Split classes and setup autoloading 2019-10-24 16:57:27 -04:00
Timothy Warren 88afc3909e Improve number highlighting, finish step 156 2019-10-24 16:22:52 -04:00
Timothy Warren a59bcfb9d1 highlight search results in blue, step 151 2019-10-24 12:01:00 -04:00
Timothy Warren 78a91514b3 Refactor C constants to be class constants of the C class 2019-10-24 12:00:14 -04:00
Timothy Warren 29026373b8 Make functions all snake case, move ffi to only functions.php 2019-10-24 10:58:38 -04:00
Timothy Warren 23c88b7dad Simplify getting 'enum' constants 2019-10-23 16:14:27 -04:00
Timothy Warren 0da8d12758 Refactor syntax highlighting, complete step 149 2019-10-23 16:10:56 -04:00
Timothy Warren 83168301ce Make digits red 2019-10-23 13:36:16 -04:00
Timothy Warren bb1ee20964 Remove unused ffi prototypes, make php equivalent functions 2019-10-23 13:34:40 -04:00
Timothy Warren 0b66606e6c Finish chapter 6, adding incremental search 2019-10-23 10:36:04 -04:00
Timothy Warren 6d0074ffd3 Fix Ctrl-S handling 2019-10-22 17:50:35 -04:00
Timothy Warren 5642187c0e Ugly progress commit 2019-10-22 16:44:55 -04:00
Timothy Warren 98a3b8b691 Complete chapter 5 2019-10-22 16:16:28 -04:00
Timothy Warren 1522544fc9 Remove duplicate method 2019-10-22 14:25:46 -04:00
Timothy Warren deaed33b90 Merge branch 'master' of git.timshomepage.net:tutorials/php-kilo 2019-10-22 12:09:21 -04:00
Timothy Warren 34d96e73a6 Up to step 121 2019-10-22 12:09:11 -04:00
Timothy Warren e2d3697279 Start chapter 5 2019-10-21 20:48:32 -04:00
Timothy Warren e9cdc17322 Fix issues with rendering and input handling 2019-10-21 15:37:20 -04:00
Timothy Warren 5ced2d1f09 Misc bugfixes 2019-10-18 16:20:34 -04:00
Timothy Warren 340dc459f5 Don't refresh until there's a keypress 2019-10-16 22:14:30 -04:00
Timothy Warren 77473f9602 Finish chapter 4, drawing issues exist, at least in tmux 2019-10-16 16:43:15 -04:00
Timothy Warren 15f36a960a Add README 2019-10-15 14:57:58 -04:00
Timothy Warren 9184a9b90f Up to step 71 in tutorial 2019-10-15 13:23:25 -04:00
Timothy Warren 5e6e6e7c7d Complete chapter 3 2019-10-14 16:21:41 -04:00
Timothy Warren e0a9d066ca Up to step 21 2019-10-11 16:32:47 -04:00
Timothy Warren 10369accac Add editorconfig 2019-10-10 15:49:18 -04:00
Timothy Warren 08cf93b9c7 Get raw mode sorted out 2019-10-10 15:49:01 -04:00