Update the doc of Lua text surface API.