Rev 13 | Rev 15 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13 | Rev 14 | ||
---|---|---|---|
Line 48... | Line 48... | ||
48 | } |
48 | } |
49 | } |
49 | } |
50 | 50 | ||
51 | return (context->counter == context->limit) ? EDIT_DONE : EDIT_NULL; |
51 | return (context->counter == context->limit) ? EDIT_DONE : EDIT_NULL; |
52 | } |
52 | } |
- | 53 | ||
- | 54 | ||
- | 55 | void resetInput(editBuffer * context) |
|
- | 56 | { |
|
- | 57 | context->counter = 0; |
|
- | 58 | context->complete = 0; |
|
- | 59 | } |
|
- | 60 | ||
- | 61 | int charCount(editBuffer * context) |
|
- | 62 | { |
|
- | 63 | return context->counter; |
|
- | 64 | } |
|
53 | 65 |