This commit is contained in:
Бондарев Иван 2018-01-31 20:56:36 +01:00
parent 07b9467c95
commit beb81704a8
9 changed files with 3 additions and 643 deletions

View file

@ -138,7 +138,7 @@ namespace ICSharpCode.TextEditor.Document
{
break;
} else if (ch == '\'') {
break;
//break;
} else if (ch == '/' && i > 0) {
if (document.GetCharAt(i - 1) == '/') break;
if (document.GetCharAt(i - 1) == '*') break;
@ -161,7 +161,7 @@ namespace ICSharpCode.TextEditor.Document
} else if (ch == '"') {
break;
} else if (ch == '\'') {
break;
//break;
} else if (ch == '/' && i > 0) {
if (document.GetCharAt(i - 1) == '/') break;
} else if (ch == '*' && i > 0) {

Binary file not shown.

View file

@ -1,44 +0,0 @@
<?xml version="1.0"?>
<!-- syntaxdefinition for BF (c) DarkStar 2006 -->
<SyntaxDefinition name = "BF" extensions = ".bf">
<Environment>
<Default color = "Green" bgcolor = "White"/>
</Environment>
<Properties>
<Property name="LineComment" value=";"/>
</Properties>
<Digits name = "Digits" bold = "false" italic = "false" color = "Green"/>
<RuleSets>
<RuleSet ignorecase="true">
<Delimiters>&lt;&gt;-+[].,</Delimiters>
<Span name = "LineComment" bold = "false" italic = "false" color = "Green" stopateol = "true">
<Begin>;@!/@</Begin>
</Span>
<KeyWords name = "Jump" bold = "true" italic = "false" color = "Black">
<Key word = "[" />
<Key word = "]" />
</KeyWords>
<KeyWords name = "IO" bold = "false" italic = "false" color = "Red">
<Key word = "." />
<Key word = "," />
</KeyWords>
<KeyWords name = "IncDecValue" bold = "false" italic = "false" color = "Blue">
<Key word = "+" />
<Key word = "-" />
</KeyWords>
<KeyWords name = "LeftRight" bold = "false" italic = "false" color = "Green">
<Key word = "&lt;" />
<Key word = "&gt;" />
</KeyWords>
</RuleSet>
</RuleSets>
</SyntaxDefinition>

View file

@ -1,206 +0,0 @@
<?xml version="1.0"?>
<!-- syntaxdefinition for C/C++ 2001 by Andrea Paatz and Mike Krueger -->
<SyntaxDefinition name = "C/C++" extensions = ".c;.h;.cc;.C;.cpp;.hpp;.cpr">
<Properties>
<Property name="LineComment" value="//"/>
</Properties>
<Digits name = "Digits" bold = "false" italic = "false" color = "DarkBlue"/>
<RuleSets>
<RuleSet ignorecase = "false">
<Delimiters>~!%^*()-+=|\#/{}[]:;"'&lt;&gt; , .?</Delimiters>
<Span name = "PreprocessorDirectives" bold="false" italic="false" color="Green" stopateol = "true">
<Begin>#</Begin>
</Span>
<Span name = "LineComment" bold = "false" italic = "false" color = "Green" stopateol = "true">
<Begin>//</Begin>
</Span>
<Span name = "BlockComment" bold = "false" italic = "false" color = "Green" stopateol = "false">
<Begin>/*</Begin>
<End>*/</End>
</Span>
<Span name = "String" bold = "false" italic = "false" color = "Magenta" stopateol = "true" escapecharacter="\">
<Begin>"</Begin>
<End>"</End>
</Span>
<Span name = "Char" bold = "false" italic = "false" color = "Magenta" stopateol = "true" escapecharacter="\">
<Begin>&apos;</Begin>
<End>&apos;</End>
</Span>
<MarkPrevious bold = "true" italic = "false" color = "MidnightBlue">(</MarkPrevious>
<KeyWords name = "Punctuation" bold = "false" italic = "false" color = "DarkGreen">
<Key word = "?" />
<Key word = "," />
<Key word = "." />
<Key word = ";" />
<Key word = "(" />
<Key word = ")" />
<Key word = "[" />
<Key word = "]" />
<Key word = "{" />
<Key word = "}" />
<Key word = "+" />
<Key word = "-" />
<Key word = "/" />
<Key word = "%" />
<Key word = "*" />
<Key word = "&lt;" />
<Key word = "&gt;" />
<Key word = "^" />
<Key word = "=" />
<Key word = "~" />
<Key word = "!" />
<Key word = "|" />
<Key word = "&amp;" />
</KeyWords>
<KeyWords name = "ManagedKeyWords" bold="true" italic="false" color="Black">
<Key word = "__abstract" />
<Key word = "__box" />
<Key word = "__delegate" />
<Key word = "__gc" />
<Key word = "__identifier" />
<Key word = "__nogc" />
<Key word = "__pin" />
<Key word = "__property" />
<Key word = "__sealed" />
<Key word = "__try_cast" />
<Key word = "__typeof" />
<Key word = "__value" />
<Key word = "__event" />
<Key word = "__hook" />
<Key word = "__raise" />
<Key word = "__unhook" />
<Key word = "__interface" />
</KeyWords>
<KeyWords name = "AccessKeywords" bold="true" italic="false" color="Black">
<Key word = "this" />
</KeyWords>
<KeyWords name = "OperatorKeywords" bold="true" italic="false" color="DarkCyan">
<Key word = "and" />
<Key word = "and_eq" />
<Key word = "bitand" />
<Key word = "bitor" />
<Key word = "new" />
<Key word = "not" />
<Key word = "not_eq" />
<Key word = "or" />
<Key word = "or_eq" />
<Key word = "xor" />
<Key word = "xor_eq" />
</KeyWords>
<KeyWords name = "NameSpaces" bold="true" italic="false" color="Green">
<Key word = "using" />
<Key word = "namespace" />
</KeyWords>
<KeyWords name = "Friends" bold="false" italic="false" color="Brown">
<Key word = "friend" />
</KeyWords>
<KeyWords name = "AccessModifiers" bold="true" italic="false" color="Blue">
<Key word = "private" />
<Key word = "protected" />
<Key word = "public" />
<Key word = "const" />
<Key word = "volatile" />
<Key word = "static" />
</KeyWords>
<KeyWords name = "Types" bold="false" italic="false" color="Red">
<Key word = "bool" />
<Key word = "char" />
<Key word = "unsigned" />
<Key word = "union" />
<Key word = "virtual" />
<Key word = "double" />
<Key word = "float" />
<Key word = "short" />
<Key word = "signed" />
<Key word = "void" />
<Key word = "class" />
<Key word = "enum" />
<Key word = "struct" />
</KeyWords>
<KeyWords name = "Literals" bold="true" italic="false" color="Black">
<Key word = "false" />
<Key word = "true" />
</KeyWords>
<KeyWords name = "IterationStatements" bold="true" italic="false" color="Blue">
<Key word = "do" />
<Key word = "for" />
<Key word = "while" />
</KeyWords>
<KeyWords name = "JumpStatements" bold="false" italic="false" color="Navy">
<Key word = "break" />
<Key word = "continue" />
<Key word = "goto" />
<Key word = "return" />
</KeyWords>
<KeyWords name = "ExceptionHandlingStatements" bold="true" italic="false" color="Teal">
<Key word = "catch" />
<Key word = "throw" />
<Key word = "try" />
</KeyWords>
<KeyWords name = "SelectionStatements" bold="true" italic="false" color="Blue">
<Key word = "case" />
<Key word = "else" />
<Key word = "if" />
<Key word = "switch" />
<Key word = "default" />
</KeyWords>
<KeyWords name = "KEYWORD1" bold="true" italic="false" color="Blue">
<Key word = "asm" />
<Key word = "auto" />
<Key word = "compl" />
<Key word = "mutable" />
<Key word = "const_cast" />
<Key word = "delete" />
<Key word = "dynamic_cast" />
<Key word = "explicit" />
<Key word = "export" />
<Key word = "extern" />
<Key word = "inline" />
<Key word = "int" />
<Key word = "long" />
<Key word = "operator" />
<Key word = "register" />
<Key word = "reinterpret_cast" />
<Key word = "sizeof" />
<Key word = "static_cast" />
<Key word = "template" />
<Key word = "typedef" />
<Key word = "typeid" />
<Key word = "typename" />
</KeyWords>
</RuleSet>
</RuleSets>
</SyntaxDefinition>

View file

@ -1,78 +0,0 @@
<?xml version="1.0"?>
<!-- syntaxdefinition for PL/0 (c) DarkStar 2007 -->
<SyntaxDefinition name = "PL0" extensions = ".pl0">
<Properties>
<Property name="LineComment" value="//"/>
</Properties>
<Digits name = "Digits" bold = "false" italic = "false" color = "DarkGreen"/>
<RuleSets>
<RuleSet ignorecase="false">
<Delimiters>&amp;&lt;&gt;~!%^*()-+=|\#/{}[]:;"' , .?</Delimiters>
<Span name = "LineComment" rule = "CommentMarkerSet" bold = "false" italic = "false" color = "Green" stopateol = "true">
<Begin>//@!/@</Begin>
</Span>
<Span name = "BlockComment2" rule = "CommentMarkerSet" bold = "false" italic = "false" color = "Green" stopateol = "false">
<Begin>/*</Begin>
<End>*/</End>
</Span>
<KeyWords name = "KeyWords" bold = "true" italic = "false" color = "Black">
<Key word = "CONST" />
<Key word = "ODD" />
<Key word = "CALL" />
<Key word = "DO" />
<Key word = "IF" />
<Key word = "PROCEDURE" />
<Key word = "THEN" />
<Key word = "VAR" />
<Key word = "WHILE" />
</KeyWords>
<KeyWords name = "BeginEnd" bold = "true" italic = "false" color = "Black">
<Key word = "BEGIN" />
<Key word = "END" />
</KeyWords>
<KeyWords name = "Punctuation" bold = "false" italic = "false" color = "Black">
<Key word = "," />
<Key word = "." />
<Key word = ";" />
<Key word = "(" />
<Key word = ")" />
<Key word = "+" />
<Key word = "-" />
<Key word = "/" />
<Key word = "*" />
<Key word = "&lt;" />
<Key word = "&gt;" />
<Key word = "&lt;=" />
<Key word = "&gt;=" />
<Key word = "^" />
<Key word = "=" />
<Key word = "&amp;" />
</KeyWords>
</RuleSet>
<RuleSet name = "CommentMarkerSet" ignorecase = "true">
<Delimiters>&lt;&gt;~!@%^*()-+=|\#/{}[]:;"' , .?</Delimiters>
<KeyWords name = "ErrorWords" bold="true" italic="false" color="Red">
<Key word = "TODO" />
<Key word = "FIXME" />
</KeyWords>
<KeyWords name = "WarningWords" bold="true" italic="false" color="#EEE0E000">
<Key word = "HACK" />
<Key word = "UNDONE" />
</KeyWords>
</RuleSet>
</RuleSets>
</SyntaxDefinition>

View file

@ -1,274 +0,0 @@
<?xml version="1.0"?>
<!-- syntaxdefinition for PNET (c) DarkStar 2008 -->
<SyntaxDefinition name = "PNET" extensions = ".pnet">
<Properties>
<Property name="LineComment" value="//"/>
</Properties>
<Digits name = "Digits" bold = "false" italic = "false" color = "DarkGreen"/>
<RuleSets>
<RuleSet ignorecase="true">
<Delimiters>&amp;&lt;&gt;~!%^*()-+=|\#/{}[]:;"' , .?</Delimiters>
<Span name = "LineComment" rule = "CommentMarkerSet" bold = "false" italic = "false" color = "Green" stopateol = "true">
<Begin>//@!/@</Begin>
</Span>
<Span name = "LineComment" bold = "false" italic = "false" color = "Gray" stopateol = "true">
<Begin>///@!/@</Begin>
</Span>
<Span name = "CompilerDirectives" rule = "CompilerDirectivesSet" bold = "false" italic = "false" color = "Black" stopateol = "true">
<Begin>#</Begin>
</Span>
<Span name = "BlockComment" rule = "CommentMarkerSet" bold = "false" italic = "false" color = "Green" stopateol = "false">
<Begin>{</Begin>
<End>}</End>
</Span>
<Span name = "BlockComment2" rule = "CommentMarkerSet" bold = "false" italic = "false" color = "Green" stopateol = "false">
<Begin>(*</Begin>
<End>*)</End>
</Span>
<Span name = "String" bold = "false" italic = "false" color = "Blue" stopateol = "true">
<Begin>'</Begin>
<End>'</End>
</Span>
<KeyWords name = "KeyWords" bold = "true" italic = "false" color = "Black">
<Key word = "return" />
<Key word = "external" />
<Key word = "in" />
<Key word = "array" />
<Key word = "case" />
<Key word = "class" />
<Key word = "template" />
<Key word = "final" />
<Key word = "const" />
<Key word = "lock" />
<Key word = "constructor" />
<Key word = "destructor" />
<Key word = "downto" />
<Key word = "do" />
<Key word = "else" />
<Key word = "finnaly" />
<Key word = "for" />
<Key word = "function" />
<Key word = "if" />
<Key word = "inherited" />
<Key word = "procedure" />
<Key word = "operator" />
<Key word = "property" />
<Key word = "record" />
<Key word = "repeat" />
<Key word = "set" />
<Key word = "type" />
<Key word = "then" />
<Key word = "to" />
<Key word = "until" />
<Key word = "uses" />
<Key word = "using" />
<Key word = "var" />
<Key word = "event" />
<Key word = "while" />
<Key word = "params" />
<Key word = "with" />
<Key word = "of" />
<Key word = "label" />
<Key word = "initialization" />
<Key word = "finalization" />
<Key word = "where" />
</KeyWords>
<KeyWords name = "ProgramSections" bold = "true" italic = "false" color = "Black">
<Key word = "unit" />
<Key word = "library" />
<Key word = "program" />
<Key word = "interface" />
<Key word = "implementation" />
</KeyWords>
<KeyWords name = "BeginEnd" bold = "true" italic = "false" color = "Black">
<Key word = "begin" />
<Key word = "end" />
</KeyWords>
<KeyWords name = "Punctuation" bold = "false" italic = "false" color = "Black">
<Key word = "," />
<Key word = "." />
<Key word = ";" />
<Key word = "(" />
<Key word = ")" />
<Key word = "[" />
<Key word = "]" />
<Key word = "+" />
<Key word = "-" />
<Key word = "/" />
<Key word = "*" />
<Key word = "&lt;" />
<Key word = "&gt;" />
<Key word = "&lt;=" />
<Key word = "&gt;=" />
<Key word = "^" />
<Key word = "=" />
<Key word = "&amp;" />
</KeyWords>
<KeyWords name = "AccessKeywords1" bold="true" italic="false" color="Black">
<Key word = "inherited" />
</KeyWords>
<KeyWords name = "NonReserved1" bold="false" italic="false" color="Blue">
<Key word = "self" />
<Key word = "result" />
</KeyWords>
<KeyWords name = "OperatorKeywords" bold="true" italic="false" color="Black">
<Key word = "or" />
<Key word = "xor" />
<Key word = "and" />
<Key word = "div" />
<Key word = "mod" />
<Key word = "shl" />
<Key word = "shr" />
<Key word = "not" />
<Key word = "as" />
<Key word = "is" />
<Key word = "new" />
<Key word = "sizeof" />
<Key word = "typeof" />
</KeyWords>
<KeyWords name = "SelectionStatements" bold="true" italic="false" color="Black">
<Key word = "else" />
<Key word = "if" />
<Key word = "case" />
</KeyWords>
<KeyWords name = "IterationStatements" bold="true" italic="false" color="Black">
<Key word = "do" />
<Key word = "for" />
<Key word = "foreach" />
</KeyWords>
<KeyWords name = "ExceptionHandlingStatements" bold="true" italic="false" color="Black">
<Key word = "except" />
<Key word = "on" />
<Key word = "try" />
<Key word = "finally" />
</KeyWords>
<KeyWords name = "RaiseStatement" bold="true" italic="false" color="DarkRed">
<Key word = "raise" />
</KeyWords>
<KeyWords name = "JumpStatements" bold="true" italic="false" color="DarkRed">
<Key word = "goto" />
</KeyWords>
<KeyWords name = "JumpProcedures" bold="true" italic="false" color="DarkRed">
<Key word = "break" />
<Key word = "continue" />
</KeyWords>
<KeyWords name = "InternalConstant" bold = "false" italic = "false" color = "Blue">
<Key word = "true" />
<Key word = "false" />
<Key word = "nil" />
</KeyWords>
<KeyWords name = "InternalTypes" bold="false" italic="false" color="Blue">
<Key word = "void" />
<Key word = "boolean" />
<Key word = "byte" />
<Key word = "shortint" />
<Key word = "smallint" />
<Key word = "word" />
<Key word = "integer" />
<Key word = "longword" />
<Key word = "uint64" />
<Key word = "cardinal" />
<Key word = "int64" />
<Key word = "single" />
<Key word = "longint" />
<Key word = "string" />
<Key word = "char" />
<Key word = "real" />
<Key word = "double" />
<Key word = "pointer" />
<Key word = "object" />
<Key word = "decimal" />
</KeyWords>
<KeyWords name = "ReferenceTypes" bold="true" italic="false" color="Black">
<Key word = "class" />
<Key word = "interface" />
</KeyWords>
<KeyWords name = "Modifiers" bold="true" italic="false" color="Black">
<Key word = "abstract" />
<Key word = "overload" />
<Key word = "reintroduce" />
<Key word = "override" />
<Key word = "virtual" />
<Key word = "default" />
<Key word = "forward" />
<Key word = "static" />
</KeyWords>
<KeyWords name = "AccessModifiers" bold="true" italic="false" color="Black">
<Key word = "internal" />
<Key word = "public" />
<Key word = "protected" />
<Key word = "private" />
</KeyWords>
</RuleSet>
<RuleSet name = "CommentMarkerSet" ignorecase = "true">
<Delimiters>&lt;&gt;~!@%^*()-+=|\#/{}[]:;"' , .?</Delimiters>
<KeyWords name = "ErrorWords" bold="true" italic="false" color="Red">
<Key word = "TODO" />
<Key word = "FIXME" />
</KeyWords>
<KeyWords name = "WarningWords" bold="true" italic="false" color="#EEE0E000">
<Key word = "HACK" />
<Key word = "UNDONE" />
</KeyWords>
</RuleSet>
<RuleSet name = "CompilerDirectivesSet" ignorecase = "true">
<Delimiters>&lt;&gt;~!@%^*()-+=|\#/{}[]:;"' , .?</Delimiters>
<Span name = "String" bold = "false" italic = "false" color = "DarkRed" stopateol = "true">
<Begin>'</Begin>
<End>'</End>
</Span>
<KeyWords name = "DireciveNames" bold="true" italic="false" color="Blue">
<Key word = "apptype" />
<Key word = "resource" />
<Key word = "reference" />
<Key word = "NullBasedStrings" />
</KeyWords>
<KeyWords name = "SpecialDireciveNames" bold="true" italic="false" color="Red">
<Key word = "savepcu" />
</KeyWords>
<KeyWords name = "DireciveValues" bold="false" italic="false" color="Blue">
<Key word = "console" />
<Key word = "windows" />
<Key word = "dll" />
<Key word = "pcu" />
<Key word = "false" />
<Key word = "true" />
</KeyWords>
</RuleSet>
</RuleSets>
</SyntaxDefinition>

View file

@ -1,5 +1,5 @@
<?xml version="1.0"?>
<!-- syntaxdefinition for PascalABC.NET (c) DarkStar 2006 -->
<!-- syntaxdefinition for PascalABC.NET (c) Ivan Bondarev, Stanislav Mihalkovich -->
<SyntaxDefinition name = "PascalABC.NET" extensions = ".pas;.paspart_">

Binary file not shown.

View file

@ -1,38 +0,0 @@
PascalABC.NET is:
The new generation Pascal programming language, combining the simplicity of the classic Pascal, a number of modern extensions and huge capabilities of Microsoft .NET platform.
Free, simple and powerful integrated development environment.
Built-in form designer for rapid desktop applications development.
Unique Web environment that allows to develop and run PascalABC.NET, C#, Visual Basic.NET, F# or IronPython programs directly in the browser, with personal directory of programs on server.
 
Take 3 steps towards PascalABC.NET:
A. Download the latest version of PascalABC.NET
B. Open the Web development environment and run PascalABC.NET program directly from the browser!
C. Explore examples of PascalABC.NET programs
Learn Programming with PascalABC.NET!
Key features of PascalABC.NET
Several extensions of the Pascal language, including foreach operator, in-block variable definitions, auto type deduction in variable definitions, simplified syntax of modules, methods in records, method bodies inside class or record, the new operator to construct objects, anonymous classes, autoclasses, BigIntegers etc.
The most modern features of programming languages: n-dimensional dynamic arrays, generics, interfaces, operator overloading, exceptions, garbage collection, lambda expressions.
Efficient code generation for .NET platform.
High compatibility with Delphi.
High speed of program execution.
Access to a huge number of .NET libraries.
IDE with an integrated debugger, intellisense system, code templates and code auto-formatting.
Built-in forms designer for rapid development of desktop applications.
Simple and effective raster and vector graphics library.
Some OpenMP directives for parallel programming.
Robot and Drawman modules for school informatics.
Built-in Programming Taskbook.
Mechanism of automatic correctness checking of results computed by pupil's programs.
Web-development environment WDE, allowing to run the program directly from the browser.
Ability to publish Web link to a file stored in the Web development environment in the style of Google Docs.
Console compiler runs under Mono.
PascalABC.NET is a joint development of Russian and German programmers. In Russia, the development center is located at the Faculty of Mathematics, Mechanics and Computer Science, Southern Federal University.
PascalABC.NET is actively used in a number of secondary schools and higher universities of Russia and neighboring countries. In Southern Federal University, it is used as the main language for teaching students of Information technology in the course "Fundamentals of programming" and for teaching children in one of the largest Russian Children's
computer school.
Simple, powerful, freeware - this is a PascalABC.NET!