Should be paired with a call to TextBuffer.beginUserAction. See that function for a full explanation.
Should be paired with a call to TextBuffer.beginUserAction. See that function for a full explanation.