Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Merge lines.love | Kartik K. Agaram | 2023-05-13 | 3 | -48/+62 | |
| |\| | ||||||
| | * | bugfix: searching files containing unicode | Kartik K. Agaram | 2023-05-13 | 3 | -48/+62 | |
| | | | | | | | | | | | | | | | Before this change the cursor was moving, but not being highlighted properly when the cursor line contained unicode before the cursor. | |||||
* | | | Merge text.love | Kartik K. Agaram | 2023-05-06 | 3 | -4/+7 | |
|\| | | ||||||
| * | | Merge lines.love | Kartik K. Agaram | 2023-05-06 | 3 | -4/+7 | |
| |\| | ||||||
| | * | bugfix: never use utf8 pos in string.sub | Kartik K. Agaram | 2023-05-06 | 3 | -4/+7 | |
| | | | | | | | | | | | | | | | | | | This is a violation of an existing rule in Manual_tests.md. The following command weakly suggests there aren't any others: grep ':sub(' *.lua |grep pos | |||||
* | | | Merge text.love | Kartik K. Agaram | 2023-04-21 | 1 | -4/+0 | |
|\| | | ||||||
| * | | Merge lines.love | Kartik K. Agaram | 2023-04-21 | 1 | -4/+0 | |
| |\| | ||||||
| | * | delete inapplicable issue | Kartik K. Agaram | 2023-04-21 | 1 | -4/+0 | |
| | | | ||||||
* | | | Merge text.love | Kartik K. Agaram | 2023-04-21 | 1 | -2/+2 | |
|\| | | ||||||
| * | | Merge lines.love | Kartik K. Agaram | 2023-04-21 | 1 | -2/+2 | |
| |\| | ||||||
| | * | correct a characterization | Kartik K. Agaram | 2023-04-21 | 1 | -2/+2 | |
| | | | ||||||
* | | | Merge text.love | Kartik K. Agaram | 2023-04-19 | 1 | -13/+4 | |
|\| | | ||||||
| * | | Merge lines.love | Kartik K. Agaram | 2023-04-19 | 1 | -13/+4 | |
| |\| | ||||||
| | * | remove some support for long lines from source editor | Kartik K. Agaram | 2023-04-19 | 2 | -13/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A code editor is unlikely to need support for extremely long lines. And that kind of scroll is jarring anyway in a code editor. We don't read code like a novel, and less scroll per page implies more scrolling work. I'd gotten rid of this functionality and the test for it [1] back in the spokecone fork, but only took out the test when first pulling it into the source editor. [1] test_pagedown_often_shows_start_of_wrapping_line | |||||
* | | | Merge text.love | Kartik K. Agaram | 2023-04-11 | 2 | -5/+32 | |
|\| | | ||||||
| * | | Merge lines.love | Kartik K. Agaram | 2023-04-11 | 2 | -5/+32 | |
| |\| | ||||||
| | * | primitives for writing tests | Kartik K. Agaram | 2023-04-11 | 2 | -1/+28 | |
| | | | ||||||
| | * | couple of typos | Kartik K. Agaram | 2023-04-11 | 1 | -4/+4 | |
| | | | ||||||
* | | | Merge text.love | Kartik K. Agaram | 2023-04-10 | 1 | -0/+49 | |
|\| | | ||||||
| * | | Merge lines.love | Kartik K. Agaram | 2023-04-10 | 1 | -0/+49 | |
| |\| | ||||||
| | * | editor documentation | Kartik K. Agaram | 2023-04-10 | 1 | -0/+49 | |
| | | | ||||||
* | | | Merge text.love | Kartik K. Agaram | 2023-04-09 | 2 | -12/+264 | |
|\| | | ||||||
| * | | Merge lines.love | Kartik K. Agaram | 2023-04-09 | 2 | -12/+264 | |
| |\| | ||||||
| | * | include a brief reference enabling many useful apps | Kartik K. Agaram | 2023-04-09 | 2 | -12/+264 | |
| | | | ||||||
* | | | Merge text.love | Kartik K. Agaram | 2023-04-09 | 3 | -3/+17 | |
|\| | | ||||||
| * | | Merge lines.love | Kartik K. Agaram | 2023-04-09 | 3 | -3/+17 | |
| |\| | ||||||
| | * | deemphasize the source editor | Kartik K. Agaram | 2023-04-09 | 3 | -3/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This repo does not support freewheeling modification. It's a primitive to enable freewheeling modification in downstream forks. The source editor is a convenience, but it's a sharp tool and can easily leave the app in a broken state that requires dropping down to external tools (editor, file manager) to fix. | |||||
* | | | Merge text.love | Kartik K. Agaram | 2023-04-08 | 2 | -13/+17 | |
|\| | | ||||||
| * | | Merge lines.love | Kartik K. Agaram | 2023-04-08 | 2 | -13/+17 | |
| |\| | ||||||
| | * | rename a variable | Kartik K. Agaram | 2023-04-08 | 2 | -12/+11 | |
| | | | ||||||
| | * | bugfix: syntax highlighting in source editor | Kartik K. Agaram | 2023-04-08 | 1 | -2/+7 | |
| | | | | | | | | | | | | | | | | | | | | | I missed that comments only get highlighted at start of line. This seems a bit hacky. But it continues to trade off CPU for reduced memory footprint. | |||||
* | | | Merge text.love | Kartik K. Agaram | 2023-04-08 | 2 | -2/+2 | |
|\| | | ||||||
| * | | Merge lines.love | Kartik K. Agaram | 2023-04-08 | 2 | -2/+2 | |
| |\| | ||||||
| | * | enhance bugfix of commit a9aa3436f (Dec 2024) | Kartik K. Agaram | 2023-04-08 | 2 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Scenario: * start out with some text on screen * select some text A, delete * select some more text B, delete * press C-z twice to restore A and B * press C-y twice Before this commit only the first C-y was having an effect (deleting B). The second was failing to delete A. | |||||
* | | | Merge text.love | Kartik K. Agaram | 2023-04-03 | 9 | -110/+118 | |
|\| | | ||||||
| * | | Merge lines.love | Kartik K. Agaram | 2023-04-03 | 9 | -110/+118 | |
| |\| | ||||||
| | * | switch source side to new screen-line-based render | Kartik K. Agaram | 2023-04-03 | 9 | -106/+115 | |
| | | | | | | | | | | | | Also copy over the implementation of links from pensieve.love. | |||||
| | * | change cursor bounds check slightly | Kartik K. Agaram | 2023-04-02 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | This doesn't affect this fork directly, but it's a bad idea to assume the _app_ is always going to be doing just what a particular subsystem (here, the text editor in edit.lua+text.lua) is doing. | |||||
| | * | streamline the interface for Text.draw | Kartik K. Agaram | 2023-04-02 | 2 | -3/+2 | |
| | | | ||||||
* | | | Merge text.love | Kartik K. Agaram | 2023-04-02 | 17 | -249/+115 | |
|\| | | ||||||
| * | | Merge lines.love | Kartik K. Agaram | 2023-04-02 | 18 | -250/+116 | |
| |\| | ||||||
| | * | avoid saving fragments in lines | Kartik K. Agaram | 2023-04-01 | 3 | -69/+48 | |
| | | | | | | | | | | | | | | | | | | | | | Now we render lines one screen line at a time rather than one word at a time. I can't port the source side just yet; I need to fix hyperlinks first.. | |||||
| | * | show count of test failures | Kartik K. Agaram | 2023-04-01 | 1 | -1/+1 | |
| | | | ||||||
| | * | minor cleanup and a todo for later | Kartik K. Agaram | 2023-04-01 | 2 | -14/+4 | |
| | | | ||||||
| | * | clean up some final bifold code | Kartik K. Agaram | 2023-04-01 | 2 | -19/+3 | |
| | | | ||||||
| | * | start thinking of compute_fragments as a detail | Kartik K. Agaram | 2023-04-01 | 2 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I think all we need to maintain is the populate_screen_line_starting_pos array. It's easy to render screen lines one by one from it, and we'll only ever construct one additional screen line at a time. I'd hoped to delete other calls to Text.populate_screen_line_starting_pos, but it turns out we need to update it when editing sometimes. Give up on that for now; it's a no-op if not needed. | |||||
| | * | update documentation on fragments | Kartik K. Agaram | 2023-04-01 | 2 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | I see a path to at least maintain a single fragment per screen line. But can we do better? It even seems unnecessary to maintain two copies of the data, chopped up into lines and screen lines. | |||||
| | * | stop creating a singleton table for every word | Kartik K. Agaram | 2023-04-01 | 2 | -22/+22 | |
| | | | ||||||
| | * | clean up some debug prints | Kartik K. Agaram | 2023-04-01 | 2 | -16/+0 | |
| | | | | | | | | | | | | | | | It's starting to become apparent just how little line_cache.fragments does for me now. Let's see if we can get rid of it entirely. | |||||
| | * | no more Text allocations | Kartik K. Agaram | 2023-04-01 | 5 | -41/+18 | |
| | | | | | | | | | | | | Is it just my imagination, or does the app feel lighter and more fluffy? |