1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-09-06 17:54:25 +00:00

Switch some hotkeys around

Ctrl+L -> edit label
Ctrl+; -> edit comment (looks funny in menu)
Ctrl+M -> edit long comment
Ctrl+N -> edit note (was "new project")
Ctrl+W -> nothing (was "close project")

(issue #11)
This commit is contained in:
Andy McFadden 2018-10-05 13:11:29 -07:00
parent 4639af8b0e
commit 2d1ef37a13
2 changed files with 7 additions and 2 deletions

View File

@ -238,7 +238,6 @@ namespace SourceGen.AppForms
// newToolStripMenuItem // newToolStripMenuItem
// //
this.newToolStripMenuItem.Name = "newToolStripMenuItem"; this.newToolStripMenuItem.Name = "newToolStripMenuItem";
this.newToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
this.newToolStripMenuItem.Size = new System.Drawing.Size(208, 22); this.newToolStripMenuItem.Size = new System.Drawing.Size(208, 22);
this.newToolStripMenuItem.Text = "New"; this.newToolStripMenuItem.Text = "New";
this.newToolStripMenuItem.Click += new System.EventHandler(this.newToolStripMenuItem_Click); this.newToolStripMenuItem.Click += new System.EventHandler(this.newToolStripMenuItem_Click);
@ -269,7 +268,6 @@ namespace SourceGen.AppForms
// closeToolStripMenuItem // closeToolStripMenuItem
// //
this.closeToolStripMenuItem.Name = "closeToolStripMenuItem"; this.closeToolStripMenuItem.Name = "closeToolStripMenuItem";
this.closeToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.W)));
this.closeToolStripMenuItem.Size = new System.Drawing.Size(208, 22); this.closeToolStripMenuItem.Size = new System.Drawing.Size(208, 22);
this.closeToolStripMenuItem.Text = "Close"; this.closeToolStripMenuItem.Text = "Close";
this.closeToolStripMenuItem.Click += new System.EventHandler(this.closeToolStripMenuItem_Click); this.closeToolStripMenuItem.Click += new System.EventHandler(this.closeToolStripMenuItem_Click);
@ -491,6 +489,7 @@ namespace SourceGen.AppForms
// editLabelToolStripMenuItem // editLabelToolStripMenuItem
// //
this.editLabelToolStripMenuItem.Name = "editLabelToolStripMenuItem"; this.editLabelToolStripMenuItem.Name = "editLabelToolStripMenuItem";
this.editLabelToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.L)));
this.editLabelToolStripMenuItem.Size = new System.Drawing.Size(255, 22); this.editLabelToolStripMenuItem.Size = new System.Drawing.Size(255, 22);
this.editLabelToolStripMenuItem.Text = "Edit Label..."; this.editLabelToolStripMenuItem.Text = "Edit Label...";
this.editLabelToolStripMenuItem.Click += new System.EventHandler(this.EditLabel_Click); this.editLabelToolStripMenuItem.Click += new System.EventHandler(this.EditLabel_Click);
@ -512,6 +511,7 @@ namespace SourceGen.AppForms
// editCommentToolStripMenuItem // editCommentToolStripMenuItem
// //
this.editCommentToolStripMenuItem.Name = "editCommentToolStripMenuItem"; this.editCommentToolStripMenuItem.Name = "editCommentToolStripMenuItem";
this.editCommentToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Oem1)));
this.editCommentToolStripMenuItem.Size = new System.Drawing.Size(255, 22); this.editCommentToolStripMenuItem.Size = new System.Drawing.Size(255, 22);
this.editCommentToolStripMenuItem.Text = "Edit Comment..."; this.editCommentToolStripMenuItem.Text = "Edit Comment...";
this.editCommentToolStripMenuItem.Click += new System.EventHandler(this.EditComment_Click); this.editCommentToolStripMenuItem.Click += new System.EventHandler(this.EditComment_Click);
@ -519,6 +519,7 @@ namespace SourceGen.AppForms
// editLongCommentToolStripMenuItem // editLongCommentToolStripMenuItem
// //
this.editLongCommentToolStripMenuItem.Name = "editLongCommentToolStripMenuItem"; this.editLongCommentToolStripMenuItem.Name = "editLongCommentToolStripMenuItem";
this.editLongCommentToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.M)));
this.editLongCommentToolStripMenuItem.Size = new System.Drawing.Size(255, 22); this.editLongCommentToolStripMenuItem.Size = new System.Drawing.Size(255, 22);
this.editLongCommentToolStripMenuItem.Text = "Edit Long Comment..."; this.editLongCommentToolStripMenuItem.Text = "Edit Long Comment...";
this.editLongCommentToolStripMenuItem.Click += new System.EventHandler(this.EditLongComment_Click); this.editLongCommentToolStripMenuItem.Click += new System.EventHandler(this.EditLongComment_Click);
@ -526,6 +527,7 @@ namespace SourceGen.AppForms
// editNoteToolStripMenuItem // editNoteToolStripMenuItem
// //
this.editNoteToolStripMenuItem.Name = "editNoteToolStripMenuItem"; this.editNoteToolStripMenuItem.Name = "editNoteToolStripMenuItem";
this.editNoteToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
this.editNoteToolStripMenuItem.Size = new System.Drawing.Size(255, 22); this.editNoteToolStripMenuItem.Size = new System.Drawing.Size(255, 22);
this.editNoteToolStripMenuItem.Text = "Edit Note..."; this.editNoteToolStripMenuItem.Text = "Edit Note...";
this.editNoteToolStripMenuItem.Click += new System.EventHandler(this.EditNote_Click); this.editNoteToolStripMenuItem.Click += new System.EventHandler(this.EditNote_Click);

View File

@ -162,6 +162,9 @@ CODE LDA LABEL+2
<h2><a name="comment">Edit Comment</a></h2> <h2><a name="comment">Edit Comment</a></h2>
<p>NOTE: the shortcut for Edit Comment is Ctrl+; (semicolon). For some
reason Windows likes to show this as "Ctrl+Oem1".</p>
<p>Enter an end-of-line (EOL) comment, or leave the text field blank to <p>Enter an end-of-line (EOL) comment, or leave the text field blank to
delete it. EOL comments may be placed on instruction and data lines, but delete it. EOL comments may be placed on instruction and data lines, but
not on assembler directives.</p> not on assembler directives.</p>