public void merge(TextFragment frag2){textEndPos = frag2.textEndPos;score=Math.max(score,frag2.score);}
public virtual void Merge(TextFragment frag2){TextEndPos = frag2.TextEndPos;Score = Math.Max(Score, frag2.Score);}