syntax-highlighting

Java: Syntax highlighting component keyevents

Hello, I just met the lib BeanShell. And now I'm making a Java Editor with a run-button who runs the code without compiling. For the texteditor-component, I use the open-source jEdit Syntax Package. Here is a link with a demo: link. Now I wrote code that adds every time the user pressed enter automaticly added the same number of tabs ...

Turn off FreeMarker validation in Eclipse 3.5

I'm using Eclipse 3.5 with the FreeMarker template plugin, and it's showing me a syntax validation problem that I don't care to see. How do I turn this validation off, or possibly downgrade this template error to a warning? In previous versions of Eclipse, I'd probably look under Window -> Preferences -> Validation, but I don't see tha...

C# - Is there any WPF HTML/Javascript/CSS Syntax Editor Control?

Is there any free WPF HTML/Javascript/CSS syntax editor control? Thanks ...

Highlighting #defined value in VIM

Hi all, I have XYZ highlighted in the header file where I have defined XYZ. However at the point of where it is used, XYZ is not highlighted. How would I fix this ? I have attached two screen shots (see TH_SYN in the code) to clarify my question- link text Any pointers are welcome. Many thanks. ...

Syntax coloring for Cocoa app

I'm planning to do a Cocoa app that requires code syntax to be colored (in all common languages). Instead of writing my own code highlighter/parser, are there any pre-made solutions available? Thanks ...

How to get Haskell syntax highlighting on PHP blog

Hi, I'm making a blog in PHP and I'd really like to have syntax highlighting on Haskell code. Are there any tools for that out there? I've found hscolour but I don't know if it's possible to integrate it in PHP. I'm using CakePHP if that makes a difference. Thanks. ...

vs2008 syntax highlighting for il assembler

hi all, is there a way to get visual studio 2008 to do a nice syntax highlighting for the intermediate language? ...

vim highlighting to right edge of screen

Hello, Is it possible to define a syntax group where highlighting would extend to the right edge of the screen (and not just to the last character in the line) ? This group could potentially match several lines. I am not trying to highlight the current cursor line, but rather whole comment blocks. ...

Python library for syntax highlighting

Which Python library for syntax highlighting is the best one? I'm interested in things like supported languages, ease of use, pythonic design, dependencies, development status, etc. ...

Syntax Highlighting CSS in PHP

I have a CSS parser thats printing out stylesheet to the browser like so: $cssParser->parse( 'style.css' ); echo '<pre>'; print_r( $cssParser ); echo '</pre>'; Can I 'syntax highlight' the output CSS somehow? Thanks ...

Is it possible to have a Vim syntax file command span multiple lines?

I'm trying to create a syntax file and I want to create some keyword groups for different colour highlighting (e.g. reserved words, operators etc. would be different colours). I can get this to work by doing one of the following two options: Option 1 syn keyword MyLangOperators operator1 operator2 operator3 syn keyword MyLangOperators ...

Efficient, flicker-free syntax highligher for vb.net which works as well as the one in the IDE

While I do know the above goal is rather challenging to achieve, I know it can be done. What the one I made does: It compares each word to a word from the list, if its a match, it will physically select the text and change the color, and finally it will return the carat to the position it was in when it highlighted. Issues with this:...

Format C# Source Code with Hyperlinks to Reference Library Documentation

I'm wondering if anyone has done this already. I want to format C# source code in HTML. But with a twist! I want to turn the names of all types and methods that appear in the code into hyperlinks to the MSDN Library documentation of the types and methods. To do a good job, the data types of variables and expressions needs to be known, ...

Anyone have a simple template for creating a new syntax highlighter for a Netbeans Editor?

I'd like to throw together a basic Netbeans editor with syntax highlighting for a non-standard database language. Initial target: highlight a set of reserved words and standard C multi-line comments. Anyone savvy with this and could point me to a link, or a template? One last thing: I've pulled down the Netbeans source tree before and...

Granularity of Syntax Coloring in Visual Studio

I am crazy about syntax coloring, where different source-code elements are displayed in different colors. Nowadays, good coloring is right up there with proper indentation when it comes to my ability to read code. Taking a look under Tools/Customize/Fonts and Colors, I can see that in some cases there is fine granularity; you can give d...

How to implement syntax highlight like SO?

Best to be implemented in javascript. And easy to use. ...

xcode code sense color/completion not working

EDIT: This is weird... if I double-click the Recent Projects item for the project in the welcome screen, code sense and coloring works just fine but if I just click Open (bottom right in welcome screen) it doesn't. Opening from File > Recent projects does not work either and neither does double-clicking the .xcodeproj file in Finder. ...

VIM Colorschemes in Screen & PuTTy?

Hey guys I've been trying to get colourschemes to work properly in VIM when using it over ssh with PuTTy as a client but unfortunately I haven't had much success. I can only get 8bit colours working with PuTTY even though I've enabled 256 colors in putty and set t_Co=256 in VIM. They don't turn out as they should. I've been trying to re...

Has anyone got a JSP language file for Notepad++?

I can't seem to find a language syntax highlighting file for JSPs for Notepad++. Is there one out there? (Currently, I've just got it set to use Java highlighting, which is a little sub-optimal. I could knock together my own, I suppose, but I'm hoping the internet has solved my problem for me.) ...

Combined HTML, PHP and Javascript indenting and syntax highlighting in vim

Hi all, I use vim for web development. These are almost always .php files, which also contain HTML and sometimes Javascript. While working in a block of PHP, indenting works fine. The syntax highlighting is okay, but only really useful for the PHP-code. When I want to edit an HTML block, I usually switch: :set ft=html, so that highlight...