added merge method to style
added getCommonLeafStyle and getCommonParagraphStyle to TextRange