partial handling of text change in editor