Syntax highlighting is a feature of text editors that displays text, especially source code, in different colors and fonts according to the category of terms.

learn more… | top users | synonyms

3
votes
1answer
639 views

Highlighting command line in vim

Is it possible to change the coloring for the command line in vim? I realize that may be somewhat ambiguously stated, so I have some things that should clear it up a little. This image illustrates ...
1
vote
2answers
67 views

$('<tag />') breaks my highlighting

But $('<tag></tag>') doesn't. The problem seems to come with the '/>' thing. This is happening in gedit, aptana and scribes.
0
votes
2answers
436 views

I can't get Scribes recognize my .html.erb files

That's it. Scribes just doesn't highlight or load templates for my Ruby on Rails templates. Any of you had better luck?
8
votes
4answers
5k views

How to I use Textmate color themes with vim?

I have a textmate color theme I really like this, But I am a hardcore vim user. Is there an easy (painless) way for me to use this color scheme with vim?
1
vote
1answer
658 views

Problem with making custom syntax highlighting in TextMate. Help!

I am trying to highlight a custom language in TextMate. However, the following definition does not highlight PHP insertions: { scopeName = 'source.serpent'; fileTypes = ( 'serpent' ); ...
2
votes
2answers
658 views

google chrome: any extensions for code syntax highlighting on some website?

any extensions for code syntax highlighting on some website?
1
vote
3answers
3k views

Syntax Highlighting in Terminal for Python?

Is there a way to turn on python syntax highlighting for Terminal.app on Mac OS X?
1
vote
8answers
248 views

Good text editor for OS X? [duplicate]

Possible Duplicates: Mac Text Editor (with function list) Text editor for Mac OS X I'm considering getting a Mac. I want to make sure I'll be able to get a good text editor for it. I'm ...
1
vote
1answer
1k views

How to make syntax highlighting for source code in Outlook 2007 email? [duplicate]

Possible Duplicates: Syntax highlighting in Microsoft Office Word How do I easily highlight the syntax of PHP code in Word? When I send email to someone with source snippet then how to ...
0
votes
1answer
880 views

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 ...
10
votes
4answers
7k views

Vim highlighting for specific file types (where to put syntax files, vim events, line to put into vimrc)

I have defined a file time jak.vim to offer custom highlighting when I take notes, however it is being applied to some files that do not have the .jak extension. Specifically a file named ...
1
vote
3answers
885 views

Custom Vim Highlighting (only works with specific file types)

I have this in my vimrc: "on will override defaults set. Enable will allow you to set defaults." syntax enable ... "attempting to highlight specific keywords so it is easy to see in code." "see ...
7
votes
6answers
4k views

Custom vim highlighting

I am editing some xml right now and I have been leaving myself some comments of things to come back to. Like this <!-- Question: bla bla --> I am editing with vim right now and I would like ...
0
votes
1answer
513 views

bash html highlighting?

I work in bash/xterm a lot, and do a lot of filtering of HTML. What I was wondering is if there is a simple way to highlight html to stdout? Something like: $ cat file.html | [some html highlighting ...
1
vote
5answers
505 views

Text editor supporting custom syntax with *functions*? [closed]

Most text editors support custom syntax highlighting and, sometimes, simple autocompletion. But, that's not enough for me :) I'm looking for editor with autocompletion/tooltips for functions, similar ...
2
votes
4answers
2k views

Terminal emulator with custom color palette

I'm trying to get more colors in the terminal emulator. Mostly to get prettier syntax highlighting. I've googled quite extensively for a terminal emulator that supports 24bit colordepth and that ...
44
votes
9answers
14k views

How to syntax highlight via Less

is there a way to syntax highlight a file I see in Less? actually I'm using this command to open an xml file (and sometimes a series of them) less htmleditors/htmleditors_config.xml or less ...
6
votes
5answers
4k views

Color coded Windows 7 Preview Pane?

Customizing what files you can preview is cool, but is there a way to create a custom preview extension to add syntax highlighting? I have many .h, .c, .cpp, .cs and .java files on my windows machine ...
7
votes
2answers
694 views

Slowness in Vim's bracket-matching with the default PHP syntax

I am experiencing a noticeable slowness in Vim's bracket-matching and -highlighting feature. When the cursor is placed over a parenthesis or bracket, there is a delay of about 300ms on the console's ...
3
votes
1answer
12k views

Notepad++ custom syntax highlighting setting - where to look for it?

Could you tell me where Notepad++ stores custom syntax highlighting settings?
24
votes
3answers
31k views

Syntax highlighting in Microsoft Office Word [duplicate]

Possible Duplicate: How do I easily highlight the syntax of PHP code in Word? I need to paste some code (ANSI C) in Microsoft Office Word, and I need some form of syntax highlighting ...
2
votes
4answers
2k views

Print code with syntax highlighting on a Mac

What could I use to print javascript, php or css code in colour? I've tried the following: Textmate Dreamweaver CS3 Firefox viewsource extension saving webpage as a pdf All of these result in ...
3
votes
3answers
481 views

Browser which supports syntax highlighting

Does anybody know of some browser or browser addon which supports syntax highlighting when opening a web file like http://gears.googlecode.com/svn/trunk/gears/geolocation/wifi_data_provider_win32.cc ...
126
votes
2answers
45k views

Assigning custom extensions to a language's syntax highlighting in Notepad++

In the current version of Notepad++ opening .sql files results in Notepad applying SQL syntax highlighting to it. I'd like Notepad++ to do the same for other extensions as well, is there some setting ...
21
votes
7answers
12k views

How do I easily highlight the syntax of PHP code in Word?

How do I easily write and syntax-highlighted PHP code (or any others programming language) in a Word 2009 document?
0
votes
1answer
537 views

haml and sass syntax highlight in smultron

Is there a way I could get syntax highlight to work for haml and sass in Smultron? I know there's a bundle to do this in Textmate, but I would like to have it in Smultron.
16
votes
5answers
7k views

Is there any *good* HTML-mode for emacs?

I love emacs, and I want to do my web-programming work in it, but I can't find a way to get it to edit HTML properly. I mean it's seriously awful. It will do HTML fine, but not PHP, javascript, ...
0
votes
2answers
999 views

To have syntax highlighting for codes in LaTex

I would like to know how you can syntax highlighting in a LaTex document for codes. An example of such document is this guide about a Pyhton library and Page 9. Perhaps, the document is not built by ...