oskusalerma/trelby — pull request #170 by anilgulecha (2012-06-09 06:22:08+00:00)
Title: Add scene navigator. Fixes #2.

Ok, another go at scene navigator.

Major notes:
* NO live tracking. When you scroll down using arrow keys, or ctrl keys, the navigator does not update. A scrolling window is annoying.
* The updates do take place with mouse actions. So if you click on some scene on the page, or click on an item in the navigator, it is marked.
* Update logic - I believe I now have made the logic sufficient to update in all cases. Be it additon of lines, deletion via menu commands, or clicking on page.
* Got rid of edit/Goto scene. Whoever used that?

oskusalerma: Give this a shot, and let me know if updates are missed at any time. These would be bugs, and I'll fix them. However, for any behaviour modifications, let's count those as feature requests for future. Otherwise I fear this patch will never got out of code-review limbo.

PS: with testing this, I also realised that select scene code needs a review since the addition of ACTBREAK. It selects all lines to the next SCENE line, thought the new behavior should be that it should only select from/unto the prev/next SCENE or ACTBREAK line. I'll create a separate patch for this.