Free cookie consent management tool by TermsFeed Policy Generator

Changeset 11035


Ignore:
Timestamp:
06/24/14 13:27:54 (10 years ago)
Author:
mkommend
Message:

#2202: Ensured that the top symbol is visible in the symbolic expression grammar editor view.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4/SymbolicExpressionGrammarEditorView.cs

    r9456 r11035  
    8484          if (node.Checked) node.Expand();
    8585
     86        //mkommend: scrolls to the top node
     87        symbolsTreeView.Nodes[0].EnsureVisible();
     88
    8689        allowedChildSymbolsControl.Grammar = Content;
    8790        allowedChildSymbolsControl.Symbol = null;
     
    136139      var topLevelSymbols = Content.Symbols.Where(s => !groupSymbols.Any(g => g.Symbols.Contains(s)));
    137140      UpdateChildTreeNodes(symbolsTreeView.Nodes, topLevelSymbols);
    138 
    139141      RebuildImageList();
    140142    }
Note: See TracChangeset for help on using the changeset viewer.