public void SelectText(FileVm file, NSpan span)
    {
      if (Host.CurrentSolution == null)
        return;

      if (file == null)
        return;

      file.IsSelected = true;

      Selection = span;
      ScrollPosition = new ScrollPosition(CaretLine, CaretColumn);
    }
Exemple #2
0
        public void SelectText(FileVm file, NSpan span)
        {
            if (Host.CurrentSolution == null)
            {
                return;
            }

            if (file == null)
            {
                return;
            }

            file.IsSelected = true;

            Selection      = span;
            ScrollPosition = new ScrollPosition(CaretLine, CaretColumn);
        }