Displays a table of contents breaking a buffer based on a specific file layout.