Add some code to range normalization to handle the case when cursor is at the end.
Update comment.
Fixed also for end container.
Refactor createBookmark2.
Improved comment.
Optimized code: Define normalize function only once.
Extended doc strings.
Simplified the code. Added additional doc string to conditions.
Changelog entry.
Merge branch 't/10301'