Ejemplo n.º 1
0
        private void ShowCodeLocation(LanguageCodeLocation location, int length)
        {
            ChangeOpenedSourceFile(location.CodeUnit);

            SourceCodeTextEditor.SelectionStart  = location.CharacterNumber;
            SourceCodeTextEditor.SelectionLength = length;
            SourceCodeTextEditor.DoSelectionVisible();
        }
Ejemplo n.º 2
0
 private void ShowCodeLocation(int absoluteLocation, int length)
 {
     SourceCodeTextEditor.SelectionStart  = absoluteLocation;
     SourceCodeTextEditor.SelectionLength = length;
     SourceCodeTextEditor.DoSelectionVisible();
 }