syntax-highlighting

Highlighting Text Editor

I need a text editor (for programming pourposes) that supports the following features: Multi-Language syntax-highlighting Mult-plataform (UNIX/Windows) Graphical Interface Square Block of Text selection On windows, I use ConTEXT, but, it is not Mult-plataform (issue 2). On Linux I use Gedit, but, fails on issue 4. Is there any ed...

Integrate minted syntax highlighted code into non-english text?

I believe I am constructing a cannon to hit a mosquito \newcommand{\src}[1]{\selectlanguage{english}{\mint{sh}/ #1 /} \selectlanguage{greek}} everything inside the brackets of a \src{} command would not be shown in the same line as desired but in a verbatim environment. How can I manipulate this? Is it a feature that already exists? ...

Visual Studio custom CSS reference

In Visual Studio 2008 you are able to reference JavaScript files within other JavaScript files to expand syntax-highlighting across multiple files. Can the same be done with CSS? ...

How to get syntax highlighted code blocks?

I want to create some code blocks on my blog for coding snippets in various languages. What are some popular ways of doing this? ...

Syntax Highlighting in VIM after :bd

Hello. When I useVIMthe syntax highlighting works, except after I return to a buffer using:bdthe highlighting disappears. I can enable it again using:syn on.This problem occurs only for files without an extension. I remember I had to change some settings to get files without an extension to be highlighted in the first place, but I can't...

How can I get vim to syntax fold "CHARACTER(len=*) FUNCTION" subprograms in Fortran source?

I have vim (version 7.2) performing nice syntax folding with :set foldmethod=syntax :let fortran_fold=1 However, I find that the default vim syntax file for Fortran isn't recognizing character functions that include a length attribute. For example. CHARACTER FUNCTION function_name folds just fine, but CHARACTER(len=*) FUNCTION fu...

What is the best Java lib to XML Syntax highlighting?

have a APP in JavaSwing with a JTextArea where is displayed a XML result for user. What is the best library to make this XML code in HighLighted Syntax? Thanks, Celso ...

C# Syntax Highlighter that outputs HTML

I'm looking for a C# syntax highlighter that will take my C# code and turn it into standalone HTML that is neatly tagged. I have found some websites that offer this but only output HTML that is coupled with a CSS stylesheet. If anyone knows if what I'm describing exists please gimme a link! ...

Is there a way to determine if a a highlight has already been defined in Vim?

Hi, For a filetype plug-in, I would like to define and use a default custom highlight name, e.g.: hi CsvColumn guifg=black guibg=NavajoWhite ctermfg=black ctermbg=yellow However, I would like to allow users to define their own in preference to the default, so to do something like: if <somehow or other check if 'CsvColumn' has NOT be...

Eclipse Flash Builder 4: Syntax customization?

Using Flash Builder 4 (FB), is there a way to customize syntax highlighting for variable scope (member, parameter, local)? I've heard this is possible in other Eclipse plugins and wondering if it is possible with FB or if not is there an easy way to add it manually? Cheers, Jono ...

Is there a way to import / export Syntax Coloring in Flash Builder?

Is there a way to import / export Syntax Coloring in Flash Builder? If not how hard would it be to build? ...

Eclipse: "problems" tag does not work

At home, I use Eclipse on Linux, but here, at work, I'm on Windows. I suppose they're set up differently, or I set them up differently. But, at home, if I have code like: $variable = array()); I get something in the "problems" tab in Eclipse. Here, no. I've been digging through the options and I've googled the problem (but the words "...

adding Syntax highlighting to webpages (HTML/php)

Hey guys, I'm using http://softwaremaniacs.org/soft/highlight/en/ to Syntax highlight HTML. I've got a php loop pulling code from a wordpress. I'm using the pre / code tags in my code and the following loop to pull the code from wordpress. <?php while (have_posts()) : the_post(); ?> <p><i><?php the_date(); echo "<br />"; ?> </p></i> <...

How to make make syntax highlighting and keyboard behavior identical for VB.NET and C# in Visual Studio 2008?

C# Types have their own color (cyan by default). Enter completes the auto-complete suggestion. Visual Basic Types use Identifier color (black by default). Enter completes the auto-complete suggestion and adds a "()" and a newline. These and other seemingly minor differences are so enraging I can't get any work done. How do I make...

Syntax highlighting in ExtJS?

Does anybody know of an ExtJS editor (like HTMLEditor) with syntax highlighting or does someone has some experience integrating Bespin or other Scripts into it? ...

How to share bash/shell code snippets taken from command prompt with syntax coloring

Hi there. I'm looking for some way to share code snippets taken directly from command prompt. For example: plinjasa@pllzpc029 ~ $ ls plinjasa@pllzpc029 ~ $ mkdir maindir plinjasa@pllzpc029 ~ $ ls -l total 0 drwxr-xr-x+ 1 plinjasa Domain Users 0 2010-08-26 15:22 maindir plinjasa@pllzpc029 ~ $ cd maindir plinjasa@pllzpc029 ~/maindir ...

Line Numbers, Code Highlighting in TextView

I'm working on an 'IDE' for Android - it could be useful for editing short scripts / making quick adjustments to files. At the moment I'm just using a simple EditText, but I am wanting to add several features, for example Line Numbering down the left hand side of the EditText and Code Highlighting. Does anyone have any suggestions about...

Which IDE has syntax highlighting, code outline for several languages, collapsible code and FTP remote editing for web development?

I am in dire need of an IDE I'm comfortable with. The closest to perfect I've come in IDEs, and the one I'm currently using, is Aptana Web - which has everything I'd ever want from an IDE except perhaps the most important feature: collapsible code. The features I need in my editor is: Syntax highlighting for HTML, CSS, Javascript and ...

Dynamically Detect HTML5 in vim

This is related to http://stackoverflow.com/questions/3232518/how-to-update-vim-to-color-code-new-html-elements, but I want the syntax highlighter to only highlight the elements if it detects the html5 doctype at the first line of the file. Is there an easy way to do this? ...

call function to highlight code

Hello. Please see the the following http://valogiannis.com/recent/ .I have a webpage and when user click XHTML code a div with id result loads the contents of a webpage (in this case codes/advocasys.html). In fact what I wish to do is to highlight the html code. I have link the necessary css/js. I use the SyntaxHighlighter 3.0.83. This ...