-
Notifications
You must be signed in to change notification settings - Fork 905
Add support for Delphi #543
base: release-10-Feb-2013
Are you sure you want to change the base?
Conversation
…snapshots of minified JS and CSS
…sing the useless stdout
… or comments prior to the prettified node
…o use the google code download upload script
…update the autoloader
…files and language identifiers
… the loader works even though there is only a source for lang-lisp.js which registers a handler for lang-scm
…ersion instead of minified
- log results in a "report" container (that way tests can be run using test_in_node script) - show differences in tables
- takes care of empty attribs like class="" or style="" left behind in certain cases - also process output of JSON stringify necessary in some cases so that the tests pass
It is needed because lang-*.js files are dependent on prettify.js being loaded first, but scripts dynamically inserted using document.write are executed asynchronously in no guaranteed order.. This was causing the tests to fail when run under zombie/jsdom (using test_in_node), while running in a live browser didn't always manifest the problem.
+ minor formatting
this fixes a failing test in numberLines_test.html
* First, crude version of the elixir language handler. * multiple elixir plugin improvements - attributes, atoms, strings, ... * elixir-lang - added support for number literals with underscores * elixir-lang: added support for atoms as keys in keyword lists * Elixir: added support for sigils, simplified the keywords regex * Elixir: added more keywords from Kernel.SpecialForms * Elixir: adding missing keywords and more permissive atom/variable names * Elixir: better support for binaries/bitstrings * Elixir: added support for the `iex` prompt for interactive examples * added a failing test for elixir * Elixir: fixed the failing test for elixir syntax highlighting * Elixir: Highlighting constructs like `%{"THIS": :foo}` as atoms * Elixir: fixed false-positive highlighting for 0XFF and 0O77 * Elixir: fixing the license text. * Elixir: fixing multiline charlists * Elixir: more robust multiline strings and charlists * Elixir: making string recognition simpler and more correct
* Kotlin support * Added string interpolation * Added more keywords
* added module.exports * modified module.exports to incl. prettyPrintOne * added include paths for css preprocessor support * fix window not defined issue with browserify * Change to prettify.js for better React support * moved node logic to js-modules/node_prettify, modified grunt tasks * remvoed redundant closure-compiler flag
The current download link, linked to a `.tgz` file that no longer exists. This fixes it be pointing to the `.zip`
* associatedtype: https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/Generics.html * fileprivate|open: https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/AccessControl.html * Self: https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/Declarations.html * #column|#file|#function: https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/Expressions.html * #colorLiteral|#fileLiteral|#imageLiteral|#selector|#sourceLocation : https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/LexicalStructure.html#//apple_ref/doc/uid/TP40014097-CH30-ID410
* update lang-lasso.js - require word break after parameter local - relocate keywords to follow types * support for rest parameters * faster string matching patterns
Ran `npm install && npm script grunt` to regenerate loader directory and srcs.
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here (e.g. What to do if you already signed the CLAIndividual signers
Corporate signers
|
Also pulls in ncruces patches to this file from https://github.com/google/code-prettify/pull/573/files
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
…wait and try (#590) * Added Rust missing keyword dyn * Added Rust new reserved keyword async, await and try
Delphi is similar to pascal but has some differences
I attach a separate color scheme, but it is fully compatible with the "Pascal" scheme and, perhaps, you just need to replace the Pascal scheme
lang-delphi.js.zip