Commit Graph

48 Commits

Author SHA1 Message Date
Timothy Warren
f78bbdabb2 Up to step 154 in Kilo tutorial (chapter 7)
Some checks failed
timw4mail/gilo/pipeline/head There was a failure building this commit
2021-04-07 16:26:05 -04:00
6cdb658d43 Simplify package paths
Some checks failed
timw4mail/gilo/pipeline/head There was a failure building this commit
2021-04-07 13:10:40 -04:00
787166df3a Move stuff again, just because
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-02 15:36:43 -04:00
c99cf3faf9 More moving stuff around 2021-04-02 14:52:44 -04:00
1cc35c95a7 Move more stuff around
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-02 13:11:54 -04:00
6255936e35 Increase test coverage
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-02 12:48:15 -04:00
Timothy Warren
38d127e419 Split input handling from editor.go
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-02 12:03:33 -04:00
Timothy Warren
f2e9cd3075 Refactor input mapping
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-02 11:57:24 -04:00
Timothy Warren
f4a252a294 Basic character deletion
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-02 10:48:51 -04:00
Timothy Warren
42e50dfebb Add quit confirmation for modified document
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-02 10:34:19 -04:00
Timothy Warren
799af21a24 Add 'dirty' flag to document
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-02 10:07:37 -04:00
e2f35f5e7d Add dirty flag
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-01 20:26:40 -04:00
a1f62aa8cb Add save functionality
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-01 20:23:51 -04:00
522a549c91 Fix tests
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-01 18:54:51 -04:00
5cb2047762 More test coverage
Some checks failed
timw4mail/gilo/pipeline/head There was a failure building this commit
2021-04-01 18:51:52 -04:00
1a4f6809fb Fix current line display, automatic formatting fixes
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-01 16:47:32 -04:00
Timothy Warren
41d1aa6553 Insert a char
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-01 16:17:13 -04:00
bd9a07feed Finish kilo chapter 4, text viewer
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-01 13:25:59 -04:00
a2bfb5f945 More test coverage
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-01 13:00:58 -04:00
587dfc686a Add line number indication to status bar
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-01 12:49:55 -04:00
6e5e287bb3 Show filename and row count in status bar
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-01 12:37:28 -04:00
Timothy Warren
1d4c8f99c0 Move file-specific logic to a document struct
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-01 12:02:17 -04:00
Timothy Warren
d831bd4f83 Draw empty status bar
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-01 09:41:16 -04:00
e7ba61b2aa Add more tests
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-03-31 19:17:04 -04:00
Timothy Warren
513d328226 Handle rendering tabs
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-03-31 14:56:46 -04:00
Timothy Warren
ae65be003c Fix some offset errors for cursor operations
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-03-31 14:32:43 -04:00
Timothy Warren
ae1c91ac74 Horizontal scrolling and line end snapping
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-03-31 11:12:09 -04:00
Timothy Warren
cef024bb30 Basic scrolling up or down a file
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-03-31 09:43:47 -04:00
Timothy Warren
2203e30b18 Extract method for drawing placeholder rows
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-03-31 09:28:39 -04:00
ca49b44c73 More tests
Some checks failed
timw4mail/gilo/pipeline/head There was a failure building this commit
2021-03-30 20:22:11 -04:00
16f7f9464c Add some tests 2021-03-30 19:37:02 -04:00
7d435d1556 Non-scrolling file viewer 2021-03-30 18:43:46 -04:00
067b38c26a Open first line of a file 2021-03-30 18:29:23 -04:00
b34c146aba Display a row of text 2021-03-30 18:00:06 -04:00
c455562703 Simplify ascii helpers 2021-03-30 16:35:03 -04:00
f7157f9c50 Move functions to file under editor instead of their own package 2021-03-30 16:22:35 -04:00
842ab0ef49 Add start of editor row structure 2021-03-30 16:05:33 -04:00
b7e4463f01 Fix movement keys, finish Kilo chapter 3 2021-03-30 15:47:42 -04:00
Timothy Warren
b0c6d1b369 Break everything again 2021-03-30 15:45:13 -04:00
Timothy Warren
e0b348b941 Make PageUp and PageDown work 2021-03-30 14:42:59 -04:00
Timothy Warren
4dfe797467 Make arrows work 2021-03-30 14:11:36 -04:00
5194fe1e9b Cleanup a little 2021-03-30 11:52:44 -04:00
Timothy Warren
663c4304f0 Reorganize a little bit 2021-03-26 16:18:03 -04:00
f205887294 Now with universal quitting action! 2021-03-26 13:35:58 -04:00
Timothy Warren
458f94f576 Break stuff 2021-03-26 12:01:17 -04:00
ebf6b38a97 Move cursor with wasd keys 2021-03-25 12:46:53 -04:00
ca81c5a8cf Add structs for cursor position and size 2021-03-25 12:27:48 -04:00
Timothy Warren
d04b4bec84 Fewer folders, more files 2021-03-24 16:23:17 -04:00