Minor addition to TextBuffer for 2.3.2