EditableContent.correctRange

when range positions is out of content bounds, fix it to nearest valid position

class EditableContent
void
correctRange

Meta