syntax-highlighting

How to show syntax errors in an eclipse editor plugin

How can I indicate syntax errors (e.g. an illegal sequence of tokens) in an eclipse editor plugin just like in the eclipse Java editor, i.e. by red wriggly underlines, a red marker on the scrollbar that you can jump to, and an explanatory message when you hover over either one? I'm writing an eclipse editor plugin for a custom file form...

Vim syntax coloring: How do I highlight long lines only?

I would like vim to color "long" lines for me. Using 80 columns as an example, I would like to highlight lines that exceed that length. Here is roughly what I think the .vimrc file should contain, although it (1) doesn't work, and (2) uses Perl's regex syntax to illustrate my point, because I don't know Vim's well enough: ... highligh...

Silverlight XML editor / syntax highlighting

Hi, I am looking for a Silverlight text editor control that provides XML syntax highlighting. I found a few answers in Winforms or WPF, like here on Stackoverflow, but I didn't manage to convert them to Silverlight. The fact that Silverlight is missing System.Drawing is probably a big problem. The only text editor I found for Silverlig...

Are there any good free blogging tools for programming?

Duplicate of: What is best blogging host for programmers/code formatting? What is a good blog hosting service for programmers? I have currently been using wordpress, but it is very lackluster... I am unable to do any effective code syntax highlighting, for example. I am thinking about simply using github pages, but I don't know if I'...

Pascal syntax highlight in Visual Studio ?

Hi All, I'm writing in C# the next generation of an old app originally written in Delphi. I often have to look in the old code and wondered if there's anyway to install Pascal syntax highlighting in the Visual Studio 2008 editor. TIA. ...

Eclipse: Subclipse "Edit Conflicts"

I have found that when using Subclipse to edit conflicts, all my syntax color settings are preserved except for the background color, which is reset to the standard white. Using my particular color scheme makes it almost impossible to read any of the text when stuck with a white background. Is there anywhere I can change this default ba...

Syntax Highlighter for WPF

I'm currently looking for a Syntax highlighter for a WPF application. A textbox will be available for the user to type into which would hopefully recognise code and highlight syntax accordingly. I would like to support C# initialy and other languages later. Duplicate of Question 394751 ...

Flex Builder 3: syntax coloring, add keyword

I wish to know where I can add Keywords for the syntax coloring in Flex Builder - i need to extend it a little for my own sanity. ...

Lua syntax highlighting in KDevelop

Does anyone know how to fix the Lua syntax highlighting in Kdevelop. The # symbol used to get the length of a table causes the remainder of the line to appear as if it is commented out. t[#t+1] = "foo" ...

Java library for converting XML to syntax colored HTML

I have a Java string of XML content. I use Velocity to generate some HTML reports, and this XML needs to be included into one of those HTML files. It would be nice if this XML is syntax colored and formatted. Does anyone know of a Java library to do this? ...

Pygments in IronPython

Hello, I'm trying to create ASP.NET syntax highlighter for my blog with IronPython.Hosting and Pygments. The issue is, that Pygments doesn't work on IPy 2.0 atleast without hacking. Do you have idea how to make it work? ...

Custom syntax highlighting for VS 2008

I've been using John Lam's Vibrant Ink VS color scheme lately and wanted to tweak it so it highlights the method names for a class with a different color. Turns out there is no option in VS for that. Resharper has a feature that provides custom syntax highlighting. I was wondering how hard is it to write a little plugin that gives you ...

Vim:embedded syntax highligting

I have a custom xml file format which can contain blocks of code within certain tags. For example: <Root> <Sql> select * from foo </Sql> <MoreJunk> ... </MoreJunk> <Python><![CDATA[ def Bar(*args): return False ]]></Python> </Root> How can I get vim to use sql syntax highlighting for the text inside <Sql> ...

What is your favorite colorscheme FOR PROGRAMMING in Vim?

I think this is a relevant question for programmers and I'd like to hear other people's answers because some syntax highlighting color schemes are better on the eyes than others. This can affect productivity as much as ergonomic keyboards or anything else on here. It's about comfort and productivity. So, I'm curious. Do you find some ...

Editor core buffer type and syntax highlighting

I've been thinking a lot about making an editor core functionality wise compatible to vim, similar to yzis. The biggest questions are what buffer type to use. Requirement are: possibility to implement fast syntax highlighting, regex on top of it. possibility to implement multiple syntax highlightings in a single file. similar to text...

Highlighting unmatched brackets in vim

I'm getting burned repeatedly by unmatched parentheses while writing python code in vim. I like how they're handled for C code - vim highlights in red all of the curly braces following the unmatched paren. I looked at the c.vim syntax file briefly to try to understand it, but the section that handles bracket errors is very complex. Ca...

What's the best way to add colored-sytax code snippets to a web page?

Is there a web gadget or service or some open source solution for doing this? Or do people just hand-code this in the HTML? I need to add some Ruby and Python code to a web page. ...

Netbeans has "Print to HTML" - is there a way to add this feature to Eclipse?

I want to print out some syntax-highlighted Ruby and Python code and Netbeans has a feature on the File menu for "Print To HTML". I'm wondering if there is a plugin or some add-on for Eclipse that enables a feature like this since it is my preferred IDE? ...

Syntax-highlighting textbox for Winforms, ASP.NET, WPF

Folks, I'm looking for a syntax-highlighting Textbox component, preferably free, with source, and capable of being used in Winforms, ASP.NET and WPF alike. Also, it should support not just display, but also editing contents. I've discovered the excellent, FREE ActiPro SyntaxHighlighter for ASP.NET - but that's unfortunately ONLY for AS...

Different Background color for columns of COBOL source

I am looking for a way to "downlight" columns in Notepad++. the COBOL compiler ignores the first 6 columns and all characters starting from column 73 (to column 80, 81+ is ignored anyway). The seventh character has a special meaning (comment,debug, ... ). The 8th to 11th characters have also a special meaning. for code-viewing it is ...