Changes

Jump to: navigation, search

BTP300A Team 2 Bugs Report

458 bytes added, 16:11, 29 September 2013
Week 4
==Week 4 ==
 
Working on Edit function:
* RIGHT, LEFT and BACKSPACE working.
* Correctly using curPosition and strOffset after changing logic (sending pointers to display function).
* Problems over-striking characters in field.
(Sept 28/13:)
* Over-striking works properly, minus trying to type something at the very end of the string(most likely a memory leak).
* END button was not working as intended(was going to position 28 instead of 27) in the event strlen was 27 [FIXED].
(**UPDATE)
* Memory leak was a result of right arrow and overstike mode allowing strOffset to get too high, (maxStringLength - 1),
proper max is (maxStringLength - fieldLength - 1).
* Fixed END key for the third time. It's strOffset went too far and allowed typing and such outside of string after hitting end.
* BACKSPACE appears to be fully functional (it no longer acts like DEL when (strOffset + curPosition = 0))
(**UPDATE)
* Made progress on DEL, kinda works, but changes to str are inconsistent, and trying to use it near the end of the string
is catastrophic.
(Sept 28/13)
* DEL works now. (for loop had an incorrect parameter).
* noticed ESCAPE's backup str did not need to be dynamically allocated.
* INSERT now exists and works.

Navigation menu