Subversion Repositories LassyPad

Compare Revisions

Ignore whitespace Rev 7 → Rev 8

/LassyPad/MainForm.resx
156,6 → 156,15
Vk9hNcqhrwbq02Nae4Pc6wJDlo2KjrbsMAAAAABJRU5ErkJggg==
</value>
</data>
<data name="toolStripButton9.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAIhJREFUOE9jYBg+
YOmUlv8g38BoXD7Dqu5/NQNYM4hGNwCZD5OHqUexBCSIbgA2PkwzikXILkA2FZsBMJcSFXnYvESURpDz
QBhmAIxPKIAZnty7DtaEC4PkYRjDJf9/ATXCMDZDkORBhmA3YBXQEBhGNgRZHGgQcQYgayLaAGRv4GET
FRN0UwQAEFv9OJDo/4QAAAAASUVORK5CYII=
</value>
</data>
<metadata name="formatBar.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>116, 17</value>
</metadata>
/LassyPad/bin/Debug/LassyPad.exe
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/LassyPad/bin/Debug/LassyPad.pdb
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/LassyPad/bin/Debug/icons/Thumbs.db
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/LassyPad/obj/x86/Debug/LassyPad.MainForm.resources
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/LassyPad/obj/x86/Debug/LassyPad.exe
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/LassyPad/obj/x86/Debug/LassyPad.csproj.GenerateResource.Cache
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/LassyPad/obj/x86/Debug/LassyPad.pdb
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/LassyPad/MainForm.Designer.cs
43,6 → 43,7
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton9 = new System.Windows.Forms.ToolStripButton();
this.formatBar = new System.Windows.Forms.ToolStrip();
this.sizeF = new System.Windows.Forms.ToolStripTextBox();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
104,10 → 105,11
this.toolStripButton1,
this.toolStripButton2,
this.toolStripButton3,
this.toolStripButton4});
this.fileBar.Location = new System.Drawing.Point(3, 0);
this.toolStripButton4,
this.toolStripButton9});
this.fileBar.Location = new System.Drawing.Point(3, 25);
this.fileBar.Name = "fileBar";
this.fileBar.Size = new System.Drawing.Size(104, 25);
this.fileBar.Size = new System.Drawing.Size(127, 25);
this.fileBar.TabIndex = 1;
this.fileBar.Text = "toolStrip1";
//
155,6 → 157,17
this.toolStripButton4.ToolTipText = "Close File";
this.toolStripButton4.Click += new System.EventHandler(this.ToolStripButton4Click);
//
// toolStripButton9
//
this.toolStripButton9.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.toolStripButton9.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton9.Image")));
this.toolStripButton9.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton9.Name = "toolStripButton9";
this.toolStripButton9.Size = new System.Drawing.Size(23, 22);
this.toolStripButton9.Text = "toolStripButton9";
this.toolStripButton9.ToolTipText = "Save All";
this.toolStripButton9.Click += new System.EventHandler(this.ToolStripButton9Click);
//
// formatBar
//
this.formatBar.Dock = System.Windows.Forms.DockStyle.None;
172,7 → 185,7
this.toolStripButton7,
this.toolStripSeparator1,
this.toolStripButton8});
this.formatBar.Location = new System.Drawing.Point(107, 0);
this.formatBar.Location = new System.Drawing.Point(3, 0);
this.formatBar.Name = "formatBar";
this.formatBar.Size = new System.Drawing.Size(272, 25);
this.formatBar.TabIndex = 2;
198,8 → 211,8
this.textColourF.Name = "textColourF";
this.textColourF.Size = new System.Drawing.Size(23, 22);
this.textColourF.Text = "A";
this.textColourF.ToolTipText = "Set Text Colour";
this.textColourF.Click += new System.EventHandler(this.ToolStripButton9Click);
this.textColourF.ToolTipText = "Text Colour";
this.textColourF.Click += new System.EventHandler(this.TextColourFClick);
//
// toolStripSeparator4
//
374,7 → 387,7
this.tabControl.Location = new System.Drawing.Point(0, 0);
this.tabControl.Name = "tabControl";
this.tabControl.SelectedIndex = 0;
this.tabControl.Size = new System.Drawing.Size(502, 355);
this.tabControl.Size = new System.Drawing.Size(502, 330);
this.tabControl.TabIndex = 0;
//
// welcomeTab
383,7 → 396,7
this.welcomeTab.Location = new System.Drawing.Point(4, 22);
this.welcomeTab.Name = "welcomeTab";
this.welcomeTab.Padding = new System.Windows.Forms.Padding(3);
this.welcomeTab.Size = new System.Drawing.Size(494, 329);
this.welcomeTab.Size = new System.Drawing.Size(494, 304);
this.welcomeTab.TabIndex = 0;
this.welcomeTab.Text = "Welcome";
this.welcomeTab.UseVisualStyleBackColor = true;
394,7 → 407,7
this.welcomeView.Location = new System.Drawing.Point(3, 3);
this.welcomeView.MinimumSize = new System.Drawing.Size(20, 20);
this.welcomeView.Name = "welcomeView";
this.welcomeView.Size = new System.Drawing.Size(488, 323);
this.welcomeView.Size = new System.Drawing.Size(488, 298);
this.welcomeView.TabIndex = 0;
//
// editorTab
403,7 → 416,7
this.editorTab.Location = new System.Drawing.Point(4, 22);
this.editorTab.Name = "editorTab";
this.editorTab.Padding = new System.Windows.Forms.Padding(3);
this.editorTab.Size = new System.Drawing.Size(494, 329);
this.editorTab.Size = new System.Drawing.Size(494, 304);
this.editorTab.TabIndex = 1;
this.editorTab.Text = "Editor";
this.editorTab.UseVisualStyleBackColor = true;
418,7 → 431,7
this.editorView.HideSelection = false;
this.editorView.Location = new System.Drawing.Point(3, 3);
this.editorView.Name = "editorView";
this.editorView.Size = new System.Drawing.Size(488, 323);
this.editorView.Size = new System.Drawing.Size(488, 298);
this.editorView.TabIndex = 0;
this.editorView.Text = "";
this.editorView.SelectionChanged += new System.EventHandler(this.EditorViewSelectionChanged);
482,7 → 495,7
this.treeView.Dock = System.Windows.Forms.DockStyle.Fill;
this.treeView.Location = new System.Drawing.Point(0, 0);
this.treeView.Name = "treeView";
this.treeView.Size = new System.Drawing.Size(249, 355);
this.treeView.Size = new System.Drawing.Size(249, 330);
this.treeView.TabIndex = 0;
this.treeView.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.TreeViewNodeMouseClick);
//
499,7 → 512,7
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.tabControl);
this.splitContainer1.Size = new System.Drawing.Size(755, 355);
this.splitContainer1.Size = new System.Drawing.Size(755, 330);
this.splitContainer1.SplitterDistance = 249;
this.splitContainer1.TabIndex = 3;
//
509,7 → 522,7
// toolStripContainer1.ContentPanel
//
this.toolStripContainer1.ContentPanel.Controls.Add(this.splitContainer1);
this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(755, 355);
this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(755, 330);
this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.toolStripContainer1.Location = new System.Drawing.Point(0, 24);
this.toolStripContainer1.Name = "toolStripContainer1";
553,6 → 566,7
this.ResumeLayout(false);
this.PerformLayout();
}
private System.Windows.Forms.ToolStripButton toolStripButton9;
private System.Windows.Forms.ToolStripButton textColourF;
private System.Windows.Forms.ColorDialog colorDialog1;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
/LassyPad/MainForm.cs
266,6 → 266,12
}
}
public void saveAll()
{
for (int i = 0; i < files.Count; i++)
files[i].save();
}
// format functions
public void addStyle(FontStyle newStyles)
440,7 → 446,7
#endregion
void ToolStripButton9Click(object sender, EventArgs e)
void TextColourFClick(object sender, EventArgs e)
{
DialogResult res = colorDialog1.ShowDialog();
if (res != DialogResult.Cancel)
449,5 → 455,10
editorView.SelectionColor = colorDialog1.Color;
}
}
void ToolStripButton9Click(object sender, EventArgs e)
{
saveAll();
}
}
}