Add comments

This commit is contained in:
Heath Mitchell 2023-01-29 14:00:19 +00:00
parent 4bf538e880
commit d4c55b8e0f
1 changed files with 2 additions and 0 deletions

View File

@ -385,6 +385,7 @@ void TeX_flow_layout(struct TeX_Flow *flow, int display)
}
enum cursorMoveResult TeX_flow_cursor_action(struct TeX_Flow * flow, struct editContext * context, enum cursorAction action) {
// If this isn't the flow the cursor is in, continue the recursive search
if (context->cursorFlow != flow)
{
// Search all the nodes in the flow for the cursor
@ -425,6 +426,7 @@ enum cursorMoveResult TeX_flow_cursor_action(struct TeX_Flow * flow, struct edit
return CURSOR_NOT_HERE;
}
// If this is the flow the cursor is in, move the cursor
switch (action)
{
case CURSOR_MOVE_LEFT: