I have a very long document that many lines can be logically grouped into ranges. For example, maybe something like this:

cow #1
cow #2
cow #3
dog #1
dog #2
table #1
chair #1

This list can be grouped into ranges (lines 1-1000: animals, lines 1001-2042: furniture, etc.) and sub ranges (lines 1-444: cows, lines 445-678: dogs, etc.)
Since this is a long list, I want to present a quick document map type of scroll bar thing with colored areas (don't need labels) to allow quick navigation by clicking the bar. Any ideas/examples of how to do this?

Bonus What if the ranges aren't nested, so that we can have for example ranges such as 1-200, 100-150, 120-300?

  • What is the relationship between the line items? For example, is there any connection between cow #1 with cow #2? – Michael Lai Aug 9 '18 at 21:19
  • @MichaelLai Yes. In actuality, each item is a write of a single byte to a device. I am grouping them into logical transactions, then larger multi-stage transactions, etc. – Baruch Aug 12 '18 at 7:13

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.