Basic functionality
This commit is contained in:
parent
a07ccf6726
commit
c9baf200f7
10 changed files with 1276 additions and 234 deletions
|
@ -146,27 +146,30 @@ namespace LSLEditor
|
|||
|
||||
public static string RemoveComment(string strLine)
|
||||
{
|
||||
bool blnWithinString = false;
|
||||
for (int intI = 0; intI < (strLine.Length - 1); intI++)
|
||||
{
|
||||
char chrC = strLine[intI];
|
||||
if (chrC == '"')
|
||||
blnWithinString = !blnWithinString;
|
||||
if (blnWithinString)
|
||||
{
|
||||
if (chrC == '\\')
|
||||
intI++;
|
||||
continue;
|
||||
}
|
||||
if (chrC != '/')
|
||||
continue;
|
||||
if (strLine[intI + 1] == '/')
|
||||
{
|
||||
strLine = strLine.Substring(0, intI);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return strLine;
|
||||
bool blnWithinString = false;
|
||||
for (int intI = 0; intI < (strLine.Length - 1); intI++)
|
||||
{
|
||||
char chrC = strLine[intI];
|
||||
if (chrC == '"')
|
||||
blnWithinString = !blnWithinString;
|
||||
if (blnWithinString)
|
||||
{
|
||||
if (chrC == '\\')
|
||||
intI++;
|
||||
continue;
|
||||
}
|
||||
if (chrC != '/')
|
||||
continue;
|
||||
if (strLine[intI + 1] == '/')
|
||||
{
|
||||
//if(strLine.IndexOf("@include") != intI + 2)
|
||||
//{
|
||||
strLine = strLine.Substring(0, intI);
|
||||
//}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return strLine;
|
||||
}
|
||||
|
||||
public static string RemoveCommentsFromLines(string strLines)
|
||||
|
|
|
@ -109,6 +109,29 @@ namespace LSLEditor
|
|||
return regex.Replace(strC, new MatchEvaluator(CorrectGlobalEvaluator));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// WORDT NIET MEER GEBRUIKT
|
||||
/// Imports scripts that are imported using //@include() syntax.
|
||||
/// </summary>
|
||||
/// <param name="strC"></param>
|
||||
/// <returns></returns>
|
||||
private string ImportScripts(string strC)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder(strC);
|
||||
for (int i = strC.IndexOf("\n//@include"); i > -1; i = strC.IndexOf("\n//@include" + 1))
|
||||
{
|
||||
string line = Regex.Match(strC.Substring(i + 1), "^//@include\\(\".*?\"\\)").ToString();
|
||||
|
||||
if (line.Length > 0) {
|
||||
// Found an include statement
|
||||
string path = Regex.Match(line, "\".*?\"").ToString();
|
||||
sb.Insert(i, "\n\tpublic void bla() { }\n");
|
||||
}
|
||||
}
|
||||
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
private string RemoveComments(string strC)
|
||||
{
|
||||
if (Properties.Settings.Default.CommentCStyle)
|
||||
|
@ -611,6 +634,8 @@ namespace LSLEditor
|
|||
|
||||
strC = PreCorrectReservedWords(strC); // Experimental
|
||||
|
||||
//strC = ImportScripts(strC);
|
||||
|
||||
strC = MakeGlobalAndLocal(strC);
|
||||
|
||||
strC = CorrectJump(strC);
|
||||
|
|
213
trunk/Helpers/LSLIConverter.cs
Normal file
213
trunk/Helpers/LSLIConverter.cs
Normal file
|
@ -0,0 +1,213 @@
|
|||
// <copyright file="gpl-2.0.txt">
|
||||
// ORIGINAL CODE BASE IS Copyright (C) 2006-2010 by Alphons van der Heijden.
|
||||
// The code was donated on 2010-04-28 by Alphons van der Heijden to Brandon 'Dimentox Travanti' Husbands &
|
||||
// Malcolm J. Kudra, who in turn License under the GPLv2 in agreement with Alphons van der Heijden's wishes.
|
||||
//
|
||||
// The community would like to thank Alphons for all of his hard work, blood sweat and tears. Without his work
|
||||
// the community would be stuck with crappy editors.
|
||||
//
|
||||
// The source code in this file ("Source Code") is provided by The LSLEditor Group to you under the terms of the GNU
|
||||
// General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other
|
||||
// License"), formally executed by you and The LSLEditor Group.
|
||||
// Terms of the GPL can be found in the gplv2.txt document.
|
||||
//
|
||||
// GPLv2 Header
|
||||
// ************
|
||||
// LSLEditor, a External editor for the LSL Language.
|
||||
// Copyright (C) 2010 The LSLEditor Group.
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public
|
||||
// License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any
|
||||
// later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||
// details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License along with this program; if not, write to the Free
|
||||
// Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
// ********************************************************************************************************************
|
||||
// The above copyright notice and this permission notice shall be included in copies or substantial portions of the
|
||||
// Software.
|
||||
// ********************************************************************************************************************
|
||||
// </copyright>
|
||||
//
|
||||
// <summary>
|
||||
// This class is used to convert LSLI to LSL and the other way around.
|
||||
// </summary>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace LSLEditor.Helpers
|
||||
{
|
||||
class LSLIConverter
|
||||
{
|
||||
private EditForm editForm;
|
||||
private const string BEGIN = "//@BEGIN";
|
||||
private const string END = "//@END";
|
||||
private static List<string> validExtensions = new List<string>(3) { "lsl", "lsli", "LSL", "LSLI" };
|
||||
|
||||
public const string EXPANDED_SUBEXT = ".expanded";
|
||||
public const string LSL_EXT = ".lsl";
|
||||
public const string LSLI_EXT = ".lsli";
|
||||
|
||||
public LSLIConverter()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new path and name from the original path and name based on the editForm.
|
||||
/// E.g. turns path/to/file.lsli into path/to/file.expanded.lsl
|
||||
/// </summary>
|
||||
/// <returns>New path and scriptname</returns>
|
||||
public string CreateExpandedPathAndScriptName()
|
||||
{
|
||||
string nameExpanded = editForm.Text.Remove(editForm.ScriptName.Length - 4, 4).TrimEnd(' ') + EXPANDED_SUBEXT + LSL_EXT;
|
||||
nameExpanded = nameExpanded.IndexOf('*') > -1 ? nameExpanded.Remove(nameExpanded.IndexOf('*'), 1) : nameExpanded;
|
||||
return editForm.FullPathName.Remove(editForm.FullPathName.Length - 4, 4) + EXPANDED_SUBEXT + LSL_EXT;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a relative path between two paths
|
||||
/// </summary>
|
||||
/// <param name="filespec">The file or folder to create a relative path towards</param>
|
||||
/// <param name="folder">The base folder</param>
|
||||
/// <returns></returns>
|
||||
private string GetRelativePath(string filespec, string folder)
|
||||
{
|
||||
filespec = Path.GetFullPath(filespec);
|
||||
if(validExtensions.Contains(filespec.Substring(filespec.LastIndexOf(".") + 1)))
|
||||
{
|
||||
int lastIndexOfSeperator = filespec.LastIndexOf('\\') > filespec.LastIndexOf('/') ? filespec.LastIndexOf('\\') : filespec.LastIndexOf('/');
|
||||
filespec = filespec.Remove(lastIndexOfSeperator);
|
||||
}
|
||||
Uri pathUri = new Uri(filespec);
|
||||
// Folders must end in a slash
|
||||
if (!folder.EndsWith(Path.DirectorySeparatorChar.ToString()))
|
||||
{
|
||||
folder += Path.DirectorySeparatorChar;
|
||||
}
|
||||
Uri folderUri = new Uri(folder);
|
||||
string relativePath = Uri.UnescapeDataString(folderUri.MakeRelativeUri(pathUri).ToString().Replace('/', Path.DirectorySeparatorChar));
|
||||
|
||||
if (relativePath.Substring(relativePath.Length - 3) != Path.DirectorySeparatorChar.ToString())
|
||||
{
|
||||
relativePath += Path.DirectorySeparatorChar;
|
||||
}
|
||||
|
||||
return relativePath;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new line in the context after another line
|
||||
/// </summary>
|
||||
/// <param name="context"></param>
|
||||
/// <param name="newLine"></param>
|
||||
/// <param name="lineBefore"></param>
|
||||
/// <returns>Context with the new line</returns>
|
||||
private StringBuilder WriteAfterLine(StringBuilder context, string newLine, string lineBefore)
|
||||
{
|
||||
int includeIndex = context.ToString().LastIndexOf(lineBefore) + lineBefore.Length;
|
||||
|
||||
string hasSeperator = lineBefore.Substring(lineBefore.Length - 1, 1);
|
||||
if (hasSeperator != "\n")
|
||||
{
|
||||
newLine = "\n" + newLine;
|
||||
}
|
||||
|
||||
hasSeperator = newLine.Substring(newLine.Length - 1, 1);
|
||||
if (hasSeperator != "\n")
|
||||
{
|
||||
newLine += "\n";
|
||||
}
|
||||
|
||||
context.Insert(includeIndex, newLine);
|
||||
return context;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Imports scripts from //@include statements
|
||||
/// </summary>
|
||||
/// <param name="strC">Sourcecode to work with</param>
|
||||
/// <param name="pathOfScript">Path of the source code of the script</param>
|
||||
/// <returns>Sourcecode with imported scripts</returns>
|
||||
private string ImportScripts(string strC, string pathOfScript)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder(strC);
|
||||
string includeMatch = "([\n]|^)+//@include\\(\".*?\"\\)(\\s\\w)?"; // OLD (\n|^)+//@include\\(\".*?\"\\)(\\s?)+(\n|$) MATCHES ONLY 1 INCLUDE
|
||||
MatchCollection mIncludes = Regex.Matches(strC, includeMatch); // Find includes
|
||||
foreach (Match m in mIncludes)
|
||||
{
|
||||
string line = m.Value;
|
||||
|
||||
string pathOfInclude = Regex.Match(line, "\".*?\"").Value.Trim('"');
|
||||
int lastIndexOfLine = line.LastIndexOf("\n") > -1 && line.LastIndexOf("\n") > line.LastIndexOf(")")
|
||||
? line.LastIndexOf("\n") + 1 : line.Length;
|
||||
|
||||
// Trim end of string if
|
||||
if (line.Substring(line.Length - 1, 1) != "\n" && line.Substring(line.Length - 1, 1) != ")")
|
||||
{
|
||||
line = line.Remove(line.Length - 1);
|
||||
}
|
||||
|
||||
string ext = pathOfInclude.Substring(pathOfInclude.LastIndexOf(".") + 1);
|
||||
|
||||
if (validExtensions.Contains(ext))
|
||||
{
|
||||
// If path is relative
|
||||
if(!Path.IsPathRooted(pathOfInclude))
|
||||
{
|
||||
pathOfInclude = GetRelativePath(pathOfScript, Environment.CurrentDirectory) + pathOfInclude;
|
||||
}
|
||||
|
||||
sb = this.WriteAfterLine(sb, BEGIN, line);
|
||||
|
||||
string script = "";
|
||||
if (File.Exists(pathOfInclude))
|
||||
{
|
||||
// Insert included script
|
||||
using (StreamReader sr = new StreamReader(pathOfInclude))
|
||||
{
|
||||
string scriptRaw = sr.ReadToEnd();
|
||||
|
||||
// If there are includes in the included script
|
||||
if (Regex.IsMatch(strC, includeMatch))
|
||||
{
|
||||
// TODO: Kijk voor alle matches, niet alleen 1 match AT: VOLGENS MIJ GEBEURD DIT AL?
|
||||
//Match mInclude = Regex.Match(strC, includeMatch); // Find includes
|
||||
//string IncludePath = Regex.Match(mInclude.ToString(), "\".*?\"").Value.Trim('"');
|
||||
|
||||
// Then import these scripts too
|
||||
script = "\n" + ImportScripts(scriptRaw, pathOfInclude) + "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
this.WriteAfterLine(sb, script, BEGIN + "\n");
|
||||
|
||||
this.WriteAfterLine(sb, END, script);
|
||||
}
|
||||
}
|
||||
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Main function of the class. Call this to expand LSLI to LSL
|
||||
/// </summary>
|
||||
/// <param name="editForm"></param>
|
||||
/// <returns>LSL</returns>
|
||||
public string ExpandToLSL(EditForm editForm)
|
||||
{
|
||||
this.editForm = editForm;
|
||||
string sourceCode = ImportScripts(editForm.SourceCode, editForm.FullPathName);
|
||||
return sourceCode;
|
||||
}
|
||||
}
|
||||
}
|
BIN
trunk/LSLEditor.res
Normal file
BIN
trunk/LSLEditor.res
Normal file
Binary file not shown.
427
trunk/LSLEditorForm.Designer.cs
generated
427
trunk/LSLEditorForm.Designer.cs
generated
|
@ -144,13 +144,16 @@ namespace LSLEditor
|
|||
this.openSolutionFilesDialog = new System.Windows.Forms.OpenFileDialog();
|
||||
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
||||
this.dockPanel = new LSLEditor.Docking.DockPanel();
|
||||
this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.CollapseToLSLIToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.expandToLSLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.menuStrip1.SuspendLayout();
|
||||
this.statusStrip1.SuspendLayout();
|
||||
this.contextMenuStrip1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
//
|
||||
// menuStrip1
|
||||
//
|
||||
//
|
||||
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.fileStripMenuItem,
|
||||
this.editStripMenuItem,
|
||||
|
@ -165,9 +168,9 @@ namespace LSLEditor
|
|||
this.menuStrip1.Size = new System.Drawing.Size(742, 24);
|
||||
this.menuStrip1.TabIndex = 0;
|
||||
this.menuStrip1.Text = "menuStrip1";
|
||||
//
|
||||
//
|
||||
// fileStripMenuItem
|
||||
//
|
||||
//
|
||||
this.fileStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.newToolStripMenuItem,
|
||||
this.openToolStripMenuItem,
|
||||
|
@ -197,9 +200,9 @@ namespace LSLEditor
|
|||
this.fileStripMenuItem.Size = new System.Drawing.Size(37, 20);
|
||||
this.fileStripMenuItem.Text = "File";
|
||||
this.fileStripMenuItem.Click += new System.EventHandler(this.fileToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// newToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.newToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.newProjectToolStripMenuItem,
|
||||
this.newFileToolStripMenuItem,
|
||||
|
@ -207,34 +210,34 @@ namespace LSLEditor
|
|||
this.newToolStripMenuItem.Name = "newToolStripMenuItem";
|
||||
this.newToolStripMenuItem.Size = new System.Drawing.Size(187, 22);
|
||||
this.newToolStripMenuItem.Text = "New";
|
||||
//
|
||||
//
|
||||
// newProjectToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.newProjectToolStripMenuItem.Name = "newProjectToolStripMenuItem";
|
||||
this.newProjectToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
|
||||
this.newProjectToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
|
||||
| System.Windows.Forms.Keys.N)));
|
||||
this.newProjectToolStripMenuItem.Size = new System.Drawing.Size(202, 22);
|
||||
this.newProjectToolStripMenuItem.Text = "Solution...";
|
||||
this.newProjectToolStripMenuItem.Click += new System.EventHandler(this.newProjectToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// newFileToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.newFileToolStripMenuItem.Image = global::LSLEditor.Properties.Resources.NEWDOC;
|
||||
this.newFileToolStripMenuItem.Name = "newFileToolStripMenuItem";
|
||||
this.newFileToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
|
||||
this.newFileToolStripMenuItem.Size = new System.Drawing.Size(202, 22);
|
||||
this.newFileToolStripMenuItem.Text = "Script";
|
||||
this.newFileToolStripMenuItem.Click += new System.EventHandler(this.newFileToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// notecardToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.notecardToolStripMenuItem.Name = "notecardToolStripMenuItem";
|
||||
this.notecardToolStripMenuItem.Size = new System.Drawing.Size(202, 22);
|
||||
this.notecardToolStripMenuItem.Text = "Notecard";
|
||||
this.notecardToolStripMenuItem.Click += new System.EventHandler(this.notecardToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// openToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.openToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.openProjectSolutionToolStripMenuItem,
|
||||
this.openNotecardFilesToolStripMenuItem,
|
||||
|
@ -242,42 +245,42 @@ namespace LSLEditor
|
|||
this.openToolStripMenuItem.Name = "openToolStripMenuItem";
|
||||
this.openToolStripMenuItem.Size = new System.Drawing.Size(187, 22);
|
||||
this.openToolStripMenuItem.Text = "Open";
|
||||
//
|
||||
//
|
||||
// openProjectSolutionToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.openProjectSolutionToolStripMenuItem.Name = "openProjectSolutionToolStripMenuItem";
|
||||
this.openProjectSolutionToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
|
||||
this.openProjectSolutionToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
|
||||
| System.Windows.Forms.Keys.O)));
|
||||
this.openProjectSolutionToolStripMenuItem.Size = new System.Drawing.Size(244, 22);
|
||||
this.openProjectSolutionToolStripMenuItem.Text = "Project/Solution...";
|
||||
this.openProjectSolutionToolStripMenuItem.Click += new System.EventHandler(this.openProjectSolutionToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// openNotecardFilesToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.openNotecardFilesToolStripMenuItem.Image = global::LSLEditor.Properties.Resources.OPEN;
|
||||
this.openNotecardFilesToolStripMenuItem.Name = "openNotecardFilesToolStripMenuItem";
|
||||
this.openNotecardFilesToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Alt)
|
||||
this.openNotecardFilesToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Alt)
|
||||
| System.Windows.Forms.Keys.O)));
|
||||
this.openNotecardFilesToolStripMenuItem.Size = new System.Drawing.Size(244, 22);
|
||||
this.openNotecardFilesToolStripMenuItem.Text = "Notecard File(s)...";
|
||||
this.openNotecardFilesToolStripMenuItem.Click += new System.EventHandler(this.openNoteFilesToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// openScriptFilesToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.openScriptFilesToolStripMenuItem.Image = global::LSLEditor.Properties.Resources.OPEN;
|
||||
this.openScriptFilesToolStripMenuItem.Name = "openScriptFilesToolStripMenuItem";
|
||||
this.openScriptFilesToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
|
||||
this.openScriptFilesToolStripMenuItem.Size = new System.Drawing.Size(244, 22);
|
||||
this.openScriptFilesToolStripMenuItem.Text = "Script File(s)...";
|
||||
this.openScriptFilesToolStripMenuItem.Click += new System.EventHandler(this.openScriptFilesToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// toolStripSeparator5
|
||||
//
|
||||
//
|
||||
this.toolStripSeparator5.Name = "toolStripSeparator5";
|
||||
this.toolStripSeparator5.Size = new System.Drawing.Size(184, 6);
|
||||
//
|
||||
//
|
||||
// addToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.addToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.newProjectToolStripMenuItem1,
|
||||
this.toolStripSeparator19,
|
||||
|
@ -286,157 +289,157 @@ namespace LSLEditor
|
|||
this.addToolStripMenuItem.Size = new System.Drawing.Size(187, 22);
|
||||
this.addToolStripMenuItem.Text = "Add";
|
||||
this.addToolStripMenuItem.Visible = false;
|
||||
//
|
||||
//
|
||||
// newProjectToolStripMenuItem1
|
||||
//
|
||||
//
|
||||
this.newProjectToolStripMenuItem1.Name = "newProjectToolStripMenuItem1";
|
||||
this.newProjectToolStripMenuItem1.Size = new System.Drawing.Size(163, 22);
|
||||
this.newProjectToolStripMenuItem1.Text = "New project...";
|
||||
this.newProjectToolStripMenuItem1.Click += new System.EventHandler(this.newProjectToolStripMenuItem1_Click);
|
||||
//
|
||||
//
|
||||
// toolStripSeparator19
|
||||
//
|
||||
//
|
||||
this.toolStripSeparator19.Name = "toolStripSeparator19";
|
||||
this.toolStripSeparator19.Size = new System.Drawing.Size(160, 6);
|
||||
//
|
||||
//
|
||||
// existingProjectToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.existingProjectToolStripMenuItem.Name = "existingProjectToolStripMenuItem";
|
||||
this.existingProjectToolStripMenuItem.Size = new System.Drawing.Size(163, 22);
|
||||
this.existingProjectToolStripMenuItem.Text = "Existing project...";
|
||||
this.existingProjectToolStripMenuItem.Click += new System.EventHandler(this.existingProjectToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// addToolStripSeparator
|
||||
//
|
||||
//
|
||||
this.addToolStripSeparator.Name = "addToolStripSeparator";
|
||||
this.addToolStripSeparator.Size = new System.Drawing.Size(184, 6);
|
||||
this.addToolStripSeparator.Visible = false;
|
||||
//
|
||||
//
|
||||
// closeFileToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.closeFileToolStripMenuItem.Name = "closeFileToolStripMenuItem";
|
||||
this.closeFileToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.W)));
|
||||
this.closeFileToolStripMenuItem.Size = new System.Drawing.Size(187, 22);
|
||||
this.closeFileToolStripMenuItem.Text = "Close";
|
||||
this.closeFileToolStripMenuItem.Click += new System.EventHandler(this.closeFileToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// closeSolutiontoolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.closeSolutiontoolStripMenuItem.Enabled = false;
|
||||
this.closeSolutiontoolStripMenuItem.Name = "closeSolutiontoolStripMenuItem";
|
||||
this.closeSolutiontoolStripMenuItem.Size = new System.Drawing.Size(187, 22);
|
||||
this.closeSolutiontoolStripMenuItem.Text = "Close Solution";
|
||||
this.closeSolutiontoolStripMenuItem.Click += new System.EventHandler(this.closeSolutiontoolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// toolStripSeparator20
|
||||
//
|
||||
//
|
||||
this.toolStripSeparator20.Name = "toolStripSeparator20";
|
||||
this.toolStripSeparator20.Size = new System.Drawing.Size(184, 6);
|
||||
//
|
||||
//
|
||||
// importExampleToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.importExampleToolStripMenuItem.Name = "importExampleToolStripMenuItem";
|
||||
this.importExampleToolStripMenuItem.Size = new System.Drawing.Size(187, 22);
|
||||
this.importExampleToolStripMenuItem.Text = "Import Example...";
|
||||
this.importExampleToolStripMenuItem.Click += new System.EventHandler(this.importExampleToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// toolStripSeparator4
|
||||
//
|
||||
//
|
||||
this.toolStripSeparator4.Name = "toolStripSeparator4";
|
||||
this.toolStripSeparator4.Size = new System.Drawing.Size(184, 6);
|
||||
//
|
||||
//
|
||||
// saveToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.saveToolStripMenuItem.Image = global::LSLEditor.Properties.Resources.SAVE;
|
||||
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(187, 22);
|
||||
this.saveToolStripMenuItem.Text = "Save";
|
||||
this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// saveAsToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem";
|
||||
this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(187, 22);
|
||||
this.saveAsToolStripMenuItem.Text = "Save As...";
|
||||
this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.saveAsToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// SaveAllToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.SaveAllToolStripMenuItem.Image = global::LSLEditor.Properties.Resources.SAVEAS;
|
||||
this.SaveAllToolStripMenuItem.Name = "SaveAllToolStripMenuItem";
|
||||
this.SaveAllToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
|
||||
this.SaveAllToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
|
||||
| System.Windows.Forms.Keys.S)));
|
||||
this.SaveAllToolStripMenuItem.Size = new System.Drawing.Size(187, 22);
|
||||
this.SaveAllToolStripMenuItem.Text = "Save All";
|
||||
this.SaveAllToolStripMenuItem.Click += new System.EventHandler(this.SaveAllToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// toolStripSeparator3
|
||||
//
|
||||
//
|
||||
this.toolStripSeparator3.Name = "toolStripSeparator3";
|
||||
this.toolStripSeparator3.Size = new System.Drawing.Size(184, 6);
|
||||
//
|
||||
//
|
||||
// pageSettingsToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.pageSettingsToolStripMenuItem.Name = "pageSettingsToolStripMenuItem";
|
||||
this.pageSettingsToolStripMenuItem.Size = new System.Drawing.Size(187, 22);
|
||||
this.pageSettingsToolStripMenuItem.Text = "Page settings...";
|
||||
this.pageSettingsToolStripMenuItem.Click += new System.EventHandler(this.pageSettingsToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// printPreviewtoolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.printPreviewtoolStripMenuItem.Name = "printPreviewtoolStripMenuItem";
|
||||
this.printPreviewtoolStripMenuItem.Size = new System.Drawing.Size(187, 22);
|
||||
this.printPreviewtoolStripMenuItem.Text = "Print Preview...";
|
||||
this.printPreviewtoolStripMenuItem.Click += new System.EventHandler(this.printPreviewtoolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// printToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.printToolStripMenuItem.Image = global::LSLEditor.Properties.Resources.PRINT;
|
||||
this.printToolStripMenuItem.Name = "printToolStripMenuItem";
|
||||
this.printToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P)));
|
||||
this.printToolStripMenuItem.Size = new System.Drawing.Size(187, 22);
|
||||
this.printToolStripMenuItem.Text = "Print...";
|
||||
this.printToolStripMenuItem.Click += new System.EventHandler(this.printToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// toolStripSeparator2
|
||||
//
|
||||
//
|
||||
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
||||
this.toolStripSeparator2.Size = new System.Drawing.Size(184, 6);
|
||||
//
|
||||
//
|
||||
// copyToClipboardToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.copyToClipboardToolStripMenuItem.Name = "copyToClipboardToolStripMenuItem";
|
||||
this.copyToClipboardToolStripMenuItem.Size = new System.Drawing.Size(187, 22);
|
||||
this.copyToClipboardToolStripMenuItem.Text = "Copy to clipboard";
|
||||
this.copyToClipboardToolStripMenuItem.Click += new System.EventHandler(this.copyToClipboardToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// toolStripSeparator1
|
||||
//
|
||||
//
|
||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||
this.toolStripSeparator1.Size = new System.Drawing.Size(184, 6);
|
||||
//
|
||||
//
|
||||
// recentFileToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.recentFileToolStripMenuItem.Name = "recentFileToolStripMenuItem";
|
||||
this.recentFileToolStripMenuItem.Size = new System.Drawing.Size(187, 22);
|
||||
this.recentFileToolStripMenuItem.Text = "Recent Files";
|
||||
this.recentFileToolStripMenuItem.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.recentFileToolStripMenuItem_DropDownItemClicked);
|
||||
//
|
||||
//
|
||||
// recentProjectToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.recentProjectToolStripMenuItem.Name = "recentProjectToolStripMenuItem";
|
||||
this.recentProjectToolStripMenuItem.Size = new System.Drawing.Size(187, 22);
|
||||
this.recentProjectToolStripMenuItem.Text = "Recent Solutions";
|
||||
this.recentProjectToolStripMenuItem.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.recentProjectToolStripMenuItem_DropDownItemClicked);
|
||||
//
|
||||
//
|
||||
// toolStripSeparator21
|
||||
//
|
||||
//
|
||||
this.toolStripSeparator21.Name = "toolStripSeparator21";
|
||||
this.toolStripSeparator21.Size = new System.Drawing.Size(184, 6);
|
||||
//
|
||||
//
|
||||
// exitToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
|
||||
this.exitToolStripMenuItem.ShortcutKeyDisplayString = "";
|
||||
this.exitToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.F4)));
|
||||
|
@ -444,9 +447,9 @@ namespace LSLEditor
|
|||
this.exitToolStripMenuItem.Size = new System.Drawing.Size(187, 22);
|
||||
this.exitToolStripMenuItem.Text = "Exit";
|
||||
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// editStripMenuItem
|
||||
//
|
||||
//
|
||||
this.editStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.undoToolStripMenuItem,
|
||||
this.redoToolStripMenuItem,
|
||||
|
@ -462,99 +465,102 @@ namespace LSLEditor
|
|||
this.FindtoolStripMenuItem,
|
||||
this.toolStripMenuItem1,
|
||||
this.toolStripSeparator14,
|
||||
this.advancedToolStripMenuItem});
|
||||
this.advancedToolStripMenuItem,
|
||||
this.toolStripSeparator10,
|
||||
this.CollapseToLSLIToolStripMenuItem,
|
||||
this.expandToLSLToolStripMenuItem});
|
||||
this.editStripMenuItem.Name = "editStripMenuItem";
|
||||
this.editStripMenuItem.Size = new System.Drawing.Size(39, 20);
|
||||
this.editStripMenuItem.Text = "Edit";
|
||||
//
|
||||
//
|
||||
// undoToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.undoToolStripMenuItem.Image = global::LSLEditor.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(225, 22);
|
||||
this.undoToolStripMenuItem.Text = "Undo";
|
||||
this.undoToolStripMenuItem.Click += new System.EventHandler(this.undoToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// redoToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.redoToolStripMenuItem.Image = global::LSLEditor.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(225, 22);
|
||||
this.redoToolStripMenuItem.Text = "Redo";
|
||||
this.redoToolStripMenuItem.Click += new System.EventHandler(this.redoToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// toolStripSeparator6
|
||||
//
|
||||
//
|
||||
this.toolStripSeparator6.Name = "toolStripSeparator6";
|
||||
this.toolStripSeparator6.Size = new System.Drawing.Size(222, 6);
|
||||
//
|
||||
//
|
||||
// cutToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.cutToolStripMenuItem.Image = global::LSLEditor.Properties.Resources.CUT;
|
||||
this.cutToolStripMenuItem.Name = "cutToolStripMenuItem";
|
||||
this.cutToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+X";
|
||||
this.cutToolStripMenuItem.Size = new System.Drawing.Size(225, 22);
|
||||
this.cutToolStripMenuItem.Text = "Cut";
|
||||
this.cutToolStripMenuItem.Click += new System.EventHandler(this.cutToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// copyToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.copyToolStripMenuItem.Image = global::LSLEditor.Properties.Resources.COPY;
|
||||
this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
|
||||
this.copyToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+C";
|
||||
this.copyToolStripMenuItem.Size = new System.Drawing.Size(225, 22);
|
||||
this.copyToolStripMenuItem.Text = "Copy";
|
||||
this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// pasteToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.pasteToolStripMenuItem.Image = global::LSLEditor.Properties.Resources.PASTE;
|
||||
this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem";
|
||||
this.pasteToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+V";
|
||||
this.pasteToolStripMenuItem.Size = new System.Drawing.Size(225, 22);
|
||||
this.pasteToolStripMenuItem.Text = "Paste";
|
||||
this.pasteToolStripMenuItem.Click += new System.EventHandler(this.pasteToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// deleteToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.deleteToolStripMenuItem.Image = global::LSLEditor.Properties.Resources.DELETE;
|
||||
this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem";
|
||||
this.deleteToolStripMenuItem.ShortcutKeyDisplayString = "Del";
|
||||
this.deleteToolStripMenuItem.Size = new System.Drawing.Size(225, 22);
|
||||
this.deleteToolStripMenuItem.Text = "Delete";
|
||||
this.deleteToolStripMenuItem.Click += new System.EventHandler(this.deleteToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// toolStripSeparator13
|
||||
//
|
||||
//
|
||||
this.toolStripSeparator13.Name = "toolStripSeparator13";
|
||||
this.toolStripSeparator13.Size = new System.Drawing.Size(222, 6);
|
||||
//
|
||||
//
|
||||
// selectAllToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem";
|
||||
this.selectAllToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+A";
|
||||
this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(225, 22);
|
||||
this.selectAllToolStripMenuItem.Text = "Select All";
|
||||
this.selectAllToolStripMenuItem.Click += new System.EventHandler(this.selectAllToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// toolStripMenuItem8
|
||||
//
|
||||
//
|
||||
this.toolStripMenuItem8.Name = "toolStripMenuItem8";
|
||||
this.toolStripMenuItem8.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
|
||||
this.toolStripMenuItem8.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
|
||||
| System.Windows.Forms.Keys.A)));
|
||||
this.toolStripMenuItem8.Size = new System.Drawing.Size(225, 22);
|
||||
this.toolStripMenuItem8.Text = "Select All to SL";
|
||||
this.toolStripMenuItem8.Click += new System.EventHandler(this.toolStripMenuItem8_Click);
|
||||
//
|
||||
//
|
||||
// toolStripSeparator7
|
||||
//
|
||||
//
|
||||
this.toolStripSeparator7.Name = "toolStripSeparator7";
|
||||
this.toolStripSeparator7.Size = new System.Drawing.Size(222, 6);
|
||||
//
|
||||
//
|
||||
// FindtoolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.FindtoolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.findToolStripMenuItem1,
|
||||
this.replaceToolStripMenuItem,
|
||||
|
@ -562,47 +568,47 @@ namespace LSLEditor
|
|||
this.FindtoolStripMenuItem.Name = "FindtoolStripMenuItem";
|
||||
this.FindtoolStripMenuItem.Size = new System.Drawing.Size(225, 22);
|
||||
this.FindtoolStripMenuItem.Text = "Find and Replace";
|
||||
//
|
||||
//
|
||||
// findToolStripMenuItem1
|
||||
//
|
||||
//
|
||||
this.findToolStripMenuItem1.Name = "findToolStripMenuItem1";
|
||||
this.findToolStripMenuItem1.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F)));
|
||||
this.findToolStripMenuItem1.Size = new System.Drawing.Size(158, 22);
|
||||
this.findToolStripMenuItem1.Text = "Find";
|
||||
this.findToolStripMenuItem1.Click += new System.EventHandler(this.findToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// 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(158, 22);
|
||||
this.replaceToolStripMenuItem.Text = "Replace";
|
||||
this.replaceToolStripMenuItem.Click += new System.EventHandler(this.replaceToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// findNextToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.findNextToolStripMenuItem.Name = "findNextToolStripMenuItem";
|
||||
this.findNextToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F3;
|
||||
this.findNextToolStripMenuItem.Size = new System.Drawing.Size(158, 22);
|
||||
this.findNextToolStripMenuItem.Text = "Find next";
|
||||
this.findNextToolStripMenuItem.Visible = false;
|
||||
this.findNextToolStripMenuItem.Click += new System.EventHandler(this.findNextToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// toolStripMenuItem1
|
||||
//
|
||||
//
|
||||
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
||||
this.toolStripMenuItem1.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.G)));
|
||||
this.toolStripMenuItem1.Size = new System.Drawing.Size(225, 22);
|
||||
this.toolStripMenuItem1.Text = "Goto...";
|
||||
this.toolStripMenuItem1.Click += new System.EventHandler(this.toolStripMenuItem1_Click);
|
||||
//
|
||||
//
|
||||
// toolStripSeparator14
|
||||
//
|
||||
//
|
||||
this.toolStripSeparator14.Name = "toolStripSeparator14";
|
||||
this.toolStripSeparator14.Size = new System.Drawing.Size(222, 6);
|
||||
//
|
||||
//
|
||||
// advancedToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.advancedToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.formatDocumentToolStripMenuItem,
|
||||
this.formatSelectedTextToolStripMenuItem,
|
||||
|
@ -611,93 +617,93 @@ namespace LSLEditor
|
|||
this.advancedToolStripMenuItem.Name = "advancedToolStripMenuItem";
|
||||
this.advancedToolStripMenuItem.Size = new System.Drawing.Size(225, 22);
|
||||
this.advancedToolStripMenuItem.Text = "Advanced";
|
||||
//
|
||||
//
|
||||
// formatDocumentToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.formatDocumentToolStripMenuItem.Name = "formatDocumentToolStripMenuItem";
|
||||
this.formatDocumentToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D)));
|
||||
this.formatDocumentToolStripMenuItem.Size = new System.Drawing.Size(266, 22);
|
||||
this.formatDocumentToolStripMenuItem.Text = "Format document";
|
||||
this.formatDocumentToolStripMenuItem.Click += new System.EventHandler(this.formatDocumentToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// formatSelectedTextToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.formatSelectedTextToolStripMenuItem.Name = "formatSelectedTextToolStripMenuItem";
|
||||
this.formatSelectedTextToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E)));
|
||||
this.formatSelectedTextToolStripMenuItem.Size = new System.Drawing.Size(266, 22);
|
||||
this.formatSelectedTextToolStripMenuItem.Text = "Format selected text";
|
||||
this.formatSelectedTextToolStripMenuItem.Click += new System.EventHandler(this.formatSelectedTextToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// commentInToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.commentInToolStripMenuItem.Image = global::LSLEditor.Properties.Resources.ININDENT;
|
||||
this.commentInToolStripMenuItem.Name = "commentInToolStripMenuItem";
|
||||
this.commentInToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.K)));
|
||||
this.commentInToolStripMenuItem.Size = new System.Drawing.Size(266, 22);
|
||||
this.commentInToolStripMenuItem.Text = "Commenting selected text";
|
||||
this.commentInToolStripMenuItem.Click += new System.EventHandler(this.commentInToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// uncommentingSelectedTextToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.uncommentingSelectedTextToolStripMenuItem.Image = global::LSLEditor.Properties.Resources.DEINDENT;
|
||||
this.uncommentingSelectedTextToolStripMenuItem.Name = "uncommentingSelectedTextToolStripMenuItem";
|
||||
this.uncommentingSelectedTextToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.L)));
|
||||
this.uncommentingSelectedTextToolStripMenuItem.Size = new System.Drawing.Size(266, 22);
|
||||
this.uncommentingSelectedTextToolStripMenuItem.Text = "Uncommenting selected text";
|
||||
this.uncommentingSelectedTextToolStripMenuItem.Click += new System.EventHandler(this.uncommentingSelectedTextToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// viewlStripMenuItem
|
||||
//
|
||||
//
|
||||
this.viewlStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.solutionExplorerToolStripMenuItem,
|
||||
this.outlineToolStripMenuItem});
|
||||
this.viewlStripMenuItem.Name = "viewlStripMenuItem";
|
||||
this.viewlStripMenuItem.Size = new System.Drawing.Size(44, 20);
|
||||
this.viewlStripMenuItem.Text = "View";
|
||||
//
|
||||
//
|
||||
// solutionExplorerToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.solutionExplorerToolStripMenuItem.Name = "solutionExplorerToolStripMenuItem";
|
||||
this.solutionExplorerToolStripMenuItem.Size = new System.Drawing.Size(163, 22);
|
||||
this.solutionExplorerToolStripMenuItem.Text = "Solution Explorer";
|
||||
this.solutionExplorerToolStripMenuItem.Click += new System.EventHandler(this.solutionExplorerToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// outlineToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.outlineToolStripMenuItem.CheckOnClick = true;
|
||||
this.outlineToolStripMenuItem.Name = "outlineToolStripMenuItem";
|
||||
this.outlineToolStripMenuItem.Size = new System.Drawing.Size(163, 22);
|
||||
this.outlineToolStripMenuItem.Text = "Outline (Alpha)";
|
||||
this.outlineToolStripMenuItem.CheckedChanged += new System.EventHandler(this.outlineToolStripMenuItem_CheckedChanged);
|
||||
//
|
||||
//
|
||||
// projectStripMenuItem
|
||||
//
|
||||
//
|
||||
this.projectStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.addNewObjecttoolStripMenuItem,
|
||||
this.addNewFileToolStripMenuItem});
|
||||
this.projectStripMenuItem.Name = "projectStripMenuItem";
|
||||
this.projectStripMenuItem.Size = new System.Drawing.Size(56, 20);
|
||||
this.projectStripMenuItem.Text = "Project";
|
||||
//
|
||||
//
|
||||
// addNewObjecttoolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.addNewObjecttoolStripMenuItem.Enabled = false;
|
||||
this.addNewObjecttoolStripMenuItem.Name = "addNewObjecttoolStripMenuItem";
|
||||
this.addNewObjecttoolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
|
||||
this.addNewObjecttoolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
|
||||
| System.Windows.Forms.Keys.A)));
|
||||
this.addNewObjecttoolStripMenuItem.Size = new System.Drawing.Size(235, 22);
|
||||
this.addNewObjecttoolStripMenuItem.Text = "Add New Object";
|
||||
this.addNewObjecttoolStripMenuItem.Click += new System.EventHandler(this.addNewObjecttoolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// addNewFileToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.addNewFileToolStripMenuItem.Enabled = false;
|
||||
this.addNewFileToolStripMenuItem.Name = "addNewFileToolStripMenuItem";
|
||||
this.addNewFileToolStripMenuItem.Size = new System.Drawing.Size(235, 22);
|
||||
this.addNewFileToolStripMenuItem.Text = "Add New Item";
|
||||
//
|
||||
//
|
||||
// debugStripMenuItem
|
||||
//
|
||||
//
|
||||
this.debugStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.startToolStripMenuItem,
|
||||
this.stopToolStripMenuItem,
|
||||
|
@ -706,18 +712,18 @@ namespace LSLEditor
|
|||
this.debugStripMenuItem.Name = "debugStripMenuItem";
|
||||
this.debugStripMenuItem.Size = new System.Drawing.Size(54, 20);
|
||||
this.debugStripMenuItem.Text = "Debug";
|
||||
//
|
||||
//
|
||||
// startToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.startToolStripMenuItem.Image = global::LSLEditor.Properties.Resources.START;
|
||||
this.startToolStripMenuItem.Name = "startToolStripMenuItem";
|
||||
this.startToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F5;
|
||||
this.startToolStripMenuItem.Size = new System.Drawing.Size(173, 22);
|
||||
this.startToolStripMenuItem.Text = "Start";
|
||||
this.startToolStripMenuItem.Click += new System.EventHandler(this.startToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// stopToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.stopToolStripMenuItem.Enabled = false;
|
||||
this.stopToolStripMenuItem.Image = global::LSLEditor.Properties.Resources.END;
|
||||
this.stopToolStripMenuItem.Name = "stopToolStripMenuItem";
|
||||
|
@ -725,37 +731,37 @@ namespace LSLEditor
|
|||
this.stopToolStripMenuItem.Size = new System.Drawing.Size(173, 22);
|
||||
this.stopToolStripMenuItem.Text = "Stop";
|
||||
this.stopToolStripMenuItem.Click += new System.EventHandler(this.stopToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// toolStripSeparator23
|
||||
//
|
||||
//
|
||||
this.toolStripSeparator23.Name = "toolStripSeparator23";
|
||||
this.toolStripSeparator23.Size = new System.Drawing.Size(170, 6);
|
||||
//
|
||||
//
|
||||
// syntaxCheckerToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.syntaxCheckerToolStripMenuItem.Name = "syntaxCheckerToolStripMenuItem";
|
||||
this.syntaxCheckerToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F6;
|
||||
this.syntaxCheckerToolStripMenuItem.Size = new System.Drawing.Size(173, 22);
|
||||
this.syntaxCheckerToolStripMenuItem.Text = "Syntax Checker";
|
||||
this.syntaxCheckerToolStripMenuItem.Click += new System.EventHandler(this.syntaxCheckerToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// toolsStripMenuItem
|
||||
//
|
||||
//
|
||||
this.toolsStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.optionsToolStripMenuItem});
|
||||
this.toolsStripMenuItem.Name = "toolsStripMenuItem";
|
||||
this.toolsStripMenuItem.Size = new System.Drawing.Size(48, 20);
|
||||
this.toolsStripMenuItem.Size = new System.Drawing.Size(47, 20);
|
||||
this.toolsStripMenuItem.Text = "Tools";
|
||||
//
|
||||
//
|
||||
// optionsToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
|
||||
this.optionsToolStripMenuItem.Size = new System.Drawing.Size(125, 22);
|
||||
this.optionsToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.optionsToolStripMenuItem.Text = "Options...";
|
||||
this.optionsToolStripMenuItem.Click += new System.EventHandler(this.optionsToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// windowStripMenuItem
|
||||
//
|
||||
//
|
||||
this.windowStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.browserInWindowToolStripMenuItem,
|
||||
this.WikiSepBrowserstoolStripMenuItem,
|
||||
|
@ -764,36 +770,36 @@ namespace LSLEditor
|
|||
this.windowStripMenuItem.Name = "windowStripMenuItem";
|
||||
this.windowStripMenuItem.Size = new System.Drawing.Size(63, 20);
|
||||
this.windowStripMenuItem.Text = "Window";
|
||||
//
|
||||
//
|
||||
// browserInWindowToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.browserInWindowToolStripMenuItem.Name = "browserInWindowToolStripMenuItem";
|
||||
this.browserInWindowToolStripMenuItem.Size = new System.Drawing.Size(263, 22);
|
||||
this.browserInWindowToolStripMenuItem.Text = "Browser in window";
|
||||
this.browserInWindowToolStripMenuItem.Click += new System.EventHandler(this.browserInWindowToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// WikiSepBrowserstoolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.WikiSepBrowserstoolStripMenuItem.Name = "WikiSepBrowserstoolStripMenuItem";
|
||||
this.WikiSepBrowserstoolStripMenuItem.Size = new System.Drawing.Size(263, 22);
|
||||
this.WikiSepBrowserstoolStripMenuItem.Text = "Online Wiki-pages separate Browser";
|
||||
this.WikiSepBrowserstoolStripMenuItem.Click += new System.EventHandler(this.WikiSepBrowserstoolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// toolStripSeparator16
|
||||
//
|
||||
//
|
||||
this.toolStripSeparator16.Name = "toolStripSeparator16";
|
||||
this.toolStripSeparator16.Size = new System.Drawing.Size(260, 6);
|
||||
//
|
||||
//
|
||||
// closeActiveWindowToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.closeActiveWindowToolStripMenuItem.Name = "closeActiveWindowToolStripMenuItem";
|
||||
this.closeActiveWindowToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F4)));
|
||||
this.closeActiveWindowToolStripMenuItem.Size = new System.Drawing.Size(263, 22);
|
||||
this.closeActiveWindowToolStripMenuItem.Text = "Close active window";
|
||||
this.closeActiveWindowToolStripMenuItem.Click += new System.EventHandler(this.closeActiveWindowToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// helpStripMenuItem
|
||||
//
|
||||
//
|
||||
this.helpStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.indexToolStripMenuItem,
|
||||
this.helpKeywordToolStripMenuItem,
|
||||
|
@ -808,79 +814,79 @@ namespace LSLEditor
|
|||
this.helpStripMenuItem.Name = "helpStripMenuItem";
|
||||
this.helpStripMenuItem.Size = new System.Drawing.Size(44, 20);
|
||||
this.helpStripMenuItem.Text = "Help";
|
||||
//
|
||||
//
|
||||
// indexToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.indexToolStripMenuItem.Name = "indexToolStripMenuItem";
|
||||
this.indexToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F1)));
|
||||
this.indexToolStripMenuItem.Size = new System.Drawing.Size(210, 22);
|
||||
this.indexToolStripMenuItem.Text = "Index LSL Wiki";
|
||||
this.indexToolStripMenuItem.Click += new System.EventHandler(this.indexToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// helpKeywordToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.helpKeywordToolStripMenuItem.Name = "helpKeywordToolStripMenuItem";
|
||||
this.helpKeywordToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F1;
|
||||
this.helpKeywordToolStripMenuItem.Size = new System.Drawing.Size(210, 22);
|
||||
this.helpKeywordToolStripMenuItem.Text = "Help on keyword";
|
||||
this.helpKeywordToolStripMenuItem.Click += new System.EventHandler(this.helpKeywordToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// toolStripMenuItem9
|
||||
//
|
||||
//
|
||||
this.toolStripMenuItem9.Name = "toolStripMenuItem9";
|
||||
this.toolStripMenuItem9.Size = new System.Drawing.Size(210, 22);
|
||||
this.toolStripMenuItem9.Text = "Ask a Question / Get Help";
|
||||
this.toolStripMenuItem9.Click += new System.EventHandler(this.toolStripMenuItem9_Click_1);
|
||||
//
|
||||
//
|
||||
// toolStripSeparator8
|
||||
//
|
||||
//
|
||||
this.toolStripSeparator8.Name = "toolStripSeparator8";
|
||||
this.toolStripSeparator8.Size = new System.Drawing.Size(207, 6);
|
||||
//
|
||||
//
|
||||
// toolStripMenuItem4
|
||||
//
|
||||
//
|
||||
this.toolStripMenuItem4.Name = "toolStripMenuItem4";
|
||||
this.toolStripMenuItem4.Size = new System.Drawing.Size(210, 22);
|
||||
this.toolStripMenuItem4.Text = "Check for update...";
|
||||
this.toolStripMenuItem4.Click += new System.EventHandler(this.toolStripMenuItem4_Click);
|
||||
//
|
||||
//
|
||||
// toolStripSeparator9
|
||||
//
|
||||
//
|
||||
this.toolStripSeparator9.Name = "toolStripSeparator9";
|
||||
this.toolStripSeparator9.Size = new System.Drawing.Size(207, 6);
|
||||
//
|
||||
//
|
||||
// makeBugReporttoolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.makeBugReporttoolStripMenuItem.Name = "makeBugReporttoolStripMenuItem";
|
||||
this.makeBugReporttoolStripMenuItem.Size = new System.Drawing.Size(210, 22);
|
||||
this.makeBugReporttoolStripMenuItem.Text = "Bug report...";
|
||||
this.makeBugReporttoolStripMenuItem.Click += new System.EventHandler(this.makeBugReporttoolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// toolStripSeparator12
|
||||
//
|
||||
//
|
||||
this.toolStripSeparator12.Name = "toolStripSeparator12";
|
||||
this.toolStripSeparator12.Size = new System.Drawing.Size(207, 6);
|
||||
//
|
||||
//
|
||||
// releaseNotesToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.releaseNotesToolStripMenuItem.Name = "releaseNotesToolStripMenuItem";
|
||||
this.releaseNotesToolStripMenuItem.Size = new System.Drawing.Size(210, 22);
|
||||
this.releaseNotesToolStripMenuItem.Text = "Release Notes...";
|
||||
this.releaseNotesToolStripMenuItem.Click += new System.EventHandler(this.releaseNotesToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// aboutToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
|
||||
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(210, 22);
|
||||
this.aboutToolStripMenuItem.Text = "About...";
|
||||
this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// openScriptFilesDialog
|
||||
//
|
||||
//
|
||||
this.openScriptFilesDialog.FileName = "openFileDialog1";
|
||||
//
|
||||
//
|
||||
// statusStrip1
|
||||
//
|
||||
//
|
||||
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.toolStripStatusLabel1});
|
||||
this.statusStrip1.Location = new System.Drawing.Point(0, 494);
|
||||
|
@ -888,32 +894,32 @@ namespace LSLEditor
|
|||
this.statusStrip1.Size = new System.Drawing.Size(742, 22);
|
||||
this.statusStrip1.TabIndex = 9;
|
||||
this.statusStrip1.Text = "statusStrip1";
|
||||
//
|
||||
//
|
||||
// toolStripStatusLabel1
|
||||
//
|
||||
//
|
||||
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
|
||||
this.toolStripStatusLabel1.Size = new System.Drawing.Size(0, 17);
|
||||
//
|
||||
//
|
||||
// contextMenuStrip1
|
||||
//
|
||||
//
|
||||
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.closeTabToolStripMenuItem});
|
||||
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
||||
this.contextMenuStrip1.Size = new System.Drawing.Size(104, 26);
|
||||
//
|
||||
//
|
||||
// closeTabToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.closeTabToolStripMenuItem.Name = "closeTabToolStripMenuItem";
|
||||
this.closeTabToolStripMenuItem.Size = new System.Drawing.Size(103, 22);
|
||||
this.closeTabToolStripMenuItem.Text = "Close";
|
||||
this.closeTabToolStripMenuItem.Click += new System.EventHandler(this.closeTabToolStripMenuItem_Click);
|
||||
//
|
||||
//
|
||||
// openSolutionFilesDialog
|
||||
//
|
||||
//
|
||||
this.openSolutionFilesDialog.FileName = "openFileDialog2";
|
||||
//
|
||||
//
|
||||
// dockPanel
|
||||
//
|
||||
//
|
||||
this.dockPanel.ActiveAutoHideContent = null;
|
||||
this.dockPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dockPanel.DockBackColor = System.Drawing.SystemColors.AppWorkspace;
|
||||
|
@ -965,9 +971,27 @@ namespace LSLEditor
|
|||
dockPanelSkin1.DockPaneStripSkin = dockPaneStripSkin1;
|
||||
this.dockPanel.Skin = dockPanelSkin1;
|
||||
this.dockPanel.TabIndex = 10;
|
||||
//
|
||||
//
|
||||
// toolStripSeparator10
|
||||
//
|
||||
this.toolStripSeparator10.Name = "toolStripSeparator10";
|
||||
this.toolStripSeparator10.Size = new System.Drawing.Size(222, 6);
|
||||
//
|
||||
// CollapseToLSLIToolStripMenuItem
|
||||
//
|
||||
this.CollapseToLSLIToolStripMenuItem.Name = "CollapseToLSLIToolStripMenuItem";
|
||||
this.CollapseToLSLIToolStripMenuItem.Size = new System.Drawing.Size(225, 22);
|
||||
this.CollapseToLSLIToolStripMenuItem.Text = "Collapse to LSLI";
|
||||
//
|
||||
// expandToLSLToolStripMenuItem
|
||||
//
|
||||
this.expandToLSLToolStripMenuItem.Name = "expandToLSLToolStripMenuItem";
|
||||
this.expandToLSLToolStripMenuItem.Size = new System.Drawing.Size(225, 22);
|
||||
this.expandToLSLToolStripMenuItem.Text = "Expand to LSL";
|
||||
this.expandToLSLToolStripMenuItem.Click += new System.EventHandler(this.expandToLSLToolStripMenuItem_Click);
|
||||
//
|
||||
// LSLEditorForm
|
||||
//
|
||||
//
|
||||
this.AllowDrop = true;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
|
@ -1096,5 +1120,8 @@ namespace LSLEditor
|
|||
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem9;
|
||||
private System.Windows.Forms.ToolStripMenuItem releaseNotesToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem openNotecardFilesToolStripMenuItem;
|
||||
}
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator10;
|
||||
private System.Windows.Forms.ToolStripMenuItem CollapseToLSLIToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem expandToLSLToolStripMenuItem;
|
||||
}
|
||||
}
|
|
@ -1799,5 +1799,25 @@ namespace LSLEditor
|
|||
Browser browser = GetBrowser();
|
||||
browser.ShowWebBrowser("LSLEditor QA", Properties.Settings.Default.qasite);
|
||||
}
|
||||
}
|
||||
|
||||
private void expandToLSLToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
// TODO: DE EXPAND FUNCTIE MAKEN. HIERVOOR MOET DE RUNTIMECONSOLE WORDEN GEIMPORTEERD
|
||||
EditForm editForm = this.ActiveMdiForm as EditForm;
|
||||
if (editForm != null && editForm.FullPathName.IndexOf(Helpers.LSLIConverter.EXPANDED_SUBEXT) < 0) // TODO: && editForm.FullPathName.IndexOf(".lsli") > -1)
|
||||
{
|
||||
Helpers.LSLIConverter converter = new Helpers.LSLIConverter();
|
||||
string lsl = converter.ExpandToLSL(editForm);
|
||||
string file = converter.CreateExpandedPathAndScriptName();
|
||||
|
||||
using (StreamWriter sw = new StreamWriter(file))
|
||||
{
|
||||
sw.Write(lsl);
|
||||
}
|
||||
|
||||
OpenFile(file);
|
||||
//ActivateMdiForm();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -70,7 +70,7 @@ using System.Runtime.InteropServices;
|
|||
// You can specify all the values or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
//
|
||||
[assembly: AssemblyVersion("2.55.0.4")]
|
||||
[assembly: AssemblyVersion("2.55.0.236")]
|
||||
|
||||
//
|
||||
// In order to sign your assembly you must specify a key to use. Refer to the
|
||||
|
@ -100,4 +100,4 @@ using System.Runtime.InteropServices;
|
|||
[assembly: AssemblyDelaySign(false)]
|
||||
//[assembly: AssemblyKeyName("")]
|
||||
[assembly: ComVisibleAttribute(false)]
|
||||
[assembly: AssemblyFileVersionAttribute("2.55.0.4")]
|
||||
[assembly: AssemblyFileVersionAttribute("2.55.0.236")]
|
||||
|
|
|
@ -68,11 +68,15 @@ namespace LSLEditor
|
|||
private string CSharpCode;
|
||||
private EditForm editForm;
|
||||
|
||||
private bool GetNewHost()
|
||||
private bool isLSLI = true; // Deze moet aflezen van de extensie van het script in de tab of het LSL is of LSLI
|
||||
|
||||
private bool GetNewHost()
|
||||
{
|
||||
bool blnResult = false;
|
||||
Assembly assembly = CompilerHelper.CompileCSharp(editForm, CSharpCode);
|
||||
if (assembly != null) {
|
||||
Assembly assembly = null;
|
||||
assembly = CompilerHelper.CompileCSharp(editForm, CSharpCode);
|
||||
|
||||
if (assembly != null) {
|
||||
if (SecondLifeHost != null) {
|
||||
SecondLifeHost.Dispose();
|
||||
}
|
||||
|
@ -99,13 +103,46 @@ namespace LSLEditor
|
|||
{
|
||||
this.editForm = editForm;
|
||||
|
||||
ResetScriptEvent = new AutoResetEvent(false);
|
||||
ResetScriptEvent = new AutoResetEvent(false);
|
||||
ResetScriptWatcher = new Thread(new ThreadStart(ResetScriptWatch));
|
||||
ResetScriptWatcher.Name = "ResetScriptWatch";
|
||||
ResetScriptWatcher.IsBackground = true;
|
||||
ResetScriptWatcher.Start();
|
||||
|
||||
CSharpCode = MakeSharp(editForm.ConfLSL, editForm.SourceCode);
|
||||
string lsl = editForm.SourceCode;
|
||||
|
||||
if (isLSLI && editForm.FullPathName.IndexOf(LSLIConverter.EXPANDED_SUBEXT) < 0) // Expand LSLI to LSL
|
||||
{
|
||||
LSLIConverter lsliConverter = new LSLIConverter();
|
||||
lsl = lsliConverter.ExpandToLSL(editForm);
|
||||
string nameExpanded = editForm.Text.Remove(editForm.ScriptName.Length - 4, 4).TrimEnd(' ')
|
||||
+ LSLIConverter.EXPANDED_SUBEXT + LSLIConverter.LSL_EXT; // TODO: Dit is nog niet perfect
|
||||
string path = lsliConverter.CreateExpandedPathAndScriptName();
|
||||
|
||||
using (StreamWriter sw = new StreamWriter(path))
|
||||
{
|
||||
sw.Write(lsl);
|
||||
}
|
||||
|
||||
EditForm expandedForm = null;
|
||||
for (int i = 0; i < Application.OpenForms.Count; i++)
|
||||
{
|
||||
Form form = Application.OpenForms[i];
|
||||
if(form.Text.TrimEnd(' ') == nameExpanded)
|
||||
{
|
||||
expandedForm = (EditForm)form;
|
||||
}
|
||||
}
|
||||
|
||||
// Open the expanded file if not already open
|
||||
if(expandedForm == null)
|
||||
{
|
||||
mainForm.OpenFile(path, Guid.NewGuid(), true); // TODO: MOET AUTOMATISCH GAAN RUNNEN
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
CSharpCode = MakeSharp(editForm.ConfLSL, lsl);
|
||||
|
||||
return GetNewHost();
|
||||
}
|
||||
|
|
717
trunk/StyleCop.Cache
Normal file
717
trunk/StyleCop.Cache
Normal file
|
@ -0,0 +1,717 @@
|
|||
<stylecopresultscache>
|
||||
<version>12</version>
|
||||
<sourcecode name="SecondLifeHost.cs" parser="StyleCop.CSharp.CsParser">
|
||||
<timestamps>
|
||||
<styleCop>2017-09-21 13:07:48.197</styleCop>
|
||||
<settingsFile>2017-09-21 13:07:48.180</settingsFile>
|
||||
<sourceFile>2017-10-03 11:30:44.634</sourceFile>
|
||||
<parser>2017-09-21 13:07:48.197</parser>
|
||||
<StyleCop.CSharp.DocumentationRules>2017-09-21 13:07:48.197</StyleCop.CSharp.DocumentationRules>
|
||||
<StyleCop.CSharp.DocumentationRules.FilesHashCode>0</StyleCop.CSharp.DocumentationRules.FilesHashCode>
|
||||
<StyleCop.CSharp.LayoutRules>2017-09-21 13:07:48.197</StyleCop.CSharp.LayoutRules>
|
||||
<StyleCop.CSharp.LayoutRules.FilesHashCode>0</StyleCop.CSharp.LayoutRules.FilesHashCode>
|
||||
<StyleCop.CSharp.MaintainabilityRules>2017-09-21 13:07:48.197</StyleCop.CSharp.MaintainabilityRules>
|
||||
<StyleCop.CSharp.MaintainabilityRules.FilesHashCode>0</StyleCop.CSharp.MaintainabilityRules.FilesHashCode>
|
||||
<StyleCop.CSharp.NamingRules>2017-09-21 13:07:48.197</StyleCop.CSharp.NamingRules>
|
||||
<StyleCop.CSharp.NamingRules.FilesHashCode>0</StyleCop.CSharp.NamingRules.FilesHashCode>
|
||||
<StyleCop.CSharp.OrderingRules>2017-09-21 13:07:48.197</StyleCop.CSharp.OrderingRules>
|
||||
<StyleCop.CSharp.OrderingRules.FilesHashCode>0</StyleCop.CSharp.OrderingRules.FilesHashCode>
|
||||
<StyleCop.CSharp.ReadabilityRules>2017-09-21 13:07:48.197</StyleCop.CSharp.ReadabilityRules>
|
||||
<StyleCop.CSharp.ReadabilityRules.FilesHashCode>0</StyleCop.CSharp.ReadabilityRules.FilesHashCode>
|
||||
<StyleCop.CSharp.SpacingRules>2017-09-21 13:07:48.197</StyleCop.CSharp.SpacingRules>
|
||||
<StyleCop.CSharp.SpacingRules.FilesHashCode>0</StyleCop.CSharp.SpacingRules.FilesHashCode>
|
||||
</timestamps>
|
||||
<violations>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="FileHeaderFileNameDocumentationMustMatchTypeName" ruleCheckId="SA1649">
|
||||
<context>The file attribute in the file header's copyright tag must contain the name of the first type in the file and can be any of these: "SecondLifeHostEventArgs"</context>
|
||||
<line>1</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="DocumentationTextMustEndWithAPeriod" ruleCheckId="SA1629">
|
||||
<context>The documentation text within the summary tag must end with a period.</context>
|
||||
<line>173</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="DocumentationTextMustEndWithAPeriod" ruleCheckId="SA1629">
|
||||
<context>The documentation text within the summary tag must end with a period.</context>
|
||||
<line>188</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="DocumentationTextMustBeginWithACapitalLetter" ruleCheckId="SA1628">
|
||||
<context>The documentation text within the summary tag must begin with a capital letter.</context>
|
||||
<line>188</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="DocumentationTextMustMeetMinimumCharacterLength" ruleCheckId="SA1632">
|
||||
<context>The documentation text within the summary tag must be at least 10 characters in length. Documentation failing to meet this guideline most likely does not follow a proper grammatical structure required for documentation text.</context>
|
||||
<line>188</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="DocumentationTextMustEndWithAPeriod" ruleCheckId="SA1629">
|
||||
<context>The documentation text within the summary tag must end with a period.</context>
|
||||
<line>203</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="DocumentationTextMustEndWithAPeriod" ruleCheckId="SA1629">
|
||||
<context>The documentation text within the param tag must end with a period.</context>
|
||||
<line>313</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="DocumentationTextMustEndWithAPeriod" ruleCheckId="SA1629">
|
||||
<context>The documentation text within the summary tag must end with a period.</context>
|
||||
<line>350</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementReturnValueDocumentationMustHaveText" ruleCheckId="SA1616">
|
||||
<context>The returns section in the documentation header must not be empty.</context>
|
||||
<line>423</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="DocumentationTextMustEndWithAPeriod" ruleCheckId="SA1629">
|
||||
<context>The documentation text within the summary tag must end with a period.</context>
|
||||
<line>496</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="DocumentationTextMustBeginWithACapitalLetter" ruleCheckId="SA1628">
|
||||
<context>The documentation text within the param tag must begin with a capital letter.</context>
|
||||
<line>581</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ConstructorSummaryDocumentationMustBeginWithStandardText" ruleCheckId="SA1642">
|
||||
<context>The documentation text within the constructor's summary tag must begin with the text: Initialises a new instance of the <see cref="Link" /> struct.</context>
|
||||
<line>581</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ConstructorSummaryDocumentationMustBeginWithStandardText" ruleCheckId="SA1642">
|
||||
<context>The documentation text within the constructor's summary tag must begin with the text: Initialises a new instance of the <see cref="ListenFilter" /> struct.</context>
|
||||
<line>666</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="DocumentationTextMustEndWithAPeriod" ruleCheckId="SA1629">
|
||||
<context>The documentation text within the summary tag must end with a period.</context>
|
||||
<line>681</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="DocumentationTextMustEndWithAPeriod" ruleCheckId="SA1629">
|
||||
<context>The documentation text within the summary tag must end with a period.</context>
|
||||
<line>767</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="DocumentationTextMustBeginWithACapitalLetter" ruleCheckId="SA1628">
|
||||
<context>The documentation text within the summary tag must begin with a capital letter.</context>
|
||||
<line>767</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="DocumentationTextMustEndWithAPeriod" ruleCheckId="SA1629">
|
||||
<context>The documentation text within the summary tag must end with a period.</context>
|
||||
<line>812</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="DocumentationTextMustBeginWithACapitalLetter" ruleCheckId="SA1628">
|
||||
<context>The documentation text within the summary tag must begin with a capital letter.</context>
|
||||
<line>812</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="DocumentationTextMustMeetMinimumCharacterLength" ruleCheckId="SA1632">
|
||||
<context>The documentation text within the summary tag must be at least 10 characters in length. Documentation failing to meet this guideline most likely does not follow a proper grammatical structure required for documentation text.</context>
|
||||
<line>812</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>824</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementReturnValueDocumentationMustHaveText" ruleCheckId="SA1616">
|
||||
<context>The returns section in the documentation header must not be empty.</context>
|
||||
<line>824</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>854</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>892</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>909</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>928</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>951</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>988</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1005</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1026</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1043</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1057</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1074</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1094</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1109</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1115</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1145</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1153</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1165</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1188</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementReturnValueDocumentationMustHaveText" ruleCheckId="SA1616">
|
||||
<context>The returns section in the documentation header must not be empty.</context>
|
||||
<line>1188</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1209</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1226</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementReturnValueDocumentationMustHaveText" ruleCheckId="SA1616">
|
||||
<context>The returns section in the documentation header must not be empty.</context>
|
||||
<line>1226</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1249</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1254</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1278</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1296</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1315</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="DocumentationTextMustEndWithAPeriod" ruleCheckId="SA1629">
|
||||
<context>The documentation text within the summary tag must end with a period.</context>
|
||||
<line>1335</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="DocumentationTextMustBeginWithACapitalLetter" ruleCheckId="SA1628">
|
||||
<context>The documentation text within the summary tag must begin with a capital letter.</context>
|
||||
<line>1335</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementReturnValueDocumentationMustHaveText" ruleCheckId="SA1616">
|
||||
<context>The returns section in the documentation header must not be empty.</context>
|
||||
<line>1335</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="DocumentationTextMustEndWithAPeriod" ruleCheckId="SA1629">
|
||||
<context>The documentation text within the summary tag must end with a period.</context>
|
||||
<line>1348</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="DocumentationTextMustBeginWithACapitalLetter" ruleCheckId="SA1628">
|
||||
<context>The documentation text within the summary tag must begin with a capital letter.</context>
|
||||
<line>1348</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1366</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementReturnValueDocumentationMustHaveText" ruleCheckId="SA1616">
|
||||
<context>The returns section in the documentation header must not be empty.</context>
|
||||
<line>1366</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1376</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementReturnValueDocumentationMustHaveText" ruleCheckId="SA1616">
|
||||
<context>The returns section in the documentation header must not be empty.</context>
|
||||
<line>1376</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1385</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1397</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementReturnValueDocumentationMustHaveText" ruleCheckId="SA1616">
|
||||
<context>The returns section in the documentation header must not be empty.</context>
|
||||
<line>1397</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1411</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementReturnValueDocumentationMustHaveText" ruleCheckId="SA1616">
|
||||
<context>The returns section in the documentation header must not be empty.</context>
|
||||
<line>1411</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1420</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1431</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementReturnValueDocumentationMustHaveText" ruleCheckId="SA1616">
|
||||
<context>The returns section in the documentation header must not be empty.</context>
|
||||
<line>1431</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1449</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementReturnValueDocumentationMustHaveText" ruleCheckId="SA1616">
|
||||
<context>The returns section in the documentation header must not be empty.</context>
|
||||
<line>1449</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1464</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementReturnValueDocumentationMustHaveText" ruleCheckId="SA1616">
|
||||
<context>The returns section in the documentation header must not be empty.</context>
|
||||
<line>1464</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1478</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementReturnValueDocumentationMustHaveText" ruleCheckId="SA1616">
|
||||
<context>The returns section in the documentation header must not be empty.</context>
|
||||
<line>1478</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1492</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementReturnValueDocumentationMustHaveText" ruleCheckId="SA1616">
|
||||
<context>The returns section in the documentation header must not be empty.</context>
|
||||
<line>1492</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1502</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementReturnValueDocumentationMustHaveText" ruleCheckId="SA1616">
|
||||
<context>The returns section in the documentation header must not be empty.</context>
|
||||
<line>1502</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1511</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1521</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementReturnValueDocumentationMustHaveText" ruleCheckId="SA1616">
|
||||
<context>The returns section in the documentation header must not be empty.</context>
|
||||
<line>1521</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementDocumentationMustHaveSummaryText" ruleCheckId="SA1606">
|
||||
<context>The summary section in the documentation header must not be empty.</context>
|
||||
<line>1535</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
</violations>
|
||||
</sourcecode>
|
||||
<sourcecode name="About.cs" parser="StyleCop.CSharp.CsParser">
|
||||
<timestamps>
|
||||
<styleCop>2017-09-21 13:07:48.197</styleCop>
|
||||
<settingsFile>2017-09-21 13:07:48.180</settingsFile>
|
||||
<sourceFile>2017-09-20 09:46:59.865</sourceFile>
|
||||
<parser>2017-09-21 13:07:48.197</parser>
|
||||
<StyleCop.CSharp.DocumentationRules>2017-09-21 13:07:48.197</StyleCop.CSharp.DocumentationRules>
|
||||
<StyleCop.CSharp.DocumentationRules.FilesHashCode>0</StyleCop.CSharp.DocumentationRules.FilesHashCode>
|
||||
<StyleCop.CSharp.LayoutRules>2017-09-21 13:07:48.197</StyleCop.CSharp.LayoutRules>
|
||||
<StyleCop.CSharp.LayoutRules.FilesHashCode>0</StyleCop.CSharp.LayoutRules.FilesHashCode>
|
||||
<StyleCop.CSharp.MaintainabilityRules>2017-09-21 13:07:48.197</StyleCop.CSharp.MaintainabilityRules>
|
||||
<StyleCop.CSharp.MaintainabilityRules.FilesHashCode>0</StyleCop.CSharp.MaintainabilityRules.FilesHashCode>
|
||||
<StyleCop.CSharp.NamingRules>2017-09-21 13:07:48.197</StyleCop.CSharp.NamingRules>
|
||||
<StyleCop.CSharp.NamingRules.FilesHashCode>0</StyleCop.CSharp.NamingRules.FilesHashCode>
|
||||
<StyleCop.CSharp.OrderingRules>2017-09-21 13:07:48.197</StyleCop.CSharp.OrderingRules>
|
||||
<StyleCop.CSharp.OrderingRules.FilesHashCode>0</StyleCop.CSharp.OrderingRules.FilesHashCode>
|
||||
<StyleCop.CSharp.ReadabilityRules>2017-09-21 13:07:48.197</StyleCop.CSharp.ReadabilityRules>
|
||||
<StyleCop.CSharp.ReadabilityRules.FilesHashCode>0</StyleCop.CSharp.ReadabilityRules.FilesHashCode>
|
||||
<StyleCop.CSharp.SpacingRules>2017-09-21 13:07:48.197</StyleCop.CSharp.SpacingRules>
|
||||
<StyleCop.CSharp.SpacingRules.FilesHashCode>0</StyleCop.CSharp.SpacingRules.FilesHashCode>
|
||||
</timestamps>
|
||||
<violations />
|
||||
</sourcecode>
|
||||
<sourcecode name="Float.cs" parser="StyleCop.CSharp.CsParser">
|
||||
<timestamps>
|
||||
<styleCop>2017-09-21 13:07:48.197</styleCop>
|
||||
<settingsFile>2017-09-21 13:07:48.180</settingsFile>
|
||||
<sourceFile>2017-09-20 09:46:59.967</sourceFile>
|
||||
<parser>2017-09-21 13:07:48.197</parser>
|
||||
<StyleCop.CSharp.DocumentationRules>2017-09-21 13:07:48.197</StyleCop.CSharp.DocumentationRules>
|
||||
<StyleCop.CSharp.DocumentationRules.FilesHashCode>0</StyleCop.CSharp.DocumentationRules.FilesHashCode>
|
||||
<StyleCop.CSharp.LayoutRules>2017-09-21 13:07:48.197</StyleCop.CSharp.LayoutRules>
|
||||
<StyleCop.CSharp.LayoutRules.FilesHashCode>0</StyleCop.CSharp.LayoutRules.FilesHashCode>
|
||||
<StyleCop.CSharp.MaintainabilityRules>2017-09-21 13:07:48.197</StyleCop.CSharp.MaintainabilityRules>
|
||||
<StyleCop.CSharp.MaintainabilityRules.FilesHashCode>0</StyleCop.CSharp.MaintainabilityRules.FilesHashCode>
|
||||
<StyleCop.CSharp.NamingRules>2017-09-21 13:07:48.197</StyleCop.CSharp.NamingRules>
|
||||
<StyleCop.CSharp.NamingRules.FilesHashCode>0</StyleCop.CSharp.NamingRules.FilesHashCode>
|
||||
<StyleCop.CSharp.OrderingRules>2017-09-21 13:07:48.197</StyleCop.CSharp.OrderingRules>
|
||||
<StyleCop.CSharp.OrderingRules.FilesHashCode>0</StyleCop.CSharp.OrderingRules.FilesHashCode>
|
||||
<StyleCop.CSharp.ReadabilityRules>2017-09-21 13:07:48.197</StyleCop.CSharp.ReadabilityRules>
|
||||
<StyleCop.CSharp.ReadabilityRules.FilesHashCode>0</StyleCop.CSharp.ReadabilityRules.FilesHashCode>
|
||||
<StyleCop.CSharp.SpacingRules>2017-09-21 13:07:48.197</StyleCop.CSharp.SpacingRules>
|
||||
<StyleCop.CSharp.SpacingRules.FilesHashCode>0</StyleCop.CSharp.SpacingRules.FilesHashCode>
|
||||
</timestamps>
|
||||
<violations />
|
||||
</sourcecode>
|
||||
<sourcecode name="LSL_Constants.cs" parser="StyleCop.CSharp.CsParser">
|
||||
<timestamps>
|
||||
<styleCop>2017-09-21 13:07:48.197</styleCop>
|
||||
<settingsFile>2017-09-21 13:07:48.180</settingsFile>
|
||||
<sourceFile>2017-09-20 09:46:59.967</sourceFile>
|
||||
<parser>2017-09-21 13:07:48.197</parser>
|
||||
<StyleCop.CSharp.DocumentationRules>2017-09-21 13:07:48.197</StyleCop.CSharp.DocumentationRules>
|
||||
<StyleCop.CSharp.DocumentationRules.FilesHashCode>0</StyleCop.CSharp.DocumentationRules.FilesHashCode>
|
||||
<StyleCop.CSharp.LayoutRules>2017-09-21 13:07:48.197</StyleCop.CSharp.LayoutRules>
|
||||
<StyleCop.CSharp.LayoutRules.FilesHashCode>0</StyleCop.CSharp.LayoutRules.FilesHashCode>
|
||||
<StyleCop.CSharp.MaintainabilityRules>2017-09-21 13:07:48.197</StyleCop.CSharp.MaintainabilityRules>
|
||||
<StyleCop.CSharp.MaintainabilityRules.FilesHashCode>0</StyleCop.CSharp.MaintainabilityRules.FilesHashCode>
|
||||
<StyleCop.CSharp.NamingRules>2017-09-21 13:07:48.197</StyleCop.CSharp.NamingRules>
|
||||
<StyleCop.CSharp.NamingRules.FilesHashCode>0</StyleCop.CSharp.NamingRules.FilesHashCode>
|
||||
<StyleCop.CSharp.OrderingRules>2017-09-21 13:07:48.197</StyleCop.CSharp.OrderingRules>
|
||||
<StyleCop.CSharp.OrderingRules.FilesHashCode>0</StyleCop.CSharp.OrderingRules.FilesHashCode>
|
||||
<StyleCop.CSharp.ReadabilityRules>2017-09-21 13:07:48.197</StyleCop.CSharp.ReadabilityRules>
|
||||
<StyleCop.CSharp.ReadabilityRules.FilesHashCode>0</StyleCop.CSharp.ReadabilityRules.FilesHashCode>
|
||||
<StyleCop.CSharp.SpacingRules>2017-09-21 13:07:48.197</StyleCop.CSharp.SpacingRules>
|
||||
<StyleCop.CSharp.SpacingRules.FilesHashCode>0</StyleCop.CSharp.SpacingRules.FilesHashCode>
|
||||
</timestamps>
|
||||
<violations />
|
||||
</sourcecode>
|
||||
<sourcecode name="LSL_Events.cs" parser="StyleCop.CSharp.CsParser">
|
||||
<timestamps>
|
||||
<styleCop>2017-09-21 13:07:48.197</styleCop>
|
||||
<settingsFile>2017-09-21 13:07:48.180</settingsFile>
|
||||
<sourceFile>2017-09-20 09:46:59.967</sourceFile>
|
||||
<parser>2017-09-21 13:07:48.197</parser>
|
||||
<StyleCop.CSharp.DocumentationRules>2017-09-21 13:07:48.197</StyleCop.CSharp.DocumentationRules>
|
||||
<StyleCop.CSharp.DocumentationRules.FilesHashCode>0</StyleCop.CSharp.DocumentationRules.FilesHashCode>
|
||||
<StyleCop.CSharp.LayoutRules>2017-09-21 13:07:48.197</StyleCop.CSharp.LayoutRules>
|
||||
<StyleCop.CSharp.LayoutRules.FilesHashCode>0</StyleCop.CSharp.LayoutRules.FilesHashCode>
|
||||
<StyleCop.CSharp.MaintainabilityRules>2017-09-21 13:07:48.197</StyleCop.CSharp.MaintainabilityRules>
|
||||
<StyleCop.CSharp.MaintainabilityRules.FilesHashCode>0</StyleCop.CSharp.MaintainabilityRules.FilesHashCode>
|
||||
<StyleCop.CSharp.NamingRules>2017-09-21 13:07:48.197</StyleCop.CSharp.NamingRules>
|
||||
<StyleCop.CSharp.NamingRules.FilesHashCode>0</StyleCop.CSharp.NamingRules.FilesHashCode>
|
||||
<StyleCop.CSharp.OrderingRules>2017-09-21 13:07:48.197</StyleCop.CSharp.OrderingRules>
|
||||
<StyleCop.CSharp.OrderingRules.FilesHashCode>0</StyleCop.CSharp.OrderingRules.FilesHashCode>
|
||||
<StyleCop.CSharp.ReadabilityRules>2017-09-21 13:07:48.197</StyleCop.CSharp.ReadabilityRules>
|
||||
<StyleCop.CSharp.ReadabilityRules.FilesHashCode>0</StyleCop.CSharp.ReadabilityRules.FilesHashCode>
|
||||
<StyleCop.CSharp.SpacingRules>2017-09-21 13:07:48.197</StyleCop.CSharp.SpacingRules>
|
||||
<StyleCop.CSharp.SpacingRules.FilesHashCode>0</StyleCop.CSharp.SpacingRules.FilesHashCode>
|
||||
</timestamps>
|
||||
<violations />
|
||||
</sourcecode>
|
||||
<sourcecode name="LSL_Functions.cs" parser="StyleCop.CSharp.CsParser">
|
||||
<timestamps>
|
||||
<styleCop>2017-09-21 13:07:48.197</styleCop>
|
||||
<settingsFile>2017-09-21 13:07:48.180</settingsFile>
|
||||
<sourceFile>2017-10-03 11:30:44.622</sourceFile>
|
||||
<parser>2017-09-21 13:07:48.197</parser>
|
||||
<StyleCop.CSharp.DocumentationRules>2017-09-21 13:07:48.197</StyleCop.CSharp.DocumentationRules>
|
||||
<StyleCop.CSharp.DocumentationRules.FilesHashCode>0</StyleCop.CSharp.DocumentationRules.FilesHashCode>
|
||||
<StyleCop.CSharp.LayoutRules>2017-09-21 13:07:48.197</StyleCop.CSharp.LayoutRules>
|
||||
<StyleCop.CSharp.LayoutRules.FilesHashCode>0</StyleCop.CSharp.LayoutRules.FilesHashCode>
|
||||
<StyleCop.CSharp.MaintainabilityRules>2017-09-21 13:07:48.197</StyleCop.CSharp.MaintainabilityRules>
|
||||
<StyleCop.CSharp.MaintainabilityRules.FilesHashCode>0</StyleCop.CSharp.MaintainabilityRules.FilesHashCode>
|
||||
<StyleCop.CSharp.NamingRules>2017-09-21 13:07:48.197</StyleCop.CSharp.NamingRules>
|
||||
<StyleCop.CSharp.NamingRules.FilesHashCode>0</StyleCop.CSharp.NamingRules.FilesHashCode>
|
||||
<StyleCop.CSharp.OrderingRules>2017-09-21 13:07:48.197</StyleCop.CSharp.OrderingRules>
|
||||
<StyleCop.CSharp.OrderingRules.FilesHashCode>0</StyleCop.CSharp.OrderingRules.FilesHashCode>
|
||||
<StyleCop.CSharp.ReadabilityRules>2017-09-21 13:07:48.197</StyleCop.CSharp.ReadabilityRules>
|
||||
<StyleCop.CSharp.ReadabilityRules.FilesHashCode>0</StyleCop.CSharp.ReadabilityRules.FilesHashCode>
|
||||
<StyleCop.CSharp.SpacingRules>2017-09-21 13:07:48.197</StyleCop.CSharp.SpacingRules>
|
||||
<StyleCop.CSharp.SpacingRules.FilesHashCode>0</StyleCop.CSharp.SpacingRules.FilesHashCode>
|
||||
</timestamps>
|
||||
<violations />
|
||||
</sourcecode>
|
||||
<sourcecode name="SecondLifeMain.cs" parser="StyleCop.CSharp.CsParser">
|
||||
<timestamps>
|
||||
<styleCop>2017-09-21 13:07:48.197</styleCop>
|
||||
<settingsFile>2017-09-21 13:07:48.180</settingsFile>
|
||||
<sourceFile>2017-09-20 09:46:59.969</sourceFile>
|
||||
<parser>2017-09-21 13:07:48.197</parser>
|
||||
<StyleCop.CSharp.DocumentationRules>2017-09-21 13:07:48.197</StyleCop.CSharp.DocumentationRules>
|
||||
<StyleCop.CSharp.DocumentationRules.FilesHashCode>0</StyleCop.CSharp.DocumentationRules.FilesHashCode>
|
||||
<StyleCop.CSharp.LayoutRules>2017-09-21 13:07:48.197</StyleCop.CSharp.LayoutRules>
|
||||
<StyleCop.CSharp.LayoutRules.FilesHashCode>0</StyleCop.CSharp.LayoutRules.FilesHashCode>
|
||||
<StyleCop.CSharp.MaintainabilityRules>2017-09-21 13:07:48.197</StyleCop.CSharp.MaintainabilityRules>
|
||||
<StyleCop.CSharp.MaintainabilityRules.FilesHashCode>0</StyleCop.CSharp.MaintainabilityRules.FilesHashCode>
|
||||
<StyleCop.CSharp.NamingRules>2017-09-21 13:07:48.197</StyleCop.CSharp.NamingRules>
|
||||
<StyleCop.CSharp.NamingRules.FilesHashCode>0</StyleCop.CSharp.NamingRules.FilesHashCode>
|
||||
<StyleCop.CSharp.OrderingRules>2017-09-21 13:07:48.197</StyleCop.CSharp.OrderingRules>
|
||||
<StyleCop.CSharp.OrderingRules.FilesHashCode>0</StyleCop.CSharp.OrderingRules.FilesHashCode>
|
||||
<StyleCop.CSharp.ReadabilityRules>2017-09-21 13:07:48.197</StyleCop.CSharp.ReadabilityRules>
|
||||
<StyleCop.CSharp.ReadabilityRules.FilesHashCode>0</StyleCop.CSharp.ReadabilityRules.FilesHashCode>
|
||||
<StyleCop.CSharp.SpacingRules>2017-09-21 13:07:48.197</StyleCop.CSharp.SpacingRules>
|
||||
<StyleCop.CSharp.SpacingRules.FilesHashCode>0</StyleCop.CSharp.SpacingRules.FilesHashCode>
|
||||
</timestamps>
|
||||
<violations />
|
||||
</sourcecode>
|
||||
<project key="899059069">
|
||||
<configuration>DEBUG;TRACE</configuration>
|
||||
</project>
|
||||
<sourcecode name="LSLIConverter.cs" parser="StyleCop.CSharp.CsParser">
|
||||
<timestamps>
|
||||
<styleCop>2017-09-21 13:07:48.197</styleCop>
|
||||
<settingsFile>2017-09-21 13:07:48.180</settingsFile>
|
||||
<sourceFile>2017-10-05 14:15:45.007</sourceFile>
|
||||
<parser>2017-09-21 13:07:48.197</parser>
|
||||
<StyleCop.CSharp.DocumentationRules>2017-09-21 13:07:48.197</StyleCop.CSharp.DocumentationRules>
|
||||
<StyleCop.CSharp.DocumentationRules.FilesHashCode>0</StyleCop.CSharp.DocumentationRules.FilesHashCode>
|
||||
<StyleCop.CSharp.LayoutRules>2017-09-21 13:07:48.197</StyleCop.CSharp.LayoutRules>
|
||||
<StyleCop.CSharp.LayoutRules.FilesHashCode>0</StyleCop.CSharp.LayoutRules.FilesHashCode>
|
||||
<StyleCop.CSharp.MaintainabilityRules>2017-09-21 13:07:48.197</StyleCop.CSharp.MaintainabilityRules>
|
||||
<StyleCop.CSharp.MaintainabilityRules.FilesHashCode>0</StyleCop.CSharp.MaintainabilityRules.FilesHashCode>
|
||||
<StyleCop.CSharp.NamingRules>2017-09-21 13:07:48.197</StyleCop.CSharp.NamingRules>
|
||||
<StyleCop.CSharp.NamingRules.FilesHashCode>0</StyleCop.CSharp.NamingRules.FilesHashCode>
|
||||
<StyleCop.CSharp.OrderingRules>2017-09-21 13:07:48.197</StyleCop.CSharp.OrderingRules>
|
||||
<StyleCop.CSharp.OrderingRules.FilesHashCode>0</StyleCop.CSharp.OrderingRules.FilesHashCode>
|
||||
<StyleCop.CSharp.ReadabilityRules>2017-09-21 13:07:48.197</StyleCop.CSharp.ReadabilityRules>
|
||||
<StyleCop.CSharp.ReadabilityRules.FilesHashCode>0</StyleCop.CSharp.ReadabilityRules.FilesHashCode>
|
||||
<StyleCop.CSharp.SpacingRules>2017-09-21 13:07:48.197</StyleCop.CSharp.SpacingRules>
|
||||
<StyleCop.CSharp.SpacingRules.FilesHashCode>0</StyleCop.CSharp.SpacingRules.FilesHashCode>
|
||||
</timestamps>
|
||||
<violations>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="FileHeaderFileNameDocumentationMustMatchTypeName" ruleCheckId="SA1649">
|
||||
<context>The file attribute in the file header's copyright tag must contain the name of the first type in the file and can be any of these: "LSLIConverter"</context>
|
||||
<line>1</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementsMustBeDocumented" ruleCheckId="SA1600">
|
||||
<context>The class must have a documentation header.</context>
|
||||
<line>48</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.LayoutRules" rule="SingleLineCommentsMustNotBeFollowedByBlankLine" ruleCheckId="SA1512">
|
||||
<context>A single-line comment must not be followed by a blank line. To ignore this error when commenting out a line of code, begin the comment with '////' rather than '//'.</context>
|
||||
<line>123</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.MaintainabilityRules" rule="AccessModifierMustBeDeclared" ruleCheckId="SA1400">
|
||||
<context>The class must have an access modifier.</context>
|
||||
<line>48</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.SpacingRules" rule="SingleLineCommentsMustBeginWithSingleSpace" ruleCheckId="SA1005">
|
||||
<context>The comment must start with a single space. To ignore this error when commenting out a line of code, begin the comment with '////' rather than '//'.</context>
|
||||
<line>119</line>
|
||||
<index>5147</index>
|
||||
<endIndex>5167</endIndex>
|
||||
<startLine>119</startLine>
|
||||
<startColumn>9</startColumn>
|
||||
<endLine>119</endLine>
|
||||
<endColumn>29</endColumn>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.SpacingRules" rule="SingleLineCommentsMustBeginWithSingleSpace" ruleCheckId="SA1005">
|
||||
<context>The comment must start with a single space. To ignore this error when commenting out a line of code, begin the comment with '////' rather than '//'.</context>
|
||||
<line>122</line>
|
||||
<index>5276</index>
|
||||
<endIndex>5286</endIndex>
|
||||
<startLine>122</startLine>
|
||||
<startColumn>9</startColumn>
|
||||
<endLine>122</endLine>
|
||||
<endColumn>19</endColumn>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.SpacingRules" rule="SingleLineCommentsMustBeginWithSingleSpace" ruleCheckId="SA1005">
|
||||
<context>The comment must start with a single space. To ignore this error when commenting out a line of code, begin the comment with '////' rather than '//'.</context>
|
||||
<line>123</line>
|
||||
<index>5297</index>
|
||||
<endIndex>5302</endIndex>
|
||||
<startLine>123</startLine>
|
||||
<startColumn>9</startColumn>
|
||||
<endLine>123</endLine>
|
||||
<endColumn>14</endColumn>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementsMustBeDocumented" ruleCheckId="SA1600">
|
||||
<context>The field must have a documentation header.</context>
|
||||
<line>50</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementsMustBeDocumented" ruleCheckId="SA1600">
|
||||
<context>The field must have a documentation header.</context>
|
||||
<line>51</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementsMustBeDocumented" ruleCheckId="SA1600">
|
||||
<context>The field must have a documentation header.</context>
|
||||
<line>52</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementsMustBeDocumented" ruleCheckId="SA1600">
|
||||
<context>The constructor must have a documentation header.</context>
|
||||
<line>54</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.LayoutRules" rule="OpeningCurlyBracketsMustNotBeFollowedByBlankLine" ruleCheckId="SA1505">
|
||||
<context>An opening curly bracket must not be followed by a blank line.</context>
|
||||
<line>55</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.LayoutRules" rule="ClosingCurlyBracketsMustNotBePrecededByBlankLine" ruleCheckId="SA1508">
|
||||
<context>A closing curly bracket must not be preceded by a blank line.</context>
|
||||
<line>57</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementsMustBeDocumented" ruleCheckId="SA1600">
|
||||
<context>The method must have a documentation header.</context>
|
||||
<line>59</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.LayoutRules" rule="SingleLineCommentsMustNotBeFollowedByBlankLine" ruleCheckId="SA1512">
|
||||
<context>A single-line comment must not be followed by a blank line. To ignore this error when commenting out a line of code, begin the comment with '////' rather than '//'.</context>
|
||||
<line>77</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.LayoutRules" rule="CodeMustNotContainMultipleBlankLinesInARow" ruleCheckId="SA1507">
|
||||
<context>The code must not contain multiple blank lines in a row.</context>
|
||||
<line>88</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.ReadabilityRules" rule="BlockStatementsMustNotContainEmbeddedComments" ruleCheckId="SA1108">
|
||||
<context>A comment may not be placed within the bracketed statement.</context>
|
||||
<line>79</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.SpacingRules" rule="KeywordsMustBeSpacedCorrectly" ruleCheckId="SA1000">
|
||||
<context>The spacing around the keyword 'using' is invalid.</context>
|
||||
<line>91</line>
|
||||
<index>4105</index>
|
||||
<endIndex>4109</endIndex>
|
||||
<startLine>91</startLine>
|
||||
<startColumn>21</startColumn>
|
||||
<endLine>91</endLine>
|
||||
<endColumn>25</endColumn>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.SpacingRules" rule="KeywordsMustBeSpacedCorrectly" ruleCheckId="SA1000">
|
||||
<context>The spacing around the keyword 'if' is invalid.</context>
|
||||
<line>105</line>
|
||||
<index>4690</index>
|
||||
<endIndex>4691</endIndex>
|
||||
<startLine>105</startLine>
|
||||
<startColumn>21</startColumn>
|
||||
<endLine>105</endLine>
|
||||
<endColumn>22</endColumn>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
<violation namespace="StyleCop.CSharp.DocumentationRules" rule="ElementsMustBeDocumented" ruleCheckId="SA1600">
|
||||
<context>The method must have a documentation header.</context>
|
||||
<line>125</line>
|
||||
<warning>False</warning>
|
||||
</violation>
|
||||
</violations>
|
||||
</sourcecode>
|
||||
</stylecopresultscache>
|
|
@ -27,7 +27,7 @@
|
|||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<SignAssembly>false</SignAssembly>
|
||||
<Win32Resource>E:\Dev\SL\C#\lsleditor\official\trunk\LSLEditor.RES</Win32Resource>
|
||||
<Win32Resource>C:\Users\User\Desktop\Workspace_Jasper\LSL_editor\lsleditor-code\trunk\LSLEditor.RES</Win32Resource>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<IsWebBootstrapper>true</IsWebBootstrapper>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
|
@ -192,7 +192,6 @@
|
|||
<ExcludeFromStyleCop>true</ExcludeFromStyleCop>
|
||||
</Compile>
|
||||
<Compile Include="Docking\DockPanel.cs">
|
||||
<SubType>Component</SubType>
|
||||
<ExcludeFromStyleCop>true</ExcludeFromStyleCop>
|
||||
</Compile>
|
||||
<Compile Include="Docking\DockPanel.DockDragHandler.cs">
|
||||
|
@ -333,6 +332,7 @@
|
|||
<Compile Include="Helpers\HTTPRequest.cs">
|
||||
<ExcludeFromStyleCop>true</ExcludeFromStyleCop>
|
||||
</Compile>
|
||||
<Compile Include="Helpers\LSLIConverter.cs" />
|
||||
<Compile Include="Helpers\OutlineHelper.cs">
|
||||
<ExcludeFromStyleCop>true</ExcludeFromStyleCop>
|
||||
</Compile>
|
||||
|
@ -1105,9 +1105,9 @@
|
|||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(ProgramFiles)\MSBuild\StyleCop\v4.7\StyleCop.targets" />
|
||||
<!-- <Import Project="$(ProgramFiles)\MSBuild\StyleCop\v4.7\StyleCop.targets" /> -->
|
||||
<PropertyGroup>
|
||||
<PreBuildEvent>"$(FrameworkSDKDir)Bin\rc.exe" /r "$(ProjectDir)$(TargetName).rc"</PreBuildEvent>
|
||||
<PostBuildEvent>$(SolutionDir)\..\build\AssemblyRevisionIncrementer.exe /t="$(SolutionDir)\Properties\AssemblyInfo.cs"</PostBuildEvent>
|
||||
<PreBuildEvent>"$(FrameworkSDKDir)..\v7.0A\Bin\x64\Rc.exe" /r "$(ProjectDir)$(TargetName).rc"</PreBuildEvent>
|
||||
<PostBuildEvent>"$(SolutionDir)..\build\AssemblyRevisionIncrementer.exe" /t="$(SolutionDir)Properties\AssemblyInfo.cs"</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
Loading…
Add table
Add a link
Reference in a new issue