OpenLink Software

Usage stats on Highlight debug blocks in programs

 Permalink

an Entity in Data Space: 134.155.108.49:8890

and you would like to highlight these segments in a different colour (so that you can skip them visually), add the following code in your .vimrc (colouring follows that of comments) syn region MySkip contained start="^\s*#\s*\(if\>\|ifdef\>\|ifndef\>\)" skip="\\$" end="^\s*#\s*endif\>" contains=MySkip let g:CommentDefines = "" hi link MyCommentOut2 MyCommentOut hi link MySkip MyCommentOut hi link MyCommentOut Comment map ,a :call AddCommentDefine() map ,x :call ClearCommentDefine() function! AddCommentDefine() let g:CommentDefines = "\\(" . expand("") . "\\)" syn clear MyCommentOut syn clear MyCommentOut2 exe 'syn region MyCommentOut start="^\s*#\s*ifdef\s\+' . g:CommentDefines . '\>" end=".\|$" contains=MyCommentOut2' exe 'syn region MyCommentOut2 contained start="' . g:CommentDefine

Graph IRICount
http://dbkwik.webdatacommons.org17
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] This material is Open Knowledge Creative Commons License Valid XHTML + RDFa
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Copyright © 2009-2012 OpenLink Software