Refactored head & tail search.
Fixed the jump issue when there is text selected.
Refactor and restructured the JumpAdornmentManager class.