I am using the following syntax highligher:
http://alexgorbatchev.com/wiki/SyntaxHighlighter
For some reason when it encounter <br> it simply prints out <br> tags. I cannot replace the whole thing with System.Environment.NewLine since it will mess up the complete description. Here is my code:
public static string GetDescription(stri...
I have code blocks written in Open Office Write and want colorize it. How can I do this?
EDIT: When I copy syntax-highlighted code back to open office writer it becomes black again. How can I change this?
...
I know many people ask how some of these are done, but I do not understand the context in which to use the answers, so...
I'm building a code editor for a subversion of Python language, and I found a very decent way of highlighting keywords in the RichTextBox through this:
bluwords.Add(KEYWORDS GO HERE)
If scriptt.Text.Length > 0 T...
Vim's syntax highlighting for XML/XSL is great, except it turns off all syntax highlighting in CDATA regions. Is there a way to turn on syntax highlighting on in CDATA regions?
At work, we have a lot of XSL code embedded within other XML documents. It would be great if I could get all of the goodness of XML editing for the embedded XSL ...
Hello Friends
I have a DSL for which I intend to create a syntax highlighter for editors like vim, gedit and netbeans.
Has anyone tried this before?
Many thanks for any directions.
Ketan
...
Hi,
I just installed VS on another PC, but this time, while I am coding, it is not marking syntax errors while I am coding..... I need to press F6 to get the errors.
Normally when for example typing the line below, I get 's' underlined saying that there is a mismatch. Any ideas how I can enable this option?
string s = 4;
...
I'm currently using Google Sites to publicly document my dev workflows and commands. However, Google Sites does not have a source code syntax highlighting system in place. Is there a free alternative to Google Sites with syntax highlighting? The solution I'm looking for need to meet the following requirements:
Free hosted service
At...
I think the title speaks for it self...
I mean, I can edit my master page file, it compiles and all but all the text is black. It's ok when it comes to .aspx or .ascx file but not for master pages...
Any ideas ?
...
I can't, for the life of me, figure out how to change grey highlight color in the screenshot below to something that will make the text a little more legible. Does anyone know what the "Display Item" name is that I need to change?
To get to the "theme editor" select Tools => Options => Environment => Fonts and Colors. I can't find what ...
OK, Im trying to highlight keywords in a richtextbox, the problem is I've got the code to highlight only the visible text on textChanged event,so I tryed putting the code in the richtextbox VScroll, so when I scrolled up it would highlight the text that wasn't visible before, but every time I start to scroll I get this error: "An unhandl...
Hello every one, I have made a HTML syntax highlighter in C# and it works great, but there's one problem. First off It runs pretty fast because it syntax highlights line by line, but when I paste more than one line of code or open a file I have to highlight the whole file which can take up to a minute for a file with only 150 lines of co...
I'm using codemirror http://marijn.haverbeke.nl/codemirror/ to let users create their own web templates inside a web application.
Codemirror works great, except for the time that users have put a tag inside their source code. When I load that up inside code mirror, it breaks everything in the source code that follows after because it ...
As I use vim, it tries to be helpful by highlighting groups of four spaces in yellow, as shown.
My .vimrc file says, in its entirety, set tabstop=4.
How can I keep vim from highlighting the indentation in my files?
...
I'm working with VS2005, and SSMS 2005.
SQL Server allows nested comments as follows:
/* Comment 1
/* Comment 2 */
Some commented out code here
*/
This code runs fine. However if putting the above into a .sql file in VS2005, it incorrectly shows the commented out code as 'active', (its not green). It seems that StackOverflow has hig...
I have seen some solutions, or at least tries, but none of them really work.
How do I strip all tags except those inside <code> or [code] - and replace all the < and > with < etc. in order to let js do some syntax highlighting on the output?
...
Exactly what the title says. All the highlighting right now uses python2.6 and that makes me very sad face.
...
I wanted to know if there was a way, or a tool available, to output java source into a pdf that has syntax highlighting available?
...
I'd like to publish some of the many programs I've written on the web.
Is there a syntax highlighting Linux web publishing application (CMS/Blog/RoR app)
that displays syntax for C++, Python, Bash scripts, SQL, VBA, awk,
Erlang, java, makefiles, Ruby, Pascal and other languages?
The more syntax settings configuration files, the bette...
I do something like "svn diff > /mystuff/current.diff". I want to view this .diff file with syntax highlighting.
jEdit does it, but it's a huge beast and it takes a while to start up. I want something lightweight/native.
Smultron/Fraise, TextWrangler, TextEdit, Dashcode don't seem to highlight .diff files.
FileMerge seems to want to...