syntax-highlighting

Stani's python editor- change syntax coloring

Looking at Stani's Python IDE, it definitely comes bundled with tons of useful features. Except it doesn't let me do custom syntax coloring. From the Q&A on the author's site: "- changing colors is not supported unless you edit manually sm/wxp/stc.py" So I've attempted to check out that code myself in my quest for the perfect full-fe...

Vim: Custom Folding function done, custom highlighting required

I have defined a function in vim to properly indent folds. Ie so they look like this: Unfolded this is text also text indented text indented text not indented text folded with default function this is text also text +-- 2 lines: indented text ---------------------------- not indented text folded with my new function th...

Can any body help to split php source code

hi, can any body help me on separating this example of data that i need to parse and seperate text just like PHPDoc. It is PHP source code. The example string : function one_to_tree() { //bla bla bla return FALSE; } function two_to_tree() { //bla bla bla return FALSE; } function three_to_tree() { ...

How do I get Xcode and TextMate to calibrate syntax highlighting colours the same way?

This is a mostly insignificant problem, but it's been bugging me for a while and I figured someone on here might be as ridiculously OCD as I am (this is a programmer community after all). Basically, the problem is that TextMate doesn't seem to calibrate syntax highlighting colours, while Xcode does. What this means in practice is that, ...

C# Syntax Highlighting for Confluence

Does anyone know of any C# syntax highlighter plugins for Confluence? Using the default Java highlighter works, but it misses things like string in C# and String in Java, with the latter being highlighted and the former plain black text. ...

Is there a syntax highlighting editor component for Mac OS X

I am looking for a syntax highlighting component that I can include in a Mac OS X XCode project to allow editing of Ruby, C++, Lua, etc. I need a component that is open source or has the source included. My Google searches didn't turn up much in the way of Mac OS X frameworks or components at all, let alone the type I am looking for. ...

can't get syntax highlighting to work with R code in vim

This is a naive (and likely dumb) question, but I can't seem to get the R syntax highlighting to work with my Linux setup. I've downloaded a r.vim file that has improved syntax highlighting, and it works on my Windows gvim setup. Does this r.vim file need to be in the /usr/share/vim/v70/syntax directory? Right now, I have it in my h...

Is there a colored REPL for Clojure?

I'd like to get a colored REPL for clojure code, similar to what you can do with IRB for Ruby. Are there any libraries or settings for user.clj that provide automatic coloring of the REPL? Example IRB: ...

problems with chili source code highlighter (mysql)

I am using Chili source code highlighter it works fine with php source using php as the class. But when i change it to mysql it doesnt highlight any SQL code i also tried sql as the classname, i double checked the recipes' and there is a mysql recipes in there. ... What could i be doing wrong? <pre><code id="code" class="php"></co...

Syntax highlight in java for android

I want to build an notepad-style application on android that will have syntax highlighting. But when I search around the web, I find the syntax highlighting can be done only through use of an awt class. How could I syntax highlight in maybe a custom EditText or TextView view? I know that the release of a syntax highlighter is sort of ant...

Customize VisualStudio syntax highlighting even more

Hi everybody, I am wondering if it is possible to set VisualStudio IDE so it highlights private/protected/public variables of the class differently as well as change formatting on locals (i.e. variables that are either passed in or declared inside a function, like this). I did not find any such options in the normal Fonts and Colors me...

Good Syntax Highlighter For Self-Hosted WordPress Blog

Hello, I am looking for a good automatic syntax highlighter for self-hosted WordPress blog (not wordpress.com blog). It would be great if the syntax highlighter automatically detects code parts and highlights them. Thanks in advance. ...

Syntax highlighting in MS Word document

I want to insert some C/C++ source code into a Microsoft Word document. I have no problem in copying the code from source file and pasting into Word. I can do fixed-width. But, in Word, I see the code in black-and-white format; I loose the syntax highlighting as I get in the source code editor (for me, gvim). So, my question is, is there...

Syntax highlighting with Chili

I want to use jquery Chili plugin for syntax highlighting a piece of code thats generated on the fly, but its not working for the same, because the code is inserted into the #output div on page load. When I tried chili with static examples, it worked but not on the dynamically generated code. Is there any workaround? Thanks in advance ...

Java API for source formatting

Hi There are several PHP or js code formatting libs out there -- does anyone know if similar libs exist in Java? Ie., Given a string of code, return a formatted string with syntax colouring etc. It'd be ideal if it auto detected the language, but I might be pushing my luck there... The text will ultimately be displayed within a Flex ...

Code Colorer Being Used

Hello, I visited this site and i really liked the code colorer used by it (apart from that CSS3 article on speech bubbles). I went through the source code of that page but could not find which syntax highlighter is being used there. Does any one have an idea? ...

How to change color of HAML tags in NetBeans?

I use Aloha theme in NetBeans 6.8, everything looks cool except these blue tags in HAML files, which are unreadable. How to find a place where this blue color could be changed? P.S. I use that HAML plugin which seems to be unsupported and lacks features Screenshot: http://img.leprosorium.com/846904 (sorry, new users can't embed images)...

What are the plugins to insert code snippets in website?

It wld be best if the plugins have syntax highlighting function for html,css and javascript ...

Is there a command line C++ to PDF converter with syntax highlighting?

I need to supply "Source code documents w/ Line numbers" which is essentially just a PDF of the source code with syntax highlighting and Line numbers. Is there any existing command line tools for windows that I could call from a script as a "build release version" script? Right now I'm doing it manually using VC++, which isn't even the...

Syntax hightlighting of template toolkit files in Aptana/Eclipse

Does anyone know how I can add syntax highlighting to Eclipse/Aptana for Template Toolkit files? All I need is for [% ... %] to be a different colour. ...