Code Monkey home page Code Monkey logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
Thanks much.  I will try to integrate these changes.

Original comment by [email protected] on 27 Mar 2007 at 6:54

from google-code-prettify.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
Patch is below.

=====================================================
--- prettify.js-r20     2007-03-29 21:10:55.000000000 -0700
+++ prettify.js 2007-03-29 21:09:25.000000000 -0700
@@ -72,6 +72,13 @@
     "interface long native new null package private protected public return " +
     "short static super switch synchronized this throw throws transient " +
     "true try typeof var void volatile while with NaN Infinity");
+  var CSHARP_KEYWORDS = (
+    "abstract as base bool break by byte case catch char checked class const
continue " +
+    "decimal default delegate do double descending explicit event extern else 
enum
false finally " +
+    "fixed float for foreach from goto group if implicit in int " +
+    "interface internal into is lock long new null namespace object operator 
out
override orderby params private protected public readonly ref return " +
+    "sbyte sealed short sizeof stackalloc static string switch struct select 
this
throw " +
+    "true try typeof uint ulong unchecked unsafe ushort using var virtual void
volatile while where yield");
   var PERL_KEYWORDS = (
     "foreach require sub unless until use elsif BEGIN END");
   var SH_KEYWORDS = (
@@ -80,8 +87,8 @@
       "if then elsif else end begin do rescue ensure while for class module " +
       "def yield raise until unless and or not when case super undef break " +
       "next redo retry in return alias defined");
-  var KEYWORDS = [CPP_KEYWORDS, JAVA_KEYWORDS, JSCRIPT_KEYWORDS, PERL_KEYWORDS,
-                  PYTHON_KEYWORDS, RUBY_KEYWORDS, SH_KEYWORDS];
+  var KEYWORDS = [CPP_KEYWORDS, JAVA_KEYWORDS, JSCRIPT_KEYWORDS, 
CSHARP_KEYWORDS,
+                                       PERL_KEYWORDS, PYTHON_KEYWORDS,
RUBY_KEYWORDS, SH_KEYWORDS];
   for (var k = 0; k < KEYWORDS.length; k++) {
     var kw = KEYWORDS[k].split(' ');
     for (var i = 0; i < kw.length; i++) {

Original comment by [email protected] on 30 Mar 2007 at 4:15

from google-code-prettify.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
patched in

http://google-code-prettify.googlecode.com/svn/trunk/CHANGES.html.

Original comment by [email protected] on 2 Apr 2007 at 6:47

  • Changed state: Fixed

from google-code-prettify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.