Граф коммитов

181 Коммитов

Автор SHA1 Сообщение Дата
William Bradley 8b6108acff
Fixed Table issue 2018-05-13 19:46:43 +12:00
William Bradley 683df80052
Merged Packages table with Supports. 2018-05-13 19:46:19 +12:00
William Bradley d9c0c59f5d
Fixed Links 2018-05-13 19:35:24 +12:00
William Bradley 44a373c4d9 Updated Build Scripts for bug being fixed. 2018-05-02 23:35:28 +12:00
William Bradley 646752cbf3 Fixed XML/XAML Dark Theme. 2018-05-02 23:25:28 +12:00
William Bradley 67b17eda9a Added Build.Bat, Added "csharp" alias (fixes #1), made it easier to use RichTextBlockFormatter. 2017-12-09 14:23:14 +13:00
William Bradley 22f012394c -Added CSharp's number regex to Java.
-Improved DefaultDark StyleDictionary colours.
2017-12-05 21:45:42 +13:00
William Bradley 84024e51a7 Added AppVeyor config. 2017-12-05 01:04:39 +13:00
William Bradley ec0f848237 -Added CSharp Number Scope.
-Added Async Keywords to FSharp and VbDotNet.

-Created an Alternate DefaultDark Theme, needs work to make it dark friendly.

-Moved DefaultLight and DefaultDark to their own Partial file definitions for StyleDictionary.

-Added Dark Theme tests to the Test App. Added Horizontal Scroll to RichTextBlock tests.

-You can now Specify ElementTheme to RichTextBlockFormatter, it will determine the default Style Dictionary to use.

-Added Background theming to HtmlClassFormatter.

-Made Styles property public on CodeColorzerBase.
2017-12-05 01:03:53 +13:00
William Bradley e070cee927
Fixed broken readme.md link. 2017-11-29 06:41:16 +13:00
William Bradley fec1b52566 -Added Pragma Warning/Disable to C# Keywords.
-Added Fortan Language Support from: https://colorcode.codeplex.com/SourceControl/network/forks/CPardi/ColorCodeFortran.

-Language ID for Sample App is now based on File Extension.

-Fixed a rare crash casued by File Encoding issues.

-Console is now the RichTextBlock sample font.
2017-11-28 23:25:22 +13:00
William Bradley ef62975904 -Added async and await keywords to the Csharp parser.
-Cake is now an accepted alias for csharp.

-XAML and AXML are now valid aliases for XML.
2017-11-28 22:41:01 +13:00
William Bradley f573f26239 -Updated .gitignore.
-Simplified Versioning.
2017-11-28 21:13:59 +13:00
William Bradley d1a869aea6 -Renamed ColorCode to ColorCode.Core. Moved TextInsertion back to the Core Library.
-Removed the depency on .NET Standard 2.0 from ColorCode.HTML, you can now use it from .NET Standard 1.4.

-Removed StyleSheets, Moved Style and StyleDictionary back to ColorCode.Core, you can now use these to Style the Syntax Highlighting. Removed references to System.Drawing.Color, using Hex Colors instead.

-Added GetCSSString() to HtmlClassFormatter, so that you can produce a CSS File.

-Changed Method Structure of both Html formatters.

-Created and completed the RichTextBlockFormatter. Use FormatRichTextBlock(), or FormatInlines(), to insert formatted code.

-Added a .NETCore test app to test HTML creation, and a UWP Test App to test RichTextBlock formatting.

-Added some basic documentation.

-Added Readme.md.
2017-11-28 21:07:30 +13:00
William Bradley d0cb635e10 -Updated to .NET Standard 1.4.
-Moved HTML related classes, namespaces and formatters to ColorCode.HTML. This is a .NET Standard 2.0 Project, due to System.Drawing.Color.

-Replaced IFormatter, ICodeColorizer, CodeColorizer, with CodeColorizerBase, this is because different outputs will require different parameters, and produce different outputs.

-Removed Facts and AcceptanceTests, as they were causing compilation issues, and don't use the new Classes.

-Removed old Build System.

-Added ColorCode.UWP Stub.

-Added inherited MS-PL license.
2017-11-28 13:57:34 +13:00
bashirs ab8a7c19df Added the FSharp test output to the git ignore list 2013-08-21 13:34:21 -07:00
Daan f5641ee9c6 Consistently camelCase css class names 2013-05-14 11:41:34 -07:00
Daan c42ec028e2 Improved markdown rendering 2013-05-14 11:39:21 -07:00
Daan 8a54f0da4e Add new scopenames for Markdown language 2013-05-13 22:29:51 -07:00
Daan 3b539b651a Fixed bug for bold and italic display even when no color is given 2013-05-13 22:29:13 -07:00
Daan 7cd7c08907 Add language support for Markdown files 2013-05-13 22:28:26 -07:00
Daan f68ed11e89 Improved support for coloring Haskell type definitions 2013-05-13 16:38:44 -07:00
Daan 29d7c02ded Haskell: allow single quote in identifier names 2013-05-12 10:56:13 -07:00
Daan cf5a902532 Koka: fixed escape sequences 2013-05-11 23:44:57 -07:00
Daan f44dc2f022 Koka: made regular expression non backtracking for comments and types 2013-05-11 23:40:05 -07:00
Daan d3baaf320e Haskell: made regular expression non-backtracking in the case of unclosed comments 2013-05-11 23:39:32 -07:00
Daan b51abc4b87 Improved effiency of Koka comment regular expression 2013-05-11 21:50:05 -07:00
Daan 689d5989a1 Highlight json files with javascript highlighter 2013-05-11 21:49:34 -07:00
Daan 6af5dc2d49 Add support for the Haskell language 2013-05-11 21:48:50 -07:00
Daan 739d32e266 Advanced Koka highlighting 2013-05-11 16:48:09 -07:00
Daan e601312a7d Support italics and bold in the html formatter 2013-05-11 16:47:46 -07:00
Daan 6428c9ddb5 Add common token classes to the scope names 2013-05-11 16:46:30 -07:00
Daan 268a3f48bb Add support for italics and bold styles 2013-05-11 16:45:31 -07:00
Daan 7d4b7161c2 Add support for named group predicates (as in (?(open)...))
This is necessary to support balanced group regular expressions.
The new 'numberOfCaptures' regular expression now will not count
such predicate as a capture group.
2013-05-11 16:42:57 -07:00
Daan b851a1b963 Initial support for the Koka language 2013-05-11 12:56:27 -07:00
Daan 7485ce78e2 Add support for 'named' groups in the regular expressions so we can
use balanced groups for nested comments for example.
The problem with named groups is that they *capture* a group but these
groups are added after all the unnamed groups. For ColorCode, that means
after all of the other language rules. Therefore we should not count a
named capture groups in the numberOfCaptures regular expression (which
already is the case) but that means that the final regular expression may
capture more groups than are in the compiledLanguage.Captures.
This commit adds an explicit bounds check for that.
2013-05-11 12:54:42 -07:00
bashirs b6ff1237e5 Included htm as an alias for html 2013-03-04 14:11:50 -08:00
Luke Hoban eaf2ab3337 Fix typo 2013-02-21 22:05:18 -08:00
Luke Hoban 56515ddd93 Fix F# colorization of -> and yield! 2013-02-21 21:59:32 -08:00
Luke Hoban be42811fe9 Test for F# 2013-02-21 21:18:44 -08:00
Luke Hoban e365e5000d Support for F# 2013-02-21 21:14:37 -08:00
bashirs 64736beb80 Added auto detection of typescript extension 2013-02-14 14:35:22 -08:00
bashirs 00af86e364 Added an ignore file 2013-02-14 13:10:13 -08:00
bashirs c9fba74c15 Added support for Typescript colorizing 2013-02-14 13:06:41 -08:00
bashirs 55e7ba1fae Modified the check for language name to be case insensitive and did some minor refactoring 2013-02-14 10:27:21 -08:00
bashirs bfa2870ed3 Allowed for alias names for language ids 2013-02-14 10:09:49 -08:00
Chris Sainty f81c3cf195 Added a CSS class based formatter.
Instead of inline HTML being generated, span's are given classes based on the scope they contain.
Clsses can be defined in the StyleSheet and are set to default values in the DefaultStyleSheet.
2012-02-05 12:05:30 +11:00
csano 432f20251b Added dynamic and yield keywords to CSharp language 2011-01-26 15:09:36 -08:00
AnglicanGeek 475578332b updated version to 1.0.1 2010-10-06 20:39:49 -07:00
AnglicanGeek 074a6a65b2 updated solution to Visual Studio 2010 2010-10-06 20:11:24 -07:00