Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 3
0
 WordWrapCommand(TextEditorSettingsImpl textEditorSettings)
     : base(WordWrapInit.WordWrap)
 {
     this.textEditorSettings = textEditorSettings;
 }
Ejemplo n.º 4
0
 HighlightCurrentLineCommand(TextEditorSettingsImpl textEditorSettings)
 {
     this.textEditorSettings = textEditorSettings;
 }
Ejemplo n.º 5
0
 HighlightCurrentLineCommand(TextEditorSettingsImpl textEditorSettings)
 {
     this.textEditorSettings = textEditorSettings;
 }
Ejemplo n.º 6
0
 WordWrapCommand(TextEditorSettingsImpl textEditorSettings)
     : base(WordWrapInit.WordWrap)
 {
     this.textEditorSettings = textEditorSettings;
 }
Ejemplo n.º 7
0
 DisplayAppSettingsTabCreator(TextEditorSettingsImpl textEditorSettings, FileTreeViewSettingsImpl fileTreeViewSettings, FileTabManagerSettingsImpl fileTabManagerSettings)
 {
     this.textEditorSettings = textEditorSettings;
     this.fileTreeViewSettings = fileTreeViewSettings;
     this.fileTabManagerSettings = fileTabManagerSettings;
 }