Adding Parstrees To Tree Editor

Description

When adding a new parsetree to the tree editor window (visparse) will always set the focus to the first parsetree in the window. This is most annoying when a big number of trees is added via ccc-show-conflicts (based on xcdgclient) and you'd meenwhile like to watch at some of those trees.

Comments

::showparse{} now switches to the first new tree. Is this the way you want it?
-- KilianAFoth on 09 Nov 2004, 14:20:47

Well, reading the report (that I wrote) the parsetree that you selected still gets switched away now....
-- MichaelDaum on 09 Nov 2004, 14:33:03

Assigned the bug to you, Kilian, as you are working on this one here currently.
-- MichaelDaum on 09 Nov 2004, 14:35:40

OK, the desired behaviour has now been specified like this:

  • when a parse is added to a window, its view switches to the first newly added parse
  • however, if the user switched the view since the last parse was added, the view is left unchanged

This means that you can either lean back and watch trees being added to a window, or you can click on one of them and keep seeing it even if others are still being added.

So TreeEditor must receive a "being updated flag" that is set when showparse starts, reset when an X event is received, and that showparse must check before altering the view programmatically.

-- KilianAFoth on 16 Nov 2004, 10:40:54

 

 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback