예제 #1
0
        private void BlockComment(object sender, RoutedEventArgs e)
        {
            if (!storyEditorEnabled)
            {
                return;
            }
            var endPos = FSharpEditor.SelectionStart + FSharpEditor.SelectionLength;

            FSharpEditor.Document.Insert(endPos, "*)");
            FSharpEditor.Document.Insert(FSharpEditor.SelectionStart, "(*");
            FSharpEditor.Select(FSharpEditor.SelectionStart - 2, FSharpEditor.SelectionLength + 4);
        }
예제 #2
0
 private void Redo(object sender, RoutedEventArgs e) => FSharpEditor.Redo();
예제 #3
0
 private void Cut(object sender, RoutedEventArgs e) => FSharpEditor.Cut();
예제 #4
0
 private void Paste(object sender, RoutedEventArgs e) => FSharpEditor.Paste();
예제 #5
0
 private void Del(object sender, RoutedEventArgs e) => FSharpEditor.Delete();
예제 #6
0
 private void SelectAll(object sender, RoutedEventArgs e) => FSharpEditor.SelectAll();