diff --git a/CodeEditor/CodeEditor.csproj b/CodeEditor/CodeEditor.csproj index e63e67d..60ca296 100644 --- a/CodeEditor/CodeEditor.csproj +++ b/CodeEditor/CodeEditor.csproj @@ -33,6 +33,9 @@ 4 + + ..\packages\FCTB.2.16.24\lib\FastColoredTextBox.dll + @@ -54,6 +57,9 @@ + + Form1.cs + ResXFileCodeGenerator Resources.Designer.cs @@ -63,6 +69,7 @@ True Resources.resx + SettingsSingleFileGenerator Settings.Designer.cs diff --git a/CodeEditor/Form1.Designer.cs b/CodeEditor/Form1.Designer.cs index fe2103d..93d6cc7 100644 --- a/CodeEditor/Form1.Designer.cs +++ b/CodeEditor/Form1.Designer.cs @@ -29,12 +29,171 @@ protected override void Dispose(bool disposing) private void InitializeComponent() { this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); + this.menuStrip1 = new System.Windows.Forms.MenuStrip(); + this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.newFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ccsprojToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.textFiletxtToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.pythonpyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.saveFileCTRLSToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.saveFileAsCTRLSHIFTSToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.openFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.fastColoredTextBox1 = new FastColoredTextBoxNS.FastColoredTextBox(); + this.menuStrip1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.fastColoredTextBox1)).BeginInit(); + this.SuspendLayout(); + // + // menuStrip1 + // + this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.fileToolStripMenuItem, + this.editToolStripMenuItem, + this.settingsToolStripMenuItem}); + this.menuStrip1.Location = new System.Drawing.Point(0, 0); + this.menuStrip1.Name = "menuStrip1"; + this.menuStrip1.Size = new System.Drawing.Size(800, 24); + this.menuStrip1.TabIndex = 0; + this.menuStrip1.Text = "menuStrip1"; + // + // fileToolStripMenuItem + // + this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.newFileToolStripMenuItem, + this.openFileToolStripMenuItem, + this.saveFileCTRLSToolStripMenuItem, + this.saveFileAsCTRLSHIFTSToolStripMenuItem}); + this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; + this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); + this.fileToolStripMenuItem.Text = "File"; + // + // editToolStripMenuItem + // + this.editToolStripMenuItem.Name = "editToolStripMenuItem"; + this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20); + this.editToolStripMenuItem.Text = "Edit"; + // + // settingsToolStripMenuItem + // + this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; + this.settingsToolStripMenuItem.Size = new System.Drawing.Size(61, 20); + this.settingsToolStripMenuItem.Text = "Settings"; + // + // newFileToolStripMenuItem + // + this.newFileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ccsprojToolStripMenuItem, + this.textFiletxtToolStripMenuItem, + this.pythonpyToolStripMenuItem}); + this.newFileToolStripMenuItem.Name = "newFileToolStripMenuItem"; + this.newFileToolStripMenuItem.Size = new System.Drawing.Size(225, 22); + this.newFileToolStripMenuItem.Text = "New File"; + // + // ccsprojToolStripMenuItem + // + this.ccsprojToolStripMenuItem.Name = "ccsprojToolStripMenuItem"; + this.ccsprojToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.ccsprojToolStripMenuItem.Text = "C# (.csproj)"; + // + // textFiletxtToolStripMenuItem + // + this.textFiletxtToolStripMenuItem.Name = "textFiletxtToolStripMenuItem"; + this.textFiletxtToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.textFiletxtToolStripMenuItem.Text = "Text File (.txt)"; + // + // pythonpyToolStripMenuItem + // + this.pythonpyToolStripMenuItem.Name = "pythonpyToolStripMenuItem"; + this.pythonpyToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.pythonpyToolStripMenuItem.Text = "Python (.py)"; + // + // saveFileCTRLSToolStripMenuItem + // + this.saveFileCTRLSToolStripMenuItem.Name = "saveFileCTRLSToolStripMenuItem"; + this.saveFileCTRLSToolStripMenuItem.Size = new System.Drawing.Size(225, 22); + this.saveFileCTRLSToolStripMenuItem.Text = "Save File (CTRL+S)"; + // + // saveFileAsCTRLSHIFTSToolStripMenuItem + // + this.saveFileAsCTRLSHIFTSToolStripMenuItem.Name = "saveFileAsCTRLSHIFTSToolStripMenuItem"; + this.saveFileAsCTRLSHIFTSToolStripMenuItem.Size = new System.Drawing.Size(225, 22); + this.saveFileAsCTRLSHIFTSToolStripMenuItem.Text = "Save File As (CTRL+SHIFT+S)"; + // + // openFileToolStripMenuItem + // + this.openFileToolStripMenuItem.Name = "openFileToolStripMenuItem"; + this.openFileToolStripMenuItem.Size = new System.Drawing.Size(225, 22); + this.openFileToolStripMenuItem.Text = "Open File"; + // + // fastColoredTextBox1 + // + this.fastColoredTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.fastColoredTextBox1.AutoCompleteBracketsList = new char[] { + '(', + ')', + '{', + '}', + '[', + ']', + '\"', + '\"', + '\'', + '\''}; + this.fastColoredTextBox1.AutoScrollMinSize = new System.Drawing.Size(179, 14); + this.fastColoredTextBox1.BackBrush = null; + this.fastColoredTextBox1.CharHeight = 14; + this.fastColoredTextBox1.CharWidth = 8; + this.fastColoredTextBox1.Cursor = System.Windows.Forms.Cursors.IBeam; + this.fastColoredTextBox1.DisabledColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); + this.fastColoredTextBox1.Font = new System.Drawing.Font("Courier New", 9.75F); + this.fastColoredTextBox1.IsReplaceMode = false; + this.fastColoredTextBox1.Language = FastColoredTextBoxNS.Language.CSharp; + this.fastColoredTextBox1.Location = new System.Drawing.Point(0, 27); + this.fastColoredTextBox1.Name = "fastColoredTextBox1"; + this.fastColoredTextBox1.Paddings = new System.Windows.Forms.Padding(0); + this.fastColoredTextBox1.SelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255))))); + this.fastColoredTextBox1.ServiceColors = ((FastColoredTextBoxNS.ServiceColors)(resources.GetObject("fastColoredTextBox1.ServiceColors"))); + this.fastColoredTextBox1.Size = new System.Drawing.Size(800, 423); + this.fastColoredTextBox1.TabIndex = 1; + this.fastColoredTextBox1.Text = "fastColoredTextBox1"; + this.fastColoredTextBox1.Zoom = 100; + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(800, 450); + this.Controls.Add(this.fastColoredTextBox1); + this.Controls.Add(this.menuStrip1); + this.MainMenuStrip = this.menuStrip1; + this.Name = "Form1"; this.Text = "Form1"; + this.menuStrip1.ResumeLayout(false); + this.menuStrip1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.fastColoredTextBox1)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + } #endregion + + private System.Windows.Forms.MenuStrip menuStrip1; + private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem newFileToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem ccsprojToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem textFiletxtToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem pythonpyToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem openFileToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem saveFileCTRLSToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem saveFileAsCTRLSHIFTSToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem settingsToolStripMenuItem; + private FastColoredTextBoxNS.FastColoredTextBox fastColoredTextBox1; } } diff --git a/CodeEditor/Form1.resx b/CodeEditor/Form1.resx new file mode 100644 index 0000000..f12f202 --- /dev/null +++ b/CodeEditor/Form1.resx @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + + AAEAAAD/////AQAAAAAAAAAMAgAAAFdGYXN0Q29sb3JlZFRleHRCb3gsIFZlcnNpb249Mi4xNi4yNC4w + LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWZiOGFhMTJiOTk0ZWY2MWIMAwAAAFFTeXN0 + ZW0uRHJhd2luZywgVmVyc2lvbj00LjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2Vu + PWIwM2Y1ZjdmMTFkNTBhM2EFAQAAACJGYXN0Q29sb3JlZFRleHRCb3hOUy5TZXJ2aWNlQ29sb3JzBgAA + ACg8Q29sbGFwc2VNYXJrZXJGb3JlQ29sb3I+a19fQmFja2luZ0ZpZWxkKDxDb2xsYXBzZU1hcmtlckJh + Y2tDb2xvcj5rX19CYWNraW5nRmllbGQqPENvbGxhcHNlTWFya2VyQm9yZGVyQ29sb3I+a19fQmFja2lu + Z0ZpZWxkJjxFeHBhbmRNYXJrZXJGb3JlQ29sb3I+a19fQmFja2luZ0ZpZWxkJjxFeHBhbmRNYXJrZXJC + YWNrQ29sb3I+a19fQmFja2luZ0ZpZWxkKDxFeHBhbmRNYXJrZXJCb3JkZXJDb2xvcj5rX19CYWNraW5n + RmllbGQEBAQEBAQUU3lzdGVtLkRyYXdpbmcuQ29sb3IDAAAAFFN5c3RlbS5EcmF3aW5nLkNvbG9yAwAA + ABRTeXN0ZW0uRHJhd2luZy5Db2xvcgMAAAAUU3lzdGVtLkRyYXdpbmcuQ29sb3IDAAAAFFN5c3RlbS5E + cmF3aW5nLkNvbG9yAwAAABRTeXN0ZW0uRHJhd2luZy5Db2xvcgMAAAACAAAABfz///8UU3lzdGVtLkRy + YXdpbmcuQ29sb3IEAAAABG5hbWUFdmFsdWUKa25vd25Db2xvcgVzdGF0ZQEAAAAJBwcDAAAACgAAAAAA + AAAAlgABAAH7/////P///woAAAAAAAAAAKQAAQAB+v////z///8KAAAAAAAAAACWAAEAAfn////8//// + CgAAAAAAAAAAjQABAAH4/////P///woAAAAAAAAAAKQAAQAB9/////z///8KAAAAAAAAAACWAAEACw== + + + \ No newline at end of file diff --git a/CodeEditor/packages.config b/CodeEditor/packages.config new file mode 100644 index 0000000..7896ce9 --- /dev/null +++ b/CodeEditor/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/CodeEditor/packages.config.new.20190809145232 b/CodeEditor/packages.config.new.20190809145232 new file mode 100644 index 0000000..e69de29