Commit Graph

120 Commits

Author SHA1 Message Date
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 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 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 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 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
Timothy Warren e6f7095a45 Move terminal handling to its own class
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-03-05 12:06:23 -05:00
Timothy Warren 825966ac54 More cleanup
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-03-04 16:41:12 -05:00
Timothy Warren b642ff5c59 Readability refactoring
timw4mail/php-kilo/pipeline/head This commit looks good Details
2021-03-04 12:03:51 -05:00
Timothy Warren 6df5bda8f2 Attempt to fix CI tests
timw4mail/php-kilo/pipeline/head There was a failure building this commit Details
2021-03-03 20:23:12 -05:00
Timothy Warren 02259f61a7 Simplify code with match statements
timw4mail/php-kilo/pipeline/head There was a failure building this commit Details
2021-03-03 16:35:58 -05:00
Timothy Warren 9280b77d1e Highlight more token types
timw4mail/php-kilo/pipeline/head There was a failure building this commit Details
2021-03-03 13:14:44 -05:00
Timothy Warren 03fed4d667 PHP Syntax highlighting using PhpToken
timw4mail/php-kilo/pipeline/head There was a failure building this commit Details
2021-03-03 11:50:29 -05:00
Timothy Warren 7cd7d1baa5 Create php8 fork
timw4mail/php-kilo/pipeline/head This commit looks good Details
2020-12-04 11:18:21 -05:00
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