Ejemplo n.º 1
0
        private void RebuildCodeTreeView(Mira.Items items, object executingItem)
        {
            TreeGridItem executingTreeGridItem = null;

            codeTree.DataStore    = GetCodeTree(items, executingItem, ref executingTreeGridItem);
            codeTree.SelectedItem = executingTreeGridItem;
        }
Ejemplo n.º 2
0
        private void UpdateUI()
        {
            Mira.CallEnvironmentStack callEnvironments = runtime.CallEnvironments;
            RebuildCallStackListBox(callEnvironments);
            Mira.CallEnvironment topmostCallEnvironment = callEnvironments.Count == 0 ? null : callEnvironments.Peek();
            Mira.Items           topMostItems           = topmostCallEnvironment == null ? runtime.CurrentRootItems : topmostCallEnvironment.Items;
            object topMostCurrentItem = topmostCallEnvironment?.CurrentItem;

            RebuildCodeTreeView(topMostItems, topMostCurrentItem);
            RebuildStackListBox();
        }