syntax-highlighting

python code highlighter for publishing in html

Hello, everyone I'm looking for a python code highlighter for publishing as html. I've found this site http://quickhighlighter.com that does highlighting really well. However if I try to copy/paste some python code from it to a text file, I get a mess. If you know a better tool, please let me know. Thanks in advance. ...

Embedding code in presentations?

Hi, Not sure if this fits this forum, but can anyone recommend a good tool to embed code (with syntax highlighting) in presentations / office documents? Taking a screenshot is less than ideal. I'm using OpenOffice. Thanks. ...

Add syntax highlighting for J3D in Netbeans?

Is it possible at all? It feels like it should be a rather basic feature but.. How do I do it? ...

Changing the default language presented by GeSHi through a wordpress plugin

I am using WP-CodeBox to get syntax higlight effect on my WordPress blog. I wish to have the plugin automatically always show the X language, whenever I use < pre > some code < / pre > Any idea how to change the PHP code for that? (I am willing for it to be hard coded to the plugin files) ...

How can i change my vim vimrc to know when I am typing a php variable and match the color?

I know I did not word the question right but I was not sure how. So here it goes. when using vim the way my color syntax is now, when i type in $ it shows yellow and when i write text it comes in white. How can I configure my vimrc to know when I am writing a php variable ($variable) and keep the color consistent between the $ and the ...

Is it just me or is JAVA syntax highlighting broken on ideone.com ???

It appears to be broken for me and there is a strange offset between where i click and where the actual cursor appears. Can anyone confirm this? ...

Convert source code to syntax highlighted image

Background OpenOffice Writer lacks the ability to link to an ASCII text source file, apply syntax highlighting, wrap it in a frame, and update the frame contents whenever the source file changes. However, OpenOffice Writer can link to images, and will update the images automatically when they change. Problem The images need to be high...

remove emacs highlighting

I use the emacs command 'highlight-compare-buffers' to see the changes between two files. But I don't know how to turn the highlighting off. It seems like it should be really easy, but I can't seem to figure out how even with lots of googling and searching the emacs help files. ...

PHP HTML \t and Tab Troubles

I have started making a syntax highlighter in php (only a quick one) and so far I have got a code box generator (aka it creates a table with styles that looks good and can display source code and html code). At the moment when writing code with it I do this: $code = "def example_ruby_code(does_it_work) " . "(insert tab here) @does_i...

Javascript language constructs

I'm writing a Javascript syntax highlighter and I am not 100% I have everything. So far I have: Comments (// and /* */) Regex Number Highlighting Quotes (" and ') I also have keyword highlighting: if else new var function for return this do while true false Am I missing any constructs or keywords that would be essential to highl...

How to ignore an explicit error in VS2010?

I would like VS2010 to ignore an error in XAML Code. The Reason is, it's not a real error, I have a own class of Windows and VS is not able to create an instance of it. So now it always shows "Can not create an instance of "ChildWindow"". This would not be bad, but it marks the hole file as error, and this looks realy ugly. So: I would...

How to display language syntax coloring with the DAV SVN module?

When viewing a plain text code file (i.e. ".py", ".c", ".cpp", ".m", ".as", ".js", etc.) is it possible to have the DAV SVN module render language-specific syntax coloring? That would be amazing. Currently it's all just black plain text, but it'd great to get this working so it's easier to read code in the browser, for those folks here...

Eclipse Syntax Highlighting Java Struts Hibernate Web App

Hi I am just getting started on Java, Struts, Hibernate, Tomcat - based Web App Development on Eclipse. I have installed Eclipse IDE for Java EE Developers on my Ubuntu system. Do I need to install any plugins for Syntax Highlighting to work properly - for Forms, Actions, Servlets, Classes, etc.? Thanks. ...

Is there a plugin for Gedit to highlight matching HTML tags?

That'd be neat. I couldn't find one using google though. Anyone heard or seen something for Gedit or wanna make a plugin? ...

Java software editor / syntax highlighter

I have to build a software editor for Java, so think of just a very simplified Netbeans / Eclipse. The first area which I want to do is the Syntax Highlighting. I found a few libraries / open source editors such as jEdit, BlueJ and jsyntaxpane which will be useful for building my own. What I am looking for though is any literature / j...

JSON Javascript highlighting in Visual Studio 2010

Does anybody know how to get VS 2010 to use the same highlighting for a file called .JSON as it uses for a JavaScript file? Just working on a client site and they've named all their JSON template files as .JSON, with the result that I just get a plain old text editor when I open it in Visual Studio. Any suggestions? I'm sure there must b...

How to implement Syntax Highlighting and Auto-Complete feature in C#.NET GUI Application?

I am a new C# student programmer. I want to make a editor like application which will highlight codes (syntax highlighting) and have auto complete feature for functions variables etc... I don't have any idea to do that. Can you please provide me some tutorial links or some tips about that? Can I implement these features in a "Rich Text B...