aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Properties/Settings.Designer.cs
blob: dfd4da16f2a1d402b88c7f22dc3793536c8db903 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.42000
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace Tango.MachineStudio.UI.Properties {
    
    
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.1.0.0")]
    internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
        
        private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
        
        public static Settings Default {
            get {
                return defaultInstance;
            }
        }
    }
}
Debug.Assert(stack.state == UndoStack.StatePlayback); stack.RegisterAffectedDocument(document); stack.state = UndoStack.StatePlaybackModifyDocument; this.Undo(); stack.state = UndoStack.StatePlayback; } public void Redo(UndoStack stack) { Debug.Assert(stack.state == UndoStack.StatePlayback); stack.RegisterAffectedDocument(document); stack.state = UndoStack.StatePlaybackModifyDocument; this.Redo(); stack.state = UndoStack.StatePlayback; } public void Undo() { OffsetChangeMap map = change.OffsetChangeMapOrNull; document.Replace(change.Offset, change.InsertionLength, change.RemovedText, map != null ? map.Invert() : null); } public void Redo() { document.Replace(change.Offset, change.RemovalLength, change.InsertedText, change.OffsetChangeMapOrNull); } } }