| TE_updateCommand | Function (ROM Call 0xB4)

textedit.h

void TE_updateCommand (TEXT_EDIT *te, unsigned char cmd);

Updates the command byte in the current line of the text.

TE_updateCommand sets the first byte of the current line (i.e. the line in which the cursor is located) of the text editor associated to the structure pointed to by te to cmd, i.e. sets the "command byte". This function works correctly only if the editor is opened in "command byte" mode, i.e. if if b2 = 1 in parameter Flags of the TE_open function).