2012-07-19 04:19:24 +00:00
|
|
|
|
namespace BizHawk.MultiClient
|
2012-07-19 00:19:47 +00:00
|
|
|
|
{
|
|
|
|
|
partial class LuaWriter
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required designer variable.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Clean up any resources being used.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
{
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required method for Designer support - do not modify
|
|
|
|
|
/// the contents of this method with the code editor.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
2012-08-09 20:18:43 +00:00
|
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LuaWriter));
|
|
|
|
|
this.timer = new System.Windows.Forms.Timer(this.components);
|
|
|
|
|
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
|
|
|
|
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
|
|
|
|
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.undoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.redoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
|
|
|
|
this.cutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
|
|
|
|
|
this.selectAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
|
|
|
|
|
this.searchToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.replaceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.goToToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.configToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.fontToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.syntaxHighlightingToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.backgroundColorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
|
|
|
|
|
this.startWithEmptyScriptToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.restoreSettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.MessageLabel = new System.Windows.Forms.Label();
|
|
|
|
|
this.AutoCompleteView = new System.Windows.Forms.ListView();
|
|
|
|
|
this.PositionLabel = new System.Windows.Forms.Label();
|
|
|
|
|
this.ZoomLabel = new System.Windows.Forms.Label();
|
|
|
|
|
this.LuaText = new BizHawk.MultiClient.LuaWriterBox();
|
|
|
|
|
this.menuStrip1.SuspendLayout();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// timer
|
|
|
|
|
//
|
|
|
|
|
this.timer.Enabled = true;
|
|
|
|
|
this.timer.Interval = 1000;
|
|
|
|
|
this.timer.Tick += new System.EventHandler(this.timer_Tick);
|
|
|
|
|
//
|
|
|
|
|
// menuStrip1
|
|
|
|
|
//
|
|
|
|
|
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
2012-07-22 22:24:02 +00:00
|
|
|
|
this.fileToolStripMenuItem,
|
InputPrompt. I made the UserOK variable to change to false if the user clicks the Cancel button.
LuaWriter. Adding "end" after pressing Enter if the current line has "if", "for", etc. is now fixed. Also added some more edit menu items, like Undo, Redo, Cut, Copy, Paste, Select All, Search, Replace and Go To...
Search and Replace still need to be implemente. Implemente Go To, if the user inserts an invalid text (letters, symbols, etc) it will not close and prompt an error. Otherwise, it will go to the specified line.
2012-08-02 21:45:06 +00:00
|
|
|
|
this.editToolStripMenuItem,
|
2012-07-22 22:24:02 +00:00
|
|
|
|
this.configToolStripMenuItem});
|
2012-08-09 20:18:43 +00:00
|
|
|
|
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.menuStrip1.Name = "menuStrip1";
|
|
|
|
|
this.menuStrip1.Size = new System.Drawing.Size(474, 24);
|
|
|
|
|
this.menuStrip1.TabIndex = 1;
|
|
|
|
|
this.menuStrip1.Text = "menuStrip1";
|
|
|
|
|
//
|
|
|
|
|
// fileToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
2012-07-22 22:24:02 +00:00
|
|
|
|
this.saveToolStripMenuItem,
|
|
|
|
|
this.saveAsToolStripMenuItem,
|
|
|
|
|
this.toolStripSeparator1,
|
|
|
|
|
this.exitToolStripMenuItem});
|
2012-08-09 20:18:43 +00:00
|
|
|
|
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
|
|
|
|
this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
|
|
|
|
|
this.fileToolStripMenuItem.Text = "&File";
|
|
|
|
|
//
|
|
|
|
|
// saveToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.saveToolStripMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.SaveAs;
|
|
|
|
|
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
|
|
|
|
|
this.saveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
|
|
|
|
|
this.saveToolStripMenuItem.Size = new System.Drawing.Size(195, 22);
|
|
|
|
|
this.saveToolStripMenuItem.Text = "&Save";
|
|
|
|
|
this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// saveAsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem";
|
|
|
|
|
this.saveAsToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
|
InputPrompt. I made the UserOK variable to change to false if the user clicks the Cancel button.
LuaWriter. Adding "end" after pressing Enter if the current line has "if", "for", etc. is now fixed. Also added some more edit menu items, like Undo, Redo, Cut, Copy, Paste, Select All, Search, Replace and Go To...
Search and Replace still need to be implemente. Implemente Go To, if the user inserts an invalid text (letters, symbols, etc) it will not close and prompt an error. Otherwise, it will go to the specified line.
2012-08-02 21:45:06 +00:00
|
|
|
|
| System.Windows.Forms.Keys.S)));
|
2012-08-09 20:18:43 +00:00
|
|
|
|
this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(195, 22);
|
|
|
|
|
this.saveAsToolStripMenuItem.Text = "Save &As...";
|
|
|
|
|
this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.saveAsToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// toolStripSeparator1
|
|
|
|
|
//
|
|
|
|
|
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
|
|
|
|
this.toolStripSeparator1.Size = new System.Drawing.Size(192, 6);
|
|
|
|
|
//
|
|
|
|
|
// exitToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
|
|
|
|
|
this.exitToolStripMenuItem.ShortcutKeyDisplayString = "Alt+F4";
|
|
|
|
|
this.exitToolStripMenuItem.Size = new System.Drawing.Size(195, 22);
|
|
|
|
|
this.exitToolStripMenuItem.Text = "E&xit";
|
|
|
|
|
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// editToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
InputPrompt. I made the UserOK variable to change to false if the user clicks the Cancel button.
LuaWriter. Adding "end" after pressing Enter if the current line has "if", "for", etc. is now fixed. Also added some more edit menu items, like Undo, Redo, Cut, Copy, Paste, Select All, Search, Replace and Go To...
Search and Replace still need to be implemente. Implemente Go To, if the user inserts an invalid text (letters, symbols, etc) it will not close and prompt an error. Otherwise, it will go to the specified line.
2012-08-02 21:45:06 +00:00
|
|
|
|
this.undoToolStripMenuItem,
|
|
|
|
|
this.redoToolStripMenuItem,
|
|
|
|
|
this.toolStripSeparator2,
|
|
|
|
|
this.cutToolStripMenuItem,
|
|
|
|
|
this.copyToolStripMenuItem,
|
|
|
|
|
this.pasteToolStripMenuItem,
|
|
|
|
|
this.toolStripSeparator3,
|
|
|
|
|
this.selectAllToolStripMenuItem,
|
|
|
|
|
this.toolStripSeparator4,
|
|
|
|
|
this.searchToolStripMenuItem,
|
|
|
|
|
this.replaceToolStripMenuItem,
|
|
|
|
|
this.goToToolStripMenuItem});
|
2012-08-09 20:18:43 +00:00
|
|
|
|
this.editToolStripMenuItem.Name = "editToolStripMenuItem";
|
|
|
|
|
this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20);
|
|
|
|
|
this.editToolStripMenuItem.Text = "Edit";
|
|
|
|
|
//
|
|
|
|
|
// undoToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.undoToolStripMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.undo;
|
|
|
|
|
this.undoToolStripMenuItem.Name = "undoToolStripMenuItem";
|
|
|
|
|
this.undoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z)));
|
|
|
|
|
this.undoToolStripMenuItem.Size = new System.Drawing.Size(164, 22);
|
|
|
|
|
this.undoToolStripMenuItem.Text = "Undo";
|
|
|
|
|
this.undoToolStripMenuItem.Click += new System.EventHandler(this.undoToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// redoToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.redoToolStripMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.redo;
|
|
|
|
|
this.redoToolStripMenuItem.Name = "redoToolStripMenuItem";
|
|
|
|
|
this.redoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Y)));
|
|
|
|
|
this.redoToolStripMenuItem.Size = new System.Drawing.Size(164, 22);
|
|
|
|
|
this.redoToolStripMenuItem.Text = "Redo";
|
|
|
|
|
this.redoToolStripMenuItem.Click += new System.EventHandler(this.redoToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// toolStripSeparator2
|
|
|
|
|
//
|
|
|
|
|
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
|
|
|
|
this.toolStripSeparator2.Size = new System.Drawing.Size(161, 6);
|
|
|
|
|
//
|
|
|
|
|
// cutToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.cutToolStripMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.CutHS;
|
|
|
|
|
this.cutToolStripMenuItem.Name = "cutToolStripMenuItem";
|
|
|
|
|
this.cutToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X)));
|
|
|
|
|
this.cutToolStripMenuItem.Size = new System.Drawing.Size(164, 22);
|
|
|
|
|
this.cutToolStripMenuItem.Text = "Cut";
|
|
|
|
|
this.cutToolStripMenuItem.Click += new System.EventHandler(this.cutToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// copyToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.copyToolStripMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.Duplicate;
|
|
|
|
|
this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
|
|
|
|
|
this.copyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)));
|
|
|
|
|
this.copyToolStripMenuItem.Size = new System.Drawing.Size(164, 22);
|
|
|
|
|
this.copyToolStripMenuItem.Text = "Copy";
|
|
|
|
|
this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// pasteToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.pasteToolStripMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.Paste;
|
|
|
|
|
this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem";
|
|
|
|
|
this.pasteToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V)));
|
|
|
|
|
this.pasteToolStripMenuItem.Size = new System.Drawing.Size(164, 22);
|
|
|
|
|
this.pasteToolStripMenuItem.Text = "Paste";
|
|
|
|
|
this.pasteToolStripMenuItem.Click += new System.EventHandler(this.pasteToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// toolStripSeparator3
|
|
|
|
|
//
|
|
|
|
|
this.toolStripSeparator3.Name = "toolStripSeparator3";
|
|
|
|
|
this.toolStripSeparator3.Size = new System.Drawing.Size(161, 6);
|
|
|
|
|
//
|
|
|
|
|
// selectAllToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem";
|
|
|
|
|
this.selectAllToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A)));
|
|
|
|
|
this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(164, 22);
|
|
|
|
|
this.selectAllToolStripMenuItem.Text = "Select All";
|
|
|
|
|
this.selectAllToolStripMenuItem.Click += new System.EventHandler(this.selectAllToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// toolStripSeparator4
|
|
|
|
|
//
|
|
|
|
|
this.toolStripSeparator4.Name = "toolStripSeparator4";
|
|
|
|
|
this.toolStripSeparator4.Size = new System.Drawing.Size(161, 6);
|
|
|
|
|
//
|
|
|
|
|
// searchToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.searchToolStripMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.FindHS;
|
|
|
|
|
this.searchToolStripMenuItem.Name = "searchToolStripMenuItem";
|
|
|
|
|
this.searchToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F)));
|
|
|
|
|
this.searchToolStripMenuItem.Size = new System.Drawing.Size(164, 22);
|
|
|
|
|
this.searchToolStripMenuItem.Text = "Search";
|
|
|
|
|
//
|
|
|
|
|
// replaceToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.replaceToolStripMenuItem.Name = "replaceToolStripMenuItem";
|
|
|
|
|
this.replaceToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.H)));
|
|
|
|
|
this.replaceToolStripMenuItem.Size = new System.Drawing.Size(164, 22);
|
|
|
|
|
this.replaceToolStripMenuItem.Text = "Replace";
|
|
|
|
|
//
|
|
|
|
|
// goToToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.goToToolStripMenuItem.Name = "goToToolStripMenuItem";
|
|
|
|
|
this.goToToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.G)));
|
|
|
|
|
this.goToToolStripMenuItem.Size = new System.Drawing.Size(164, 22);
|
|
|
|
|
this.goToToolStripMenuItem.Text = "Go to...";
|
|
|
|
|
this.goToToolStripMenuItem.Click += new System.EventHandler(this.goToToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// configToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.configToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
2012-08-03 02:59:36 +00:00
|
|
|
|
this.fontToolStripMenuItem,
|
|
|
|
|
this.syntaxHighlightingToolStripMenuItem,
|
2012-08-04 03:35:17 +00:00
|
|
|
|
this.backgroundColorToolStripMenuItem,
|
2012-08-03 02:59:36 +00:00
|
|
|
|
this.toolStripSeparator5,
|
|
|
|
|
this.startWithEmptyScriptToolStripMenuItem,
|
|
|
|
|
this.restoreSettingsToolStripMenuItem});
|
2012-08-09 20:18:43 +00:00
|
|
|
|
this.configToolStripMenuItem.Name = "configToolStripMenuItem";
|
|
|
|
|
this.configToolStripMenuItem.Size = new System.Drawing.Size(55, 20);
|
|
|
|
|
this.configToolStripMenuItem.Text = "&Config";
|
|
|
|
|
//
|
|
|
|
|
// fontToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.fontToolStripMenuItem.Name = "fontToolStripMenuItem";
|
|
|
|
|
this.fontToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
|
|
|
|
|
this.fontToolStripMenuItem.Text = "&Font";
|
|
|
|
|
this.fontToolStripMenuItem.Click += new System.EventHandler(this.fontToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// syntaxHighlightingToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.syntaxHighlightingToolStripMenuItem.Name = "syntaxHighlightingToolStripMenuItem";
|
|
|
|
|
this.syntaxHighlightingToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
|
|
|
|
|
this.syntaxHighlightingToolStripMenuItem.Text = "&Syntax Highlighting";
|
|
|
|
|
this.syntaxHighlightingToolStripMenuItem.Click += new System.EventHandler(this.syntaxHighlightingToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// backgroundColorToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.backgroundColorToolStripMenuItem.Name = "backgroundColorToolStripMenuItem";
|
|
|
|
|
this.backgroundColorToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
|
|
|
|
|
this.backgroundColorToolStripMenuItem.Text = "Background Color";
|
|
|
|
|
this.backgroundColorToolStripMenuItem.Click += new System.EventHandler(this.backgroundColorToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// toolStripSeparator5
|
|
|
|
|
//
|
|
|
|
|
this.toolStripSeparator5.Name = "toolStripSeparator5";
|
|
|
|
|
this.toolStripSeparator5.Size = new System.Drawing.Size(193, 6);
|
|
|
|
|
//
|
|
|
|
|
// startWithEmptyScriptToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.startWithEmptyScriptToolStripMenuItem.Name = "startWithEmptyScriptToolStripMenuItem";
|
|
|
|
|
this.startWithEmptyScriptToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
|
|
|
|
|
this.startWithEmptyScriptToolStripMenuItem.Text = "Start With Empty Script";
|
|
|
|
|
this.startWithEmptyScriptToolStripMenuItem.Click += new System.EventHandler(this.startWithEmptyScriptToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// restoreSettingsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.restoreSettingsToolStripMenuItem.Name = "restoreSettingsToolStripMenuItem";
|
|
|
|
|
this.restoreSettingsToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
|
|
|
|
|
this.restoreSettingsToolStripMenuItem.Text = "Restore Settings";
|
|
|
|
|
this.restoreSettingsToolStripMenuItem.Click += new System.EventHandler(this.restoreSettingsToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// MessageLabel
|
|
|
|
|
//
|
|
|
|
|
this.MessageLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
|
|
|
this.MessageLabel.AutoSize = true;
|
|
|
|
|
this.MessageLabel.Location = new System.Drawing.Point(15, 424);
|
|
|
|
|
this.MessageLabel.Name = "MessageLabel";
|
|
|
|
|
this.MessageLabel.Size = new System.Drawing.Size(91, 13);
|
|
|
|
|
this.MessageLabel.TabIndex = 2;
|
|
|
|
|
this.MessageLabel.Text = " ";
|
|
|
|
|
//
|
|
|
|
|
// AutoCompleteView
|
|
|
|
|
//
|
|
|
|
|
this.AutoCompleteView.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
this.AutoCompleteView.FullRowSelect = true;
|
2012-08-09 21:53:49 +00:00
|
|
|
|
this.AutoCompleteView.HideSelection = false;
|
2012-08-09 20:18:43 +00:00
|
|
|
|
this.AutoCompleteView.Location = new System.Drawing.Point(324, 322);
|
2012-08-09 21:53:49 +00:00
|
|
|
|
this.AutoCompleteView.MultiSelect = false;
|
2012-08-09 20:18:43 +00:00
|
|
|
|
this.AutoCompleteView.Name = "AutoCompleteView";
|
|
|
|
|
this.AutoCompleteView.Size = new System.Drawing.Size(121, 97);
|
|
|
|
|
this.AutoCompleteView.TabIndex = 3;
|
|
|
|
|
this.AutoCompleteView.UseCompatibleStateImageBehavior = false;
|
|
|
|
|
this.AutoCompleteView.View = System.Windows.Forms.View.List;
|
|
|
|
|
this.AutoCompleteView.Visible = false;
|
|
|
|
|
this.AutoCompleteView.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.AutoCompleteView_MouseDoubleClick);
|
|
|
|
|
//
|
|
|
|
|
// PositionLabel
|
|
|
|
|
//
|
|
|
|
|
this.PositionLabel.AutoSize = true;
|
|
|
|
|
this.PositionLabel.Location = new System.Drawing.Point(14, 30);
|
|
|
|
|
this.PositionLabel.Name = "PositionLabel";
|
|
|
|
|
this.PositionLabel.Size = new System.Drawing.Size(46, 13);
|
|
|
|
|
this.PositionLabel.TabIndex = 4;
|
|
|
|
|
this.PositionLabel.Text = " ";
|
|
|
|
|
//
|
|
|
|
|
// ZoomLabel
|
|
|
|
|
//
|
|
|
|
|
this.ZoomLabel.AutoSize = true;
|
|
|
|
|
this.ZoomLabel.Location = new System.Drawing.Point(393, 30);
|
|
|
|
|
this.ZoomLabel.Name = "ZoomLabel";
|
|
|
|
|
this.ZoomLabel.Size = new System.Drawing.Size(66, 13);
|
|
|
|
|
this.ZoomLabel.TabIndex = 5;
|
|
|
|
|
this.ZoomLabel.Text = "Zoom: 100%";
|
|
|
|
|
//
|
|
|
|
|
// LuaText
|
|
|
|
|
//
|
|
|
|
|
this.LuaText.AcceptsTab = true;
|
|
|
|
|
this.LuaText.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
InputPrompt. I made the UserOK variable to change to false if the user clicks the Cancel button.
LuaWriter. Adding "end" after pressing Enter if the current line has "if", "for", etc. is now fixed. Also added some more edit menu items, like Undo, Redo, Cut, Copy, Paste, Select All, Search, Replace and Go To...
Search and Replace still need to be implemente. Implemente Go To, if the user inserts an invalid text (letters, symbols, etc) it will not close and prompt an error. Otherwise, it will go to the specified line.
2012-08-02 21:45:06 +00:00
|
|
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
2012-08-09 20:18:43 +00:00
|
|
|
|
this.LuaText.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
|
|
|
this.LuaText.EnableAutoDragDrop = true;
|
|
|
|
|
this.LuaText.Location = new System.Drawing.Point(15, 50);
|
|
|
|
|
this.LuaText.Name = "LuaText";
|
|
|
|
|
this.LuaText.Size = new System.Drawing.Size(444, 369);
|
|
|
|
|
this.LuaText.TabIndex = 0;
|
|
|
|
|
this.LuaText.Text = "";
|
|
|
|
|
this.LuaText.WordWrap = false;
|
|
|
|
|
this.LuaText.SelectionChanged += new System.EventHandler(this.LuaText_SelectionChanged);
|
|
|
|
|
this.LuaText.TextChanged += new System.EventHandler(this.LuaText_TextChanged);
|
|
|
|
|
this.LuaText.KeyDown += new System.Windows.Forms.KeyEventHandler(this.LuaText_KeyDown);
|
|
|
|
|
this.LuaText.KeyUp += new System.Windows.Forms.KeyEventHandler(this.LuaText_KeyUp);
|
|
|
|
|
this.LuaText.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.LuaText_PreviewKeyDown);
|
|
|
|
|
//
|
|
|
|
|
// LuaWriter
|
|
|
|
|
//
|
|
|
|
|
this.AllowDrop = true;
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(474, 441);
|
|
|
|
|
this.Controls.Add(this.AutoCompleteView);
|
|
|
|
|
this.Controls.Add(this.ZoomLabel);
|
|
|
|
|
this.Controls.Add(this.PositionLabel);
|
|
|
|
|
this.Controls.Add(this.MessageLabel);
|
|
|
|
|
this.Controls.Add(this.LuaText);
|
|
|
|
|
this.Controls.Add(this.menuStrip1);
|
|
|
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
|
|
|
this.MainMenuStrip = this.menuStrip1;
|
|
|
|
|
this.Name = "LuaWriter";
|
|
|
|
|
this.Text = "LuaWriter";
|
|
|
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.LuaWriter_FormClosing);
|
|
|
|
|
this.Load += new System.EventHandler(this.LuaWriter_Load);
|
|
|
|
|
this.DragDrop += new System.Windows.Forms.DragEventHandler(this.LuaWriter_DragDrop);
|
|
|
|
|
this.DragEnter += new System.Windows.Forms.DragEventHandler(this.LuaWriter_DragEnter);
|
|
|
|
|
this.menuStrip1.ResumeLayout(false);
|
|
|
|
|
this.menuStrip1.PerformLayout();
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
this.PerformLayout();
|
2012-07-19 00:19:47 +00:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
2012-07-22 19:54:40 +00:00
|
|
|
|
private LuaWriterBox LuaText;
|
2012-07-19 04:19:24 +00:00
|
|
|
|
private System.Windows.Forms.Timer timer;
|
2012-07-22 22:24:02 +00:00
|
|
|
|
private System.Windows.Forms.MenuStrip menuStrip1;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.Label MessageLabel;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem saveAsToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem configToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem fontToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem syntaxHighlightingToolStripMenuItem;
|
2012-07-23 02:24:48 +00:00
|
|
|
|
private System.Windows.Forms.ListView AutoCompleteView;
|
|
|
|
|
private System.Windows.Forms.Label PositionLabel;
|
2012-07-27 23:33:05 +00:00
|
|
|
|
private System.Windows.Forms.Label ZoomLabel;
|
2012-08-01 02:56:38 +00:00
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem restoreSettingsToolStripMenuItem;
|
InputPrompt. I made the UserOK variable to change to false if the user clicks the Cancel button.
LuaWriter. Adding "end" after pressing Enter if the current line has "if", "for", etc. is now fixed. Also added some more edit menu items, like Undo, Redo, Cut, Copy, Paste, Select All, Search, Replace and Go To...
Search and Replace still need to be implemente. Implemente Go To, if the user inserts an invalid text (letters, symbols, etc) it will not close and prompt an error. Otherwise, it will go to the specified line.
2012-08-02 21:45:06 +00:00
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem undoToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem redoToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem cutToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem copyToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem pasteToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem selectAllToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem searchToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem replaceToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem goToToolStripMenuItem;
|
2012-08-03 02:59:36 +00:00
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem startWithEmptyScriptToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
|
2012-08-04 03:35:17 +00:00
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem backgroundColorToolStripMenuItem;
|
2012-07-19 00:19:47 +00:00
|
|
|
|
}
|
|
|
|
|
}
|