|
|
@ -87,8 +87,8 @@ |
|
|
|
// moderate sizes. The undo system does no memory allocations, so
|
|
|
|
// moderate sizes. The undo system does no memory allocations, so
|
|
|
|
// it grows STB_TexteditState by the worst-case storage which is (in bytes):
|
|
|
|
// it grows STB_TexteditState by the worst-case storage which is (in bytes):
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// [4 + 3 * sizeof(STB_TEXTEDIT_POSITIONTYPE)] * STB_TEXTEDIT_UNDOSTATE_COUNT
|
|
|
|
// [4 + 3 * sizeof(STB_TEXTEDIT_POSITIONTYPE)] * STB_TEXTEDIT_UNDOSTATECOUNT
|
|
|
|
// + sizeof(STB_TEXTEDIT_CHARTYPE) * STB_TEXTEDIT_UNDOCHAR_COUNT
|
|
|
|
// + sizeof(STB_TEXTEDIT_CHARTYPE) * STB_TEXTEDIT_UNDOCHARCOUNT
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// Implementation mode:
|
|
|
|
// Implementation mode:
|
|
|
|