Пример #1
0
 WordWrapInit(IAppWindow appWindow, TextEditorSettingsImpl textEditorSettings, IAppSettings appSettings, IMessageBoxManager messageBoxManager)
 {
     this.textEditorSettings = textEditorSettings;
     this.appSettings        = appSettings;
     this.messageBoxManager  = messageBoxManager;
     appWindow.MainWindowCommands.Add(WordWrap, (s, e) => ToggleWordWrap(), (s, e) => e.CanExecute = true, ModifierKeys.Control | ModifierKeys.Alt, Key.W);
 }
Пример #2
0
 WordWrapInit(IAppWindow appWindow, TextEditorSettingsImpl textEditorSettings, IAppSettings appSettings, IMessageBoxManager messageBoxManager)
 {
     this.textEditorSettings = textEditorSettings;
     this.appSettings = appSettings;
     this.messageBoxManager = messageBoxManager;
     appWindow.MainWindowCommands.Add(WordWrap, (s, e) => ToggleWordWrap(), (s, e) => e.CanExecute = true, ModifierKeys.Control | ModifierKeys.Alt, Key.W);
 }
Пример #3
0
 WordWrapCommand(TextEditorSettingsImpl textEditorSettings)
     : base(WordWrapInit.WordWrap)
 {
     this.textEditorSettings = textEditorSettings;
 }
Пример #4
0
 HighlightCurrentLineCommand(TextEditorSettingsImpl textEditorSettings)
 {
     this.textEditorSettings = textEditorSettings;
 }
Пример #5
0
 HighlightCurrentLineCommand(TextEditorSettingsImpl textEditorSettings)
 {
     this.textEditorSettings = textEditorSettings;
 }
Пример #6
0
 WordWrapCommand(TextEditorSettingsImpl textEditorSettings)
     : base(WordWrapInit.WordWrap)
 {
     this.textEditorSettings = textEditorSettings;
 }
Пример #7
0
 DisplayAppSettingsTabCreator(TextEditorSettingsImpl textEditorSettings, FileTreeViewSettingsImpl fileTreeViewSettings, FileTabManagerSettingsImpl fileTabManagerSettings)
 {
     this.textEditorSettings = textEditorSettings;
     this.fileTreeViewSettings = fileTreeViewSettings;
     this.fileTabManagerSettings = fileTabManagerSettings;
 }