misc_gui.c
changeset 3459 c6096d4423aa
parent 3458 26360c9a3743
child 3491 35d747bb5e82
equal deleted inserted replaced
3458:26360c9a3743 3459:c6096d4423aa
   806 	tb->length = tb->width = 0;
   806 	tb->length = tb->width = 0;
   807 	tb->caretpos = tb->caretxoffs = 0;
   807 	tb->caretpos = tb->caretxoffs = 0;
   808 }
   808 }
   809 
   809 
   810 /**
   810 /**
   811  * Insert a character to a textbuffer. If maxlength of the Textbuf is zero,
   811  * Insert a character to a textbuffer. If maxwidth of the Textbuf is zero,
   812  * we don't care about the screenlength but only about the physical
   812  * we don't care about the visual-length but only about the physical
   813  * length of the string
   813  * length of the string
   814  * @param tb @Textbuf type to be changed
   814  * @param tb @Textbuf type to be changed
   815  * @param key Character to be inserted
   815  * @param key Character to be inserted
   816  * @return Return true on successfull change of Textbuf, or false otherwise
   816  * @return Return true on successfull change of Textbuf, or false otherwise
   817  */
   817  */