check validity of RangeHighlighter
magic number moved to registry