That sounds good to me. I'll export it as part of TextBuffer.