コード例 #1
0
ファイル: Commands.cs プロジェクト: 0x53A/dnSpy
 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
ファイル: Commands.cs プロジェクト: lovebanyi/dnSpy
 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
ファイル: Commands.cs プロジェクト: lovebanyi/dnSpy
 WordWrapCommand(TextEditorSettingsImpl textEditorSettings)
     : base(WordWrapInit.WordWrap)
 {
     this.textEditorSettings = textEditorSettings;
 }
コード例 #4
0
ファイル: Commands.cs プロジェクト: lovebanyi/dnSpy
 HighlightCurrentLineCommand(TextEditorSettingsImpl textEditorSettings)
 {
     this.textEditorSettings = textEditorSettings;
 }
コード例 #5
0
ファイル: Commands.cs プロジェクト: 0x53A/dnSpy
 HighlightCurrentLineCommand(TextEditorSettingsImpl textEditorSettings)
 {
     this.textEditorSettings = textEditorSettings;
 }
コード例 #6
0
ファイル: Commands.cs プロジェクト: 0x53A/dnSpy
 WordWrapCommand(TextEditorSettingsImpl textEditorSettings)
     : base(WordWrapInit.WordWrap)
 {
     this.textEditorSettings = textEditorSettings;
 }
コード例 #7
0
ファイル: DisplaySettingsTab.cs プロジェクト: lovebanyi/dnSpy
 DisplayAppSettingsTabCreator(TextEditorSettingsImpl textEditorSettings, FileTreeViewSettingsImpl fileTreeViewSettings, FileTabManagerSettingsImpl fileTabManagerSettings)
 {
     this.textEditorSettings = textEditorSettings;
     this.fileTreeViewSettings = fileTreeViewSettings;
     this.fileTabManagerSettings = fileTabManagerSettings;
 }