fix editor color with collapsed range