Highlighting text ranges with Rich | python