In a GUI application (desktop or web), there could be multiple editable text boxes in one page/window/whatever. Do people maintain one undo buffer for each text box, or just a global buffer for the entire page/window/whatever? What's the usual practice?
GMail example
There seems to be one global buffer for GMail (or maybe for browsers?). I can't undo email body edits and email subject edits separately.