r3 - 28 Sep 2004 - 08:52:13 - JohnAndersonYou are here: OSAF >  Journal Web  >  ContributorNotes > JohnAndersonNotes > JohnAnderson20040927
  • Made a pass on my Mac and updated the entire world, including the new widgets.
  • Fixed Bug #1898
  • Looked into why delete doesn't work in a table. It turns out that wxWidgets always reports the selection as empty. After spending way too much time in the wxGrid source code I think I discovered why the selection is always empty -- probably a bug or at best a conseqence of their design choice
  • This lead to a rewrite of the selection code of Table. It now includes discontiguous selections, and stores the selection run coded which is more efficient for large tables. There is also a new table attribute, the item in the selection to view. The cursorColumn attribute was removed.
  • Several simplifications fell out of the refactoring: Sidebar specific events were either eliminated or generalized to be Table specific.
  • Donn and I came up with a proposal to introduce a view delegate to a table, which is responsible for caching and finding a view (tree of blocks) for an item in a table. This design eliminates awkward Sidebar specific code to get the name of the item in a table and simplifies the refactoring of the new detail view code.

-- JohnAnderson - 21 Sep 2004

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r3 < r2 < r1 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.