Allows for atomic state changes. Updated surrounding text, content type and micro focus is taken into account all at once at commit. Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>