Add comments
This commit is contained in:
parent
4bf538e880
commit
d4c55b8e0f
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue