components/prism-csharp.js


Log

Author Commit Date CI Message
Michael Schmidt a8164559 2019-06-02T14:36:05 C#: Added `cs` alias (#1899)
Michael Schmidt 3b1e0916 2018-12-01T21:34:04 Improvements to C# operator and punctuation (#1532) Solve the issue of [C# breaking ligature fonts with the `=>` operator](https://github.com/PrismJS/prism/issues/1133#issuecomment-413553956). `=>` is now an operator. There are also some other changes. 1. `?` and `:` are now all included by `punctuation`. Because `:` cannot be included in `operator` (because it is also used for inheritance) the `?` shouldn't be an `operator` either. 2. `??` and `?.` were added to `punctuation`. They weren't explicitly supported before. 3. An operator-test was added.
Golmote 0a95f69d 2018-03-28T20:05:45 C#: More specific class-name highlighting. Fix #1371
Golmote a6837d24 2018-03-24T12:25:27 C#: More generic class-name highlighting. Fix #1365
Golmote 12c0b20a 2018-03-08T22:19:01 Decouple minus sign from number pattern in most languages. Close #1110
Golmote 405867cb 2018-03-05T08:25:08 C#: Add "dotnet" alias.
Golmote 4cb9888d 2018-03-05T08:22:53 C#: Reorder keywords
Golmote 75b9b290 2017-10-22T14:24:51 C#: Remove duplicates in keywords + regexp optimisation + don't use captures if not needed
Golmote dfb6f17e 2017-02-07T23:21:20 C#: Fix wrong highlighting when three slashes appear inside string. Fix #1091
Andreas Rohner 6f75735e 2016-04-30T15:43:07 Support for generic methods in csharp
Alex Vertax 5728f919 2015-10-13T12:41:16 Fixed detection of float numbers.
Chaos Shen ad316a36 2015-10-10T17:51:31 Improve highlight: - add highlight for directives in C/C++ macros and C#/F# preprocessor lines; - add some predefined constants in C; - remove 'true' and 'false' from keyword list in JavaScript, they should be considered as boolean constant.
Golmote 86311f5e 2015-07-16T08:06:25 C#: Fix preprocessor pattern
Golmote d795397e 2015-05-23T10:25:16 C#: Verbatim strings can contain doubled quotes and new lines
Golmote b1fd5bdc 2015-03-10T08:27:53 Removed unused global flag in all grammars
Golmote 78debe78 2015-02-10T19:31:37 C# does not handle hexadecimal numbers properly. Fixes #493
Vincenzo Chianese 38e5ecf2 2015-01-22T11:56:00 Added new keywords
Mohammad Valipour 32286a6d 2013-10-29T13:35:38 add .min version for csharp and gherkin. also fixed indentation for csharp
valipour 837f61be 2013-10-27T10:51:02 add missing keywords to csharp language component
valipour e6308d47 2013-10-26T20:03:46 add component file for csharp