Commit Graph

75 Commits

Author SHA1 Message Date
Timothy Warren
4d91919fb5 Minor refactors, fix some typos 2021-08-13 11:16:57 -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
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
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
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
cec69cfb93 Change dirty flag from int to bool 2021-03-10 22:47:57 -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
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
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
02259f61a7 Simplify code with match statements
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2021-03-03 16:35:58 -05:00
Timothy Warren
03fed4d667 PHP Syntax highlighting using PhpToken
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2021-03-03 11:50:29 -05:00
Timothy Warren
7cd7d1baa5 Create php8 fork
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2020-12-04 11:18:21 -05:00
Timothy Warren
b0ea547378 Fix CTRL method 2020-02-05 16:32:17 -05:00
366945bda1 Fix merge conflict
Some checks failed
timw4mail/php-kilo/master There was a failure building this commit
2020-02-05 14:51:42 -05:00
6f870aa922 Refactor and simplify 2020-02-05 14:50:31 -05:00
Timothy Warren
60b1cca695 Cut down on number of keycode escapes with constants
All checks were successful
timw4mail/php-kilo/master This commit looks good
2020-01-29 16:13:05 -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
Some checks failed
timw4mail/php-kilo/master There was a failure building this commit
2020-01-23 13:41:35 -05:00
b54221ed38 Simplify more escape sequences
All checks were successful
Gitea - Tutorials/php-kilo/master This commit looks good
2019-12-05 11:05:07 -05:00
fb5dd66bee Replace inline ANSI escapes with constants and static methods
Some checks failed
Gitea - Tutorials/php-kilo/master There was a failure building this commit
2019-12-04 10:54:15 -05:00
f5aafb465a Mac fixes
Some checks failed
Gitea - Tutorials/php-kilo/master There was a failure building this commit
2019-12-02 09:44:11 -05:00
5c73b3db2b More test coverage, and snapshots 2019-11-20 15:03:48 -05:00
a3e902967a A little cleanup refactoring 2019-11-19 15:57:51 -05:00
cf75f92cd5 Fix syntax highlighting dissapearing when code pushed to new line (for PHP) 2019-11-15 16:19:34 -05:00
519a193a8d Refactor PHP token function into class, more tests 2019-11-14 12:14:02 -05:00
9c23194feb little rawmode cleanup 2019-11-08 21:48:46 -05:00
5787fe3822 Go full PHP with composer and phpunit 2019-11-08 16:27:08 -05:00
e2e4f421e0 Insert a little more sanity 2019-11-08 12:04:26 -05:00
155340df66 Misc updates 2019-11-05 13:51:21 -05:00
be415d28b8 More looping updates 2019-11-05 13:21:37 -05:00
c7d9f00965 Replace foreachs with for loops 2019-11-05 12:37:25 -05:00
c16b9aa6f0 Fix some editing issues 2019-11-05 12:28:10 -05:00
3d2bc7ef48 Partially fix inserting new lines in the PHP version 2019-10-31 19:05:39 -04:00
d617c1c009 More progress on PHP syntax highlighting 2019-10-30 16:36:17 -04:00
d115985833 Make sure to keep all the tokens, rework php highlighting into lookup arrays 2019-10-30 14:21:10 -04:00
346ef67a08 Work in progress on PHP highlighting using token_get_all 2019-10-29 17:02:03 -04:00
ca9ec17d49 Complete tutorial 2019-10-25 16:36:03 -04:00