syntax-highlighting

Highlighting quoted/backquoted parens

In Emacs is there a way to syntax-highlight the parentheses of quoted and backquoted sexps differently than the parens of other sexps so they stand out? e.g. I want these parens to be a different color than other parens: (foo `(bar (baz)) quux) ^ ^ ...

Color (syntax highlighting) within an HTML <code> tag

In a code fragment like the following ... class Foo { internal Foo() { for (int i = 0; i < 42; ++i); } } ... its various keywords and so on are color-coded when they're displayed in my browsers. When I do "View source", I don't see anything special in the HTML that would implement this color-coding. How and/or where is thi...

Free syntax highlighting component in .NET

Hi Guys, Does anyone knows about good free syntax highlighting component for .NET? Thanks a lot, Adi Barda ...

Where can I find a simple JavaScript based HTML syntax highlighter?

Where can I find a simple JavaScript based HTML syntax highlighter? Simpler is better, and I don't need any line numbers or tricks, just added colors. If it is the same colors as dreamweaver, even better! ...

Custom Windows 7 Preview Pane syntax highlighting

After discovering on superuser that there is no current way to add syntax highlighting to the Windows 7 preview pane, I figured if someone else hasn't done it yet then I'll go ahead and do it myself. Is there an API or SDK available for Windows 7 that exposes the preview pane in explorer to customization? If so, what is it and how do y...

What is the scope of effort for making standard java-mode syntax highlighting language release dependent?

My itch to see the Emacs syntax highlighting handle generics more effectively is getting worse and worse with each new release of the Java language. I suspect adding customization support for the language level is a significant piece of programming effort. But it would still be interesting to hear someone knowledgeable expound at a fai...

How to Syntax Highlight in a RichTextBox [C#]?

How do I syntax highlight in a richtextbox control AS THE USER TYPES and USING A String[] keywords. I will be publishing a lightweight notepad to the web soon and I want it to have syntax highlighting. I am using Windows forms. Can someone post a code example? ...

Is there a syntax highlighting library similar to GeSHI with an Apache or BSD style licence?

I am looking for a syntax highlighting library similar to GeSHI. We are working on a commercial closed source application and so cannot use GeSHI as it is GPL'd. Is there a syntax highlighting library similar to GeSHI with an Apache or BSD style licence? ...

Is there a free code to html syntax highlighter written in C#?

Is there a free code to html syntax highlighter written in C#? I am looking for something I can host in an .net mvc app ...

Lexical Analysis of Python Programming Language

Does anyone know where a FLEX or LEX specification file for Python exists? For example, this is a lex specification for the ANSI C programming language: http://www.quut.com/c/ANSI-C-grammar-l-1998.html FYI, I am trying to write code highlighting into a Cocoa application. Regex won't do it because I also want grammar parsing to fold code...

Is there a way to syntax highlight an If - End If statement in VB.Net

I am trying to read through some code and it would be helpful if the editor in VS 2008 would highlight the If statement by using the cursor and double clicking the End If statement (or something like that). I believe I could do something like this in Java using Eclipse - it was very good at highlighting a code block by clicking next t...

Highlight under-cursor code block ?

I'm looking for a way to highlight the code block currently under the cursor while in normal mode. This would work kinda like the set showmatch config options does, but the detection and highlighting would stretch over the entire block. Any way to achieve this functionality either with config options or a (preferably existing) script ...

Where can I find a Vim syntax file for the go language?

Has anyone created a vim syntax file for the go language? ...

Syntax Highlighting in Drupal

Which is the best module for Syntax Highligting in Drupal. I am using GeSHi for syntax highlighting my code. It was working fine then I installed a second module FCKeditor. Now GeSHi filter is not working with FCKeditor. Do anyone have any idea why these modules are not working together. Thanks in advance. ...

syntax highlighting in a VIM fold header

Is there any way to have VIM continue to apply formatting to the line used as the header for a fold? E.g., I have the following code: int foo(int a, int b) { int c; .... } When folded, I see: +-- 4 lines: int foo(int a, int b) {---------------------------- However, the whole line is highlighted as per the "Folded" class. Is th...

Defining new syntax in Emacs

Hi, I have a custom config file format and I would like Emacs to recognize and highlight the syntax. Is this possible. If yes, how do we do it? Thanks for your answers. ...

highlight_string in C#

Is there an equivalent of PHP's highlight_string function in C#? It is not necessary to be a built-in function. Edit: If not is there a good library for that? Edit2: I really need a server side solution for that like PHP does. ...

Syntax Highlighter for Java

Hello friends, As you know there is a Syntax highlighter for PHP called GeSHi which supports a great number of Programming Languages or Code formats. However, I couldn't find such a library for Java which supports programming languages that I need (ADA, ASP, BNF, Bash, Brainfuck, C, C++, C#, CSS, Cobol, ColdFusion, D, Fortran, Haskell,...

Is it possible to provide Code highlighting on sites.google.com websites?

Is it possible to do Code Sytnax highlighting on sites.google.com websites like the way we do it on Blogger.com or Wordpress.com? ...

Emacs C++ Mode: Highlighting Casts and Sizeof

I am using the standard (shipped) Emacs C++ mode but I have a slight itch that I am looking to get scratched. How would I go about properly highlighting the types inside of a sizeof and the casts in C++? For example: A Cast Type * pointer = reinterpret_cast <Type *> (original); Sizeof std::cout << sizeof (Type) << "\n"; ...