MCPcopy Create free account
hub / github.com/VincentWei/MiniGUI / textdoc_settext

Function textdoc_settext

src/control/textedit.c:512–557  ·  view source on GitHub ↗

* textdoc_settext : setting TextDoc object using a new text content and * free the old one * Params : content - new text content, if NULL, the content of the * TextDoc object will not be changed; if content * is a null string, txtdoc content will be cleared. * TODO : for not null-terminated text */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

textedit_reset_contentFunction · 0.85
teInitDataFunction · 0.85

Calls 5

GetWindowAdditionalData2Function · 0.85
textdoc_freeFunction · 0.85
get_limited_strFunction · 0.85
txtAddNodeFunction · 0.85
set_current_nodeFunction · 0.85

Tested by

no test coverage detected