Skip to content

Bugfixes, Zoom, and Cursor - #22

Draft
jarbus wants to merge 18 commits into
masterfrom
dev
Draft

Bugfixes, Zoom, and Cursor#22
jarbus wants to merge 18 commits into
masterfrom
dev

Conversation

@jarbus

@jarbus jarbus commented Jul 31, 2021

Copy link
Copy Markdown
Owner

There is now a cursor when editing text, that you can move around with the arrow keys, and zooming now works with - and =.

Yes these should have been two different PRs.

@jarbus
jarbus requested a review from OwenDurkin July 31, 2021 21:23

@OwenDurkin OwenDurkin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

General feedback, some suggestions, and potential bug identifications.

Comment thread dtree.c Outdated
Comment thread dtree.c
Comment thread dtree.c Outdated
Comment thread dtree.c
Comment thread dtree.c Outdated
Comment thread dtree.c
strcpy(FILENAME_BUFFER.buf, "unnamed.txt");


HINT_TEXT_QUEUE = calloc(8192, sizeof(char*));

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Arbitrary buffer sizes aren't great but I understand that we might hack it until we get a more permanent solution in. All the same, 8192 is a magic number here- would be better to put it in a static const variable. Again, the more permanent solution would be to re-use the data structures that we have.

Comment thread dtree.c Outdated
Comment thread dtree.c
Comment thread dtree.c
Comment thread dtree.c Outdated
@jarbus
jarbus requested a review from OwenDurkin August 4, 2021 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants