private void applyFormatting(string text, IEditable editable) { var splitPoint = getFormattingSplitPoint(text); editable.ClearSpans(); if (isEditing) { editable.SetSpan(new TypefaceSpan("sans-serif-medium"), 0, editable.Length(), SpanTypes.InclusiveInclusive); editable.SetSpan(new ForegroundColorSpan(fadedTextColor), 0, splitPoint, SpanTypes.InclusiveInclusive); } else { editable.SetSpan(new TypefaceSpan("sans-serif-medium"), 0, splitPoint, SpanTypes.InclusiveInclusive); } }