Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Rapid PHP 2018 15.5
IBDAC 6.4
Online Course Booking Script 1.3.3
Database Workbench Pro 5.6.4
Job Portal Script 1.3.2
The C# PDF Library 5.2
PostgreSQL Data Access Components 6.0
Virtual Data Access Components 11.0
HTMLPad 2018 15.5
WeBuilder 2018 15.5
SentiMask SDK Trial 2.0.0
Track Order For Magento 2 1.0.0
Calendar 365 For Dynamics CRM 4.0
Scimbo 1.2
Odoo Furnito Theme 1.0
Top Code
PostgreSQL Data Access Components 4.4
Database Workbench Pro 5.6.4
Availability Booking Calendar PHP 1.0
Online Course Booking Script 3.04
ATN Site Builder 3.0
ATN Resume Finder 2.0
PHP Review Script 1.0
IBDAC 6.4
Invoice Manager by PHPJabbers 3.0
The C# PDF Library 1.0
ICPennyBid Penny Auction Script 4.0
Azizi search engine script PHP 4.1.10
HTMLPad 2018 15.5
Classified Ad Lister 1.0
Rapid PHP 2018 15.5
Top Rated
VisualNEO Web 2018.12.15
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
Vim Color Improved 0.4.0
File ID: 94512






Vim Color Improved 0.4.0
Download Vim Color Improved 0.4.0http://wordpress.orgReport Error Link
License: Freeware
File Size: 10.0 KB
Downloads: 3
Submit Rating:
Vim Color Improved 0.4.0 Description
Description: Vim Color Improved is a syntax highlighting plugin that allows you to include code from local or reomte files in your WordPress posts.

It uses the same tag and parameter parsing as the popular CodeViewer 1.4, and should be compatible with it's options. In addition, any of the optional parameters from codeviewer 1.4 can be set as defaults, which can then be overriden by parameters in the tag. Vim Color Improved outputs code in &ltpre&gt formatted blocks, rather than ordered lists, which can be difficult to copy and paste, and can syntax highlight any language which vim supports.

Vim Color Improved contains a sophisticated caching system that stores the generated html to the filesystem. This greatly reduces the time required to display the code. In addition, it checks the modified time on both local and remote files to ensure that cached information is up-to-date. If it is unable to access the source code, and there is a cached version available, it will display the cached version with a notice.

Using Vim Color Improved

(These instructions basically parallel those for CodeViewer 1.4)

Vim Color Improved searches your post for a custom tag named [viewcode ] [/viewcode], that tells the server to look at an external file and parse it into syntax higihlighted html. It can be placed anywhere a block-level tag is valid but the tag must be properly closed.

Note that there should not be a white space character after viewcode and before ].

*Parameters [viewcode] src="URI or path to local file" link=yes|no lines= scroll=yes|no scrollheight=valid css height showsyntax=yes|no cache=yes|no[/viewcode]

Default values for all of these parameters, other than src can be set in the options page.

The src attribute is required. src - string - The URI or path to a local file of the code to display. Note that relative paths are in relation to the default_path set in the options page. This default value is set to the directory your blog is installed in.

The link attribute is optional. link - string - Should the link to the code be displayed (yes), or not be displayed (no). If the link attribute is left out of the tag completely, the value defaults to no.

The lines attribute is optional. lines - string - Which linenumbers shall be visible in the output. Use , and - to separate linenumbers. Example: lines=1,3-5,10-12,16-18,22.

The scroll attribute is optional. scroll - string - Should the scrollbar be displayed (yes), or not be displayed (no).

The scrollheight attribute is optional. height - string - Height of the scrollbar. Any valid css height declaration can be used. Example: 100px or 50em

The showsyntax attribute is optional. showsyntax - string - Should the syntax used of [viewcode ] be displayed (yes), or not be displayed (no).

*Additional Parameters

These are new parameters that can be used by Vim Color Improved.

The cache attribute is optional. cache - string - Cache this code block (yes) or not (no).

The html_use_css attribute is optional. html_use_css - string - This is a parameter which is passed to vim, and affects the html that is output. Use css (yes) or not (no). If you chose to not use css, the code will be output in &ltspan&gt tags with a style="color:#xxxxxx" attribute, rather than a class.

All attribute values can optionally be surrounded with double quotes (") or single quotes(').

# Installation :

1. Download vim-color-improved-x.x.x.zip.
2. Unzip the archive and copy the entire vim-color-improved folder to the wp-content/plugins directory
3. Activate the plugin from the Plugins page in your WordPress administration console.
4. Vim Color Improved also provides an options page for you to set the default options. While the plugin will work without any intervention, you may wish to review these at (Options->Vim Color Improved. You may also see a list of cached files and clear the cache there.

License: Freeware

Related: attribute, String, optional, Color, displayed, improved, Options, viewcode, cached, parameters, Syntax, Local, Cache, nothe, Height, output, Display

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 3



More Similar Code

Dokumentasi Vim (Vi-Improved) dalam Bahasa Indonesia. Ditujukan untuk membantu orang-orang Indonesia mempelajari Vim. Sehingga tidak ada lagi alasan bahwa bahasa merupakan penghalang untuk belajar.



TStatusBarPro is an improved version of TStatusBar with some particular features. In addition, each panel in this status bar can have its own color, image, hint, font, indent, popup menu, and click and double click events.



The following program was written to understand how two different color systems related to each other, RGB and HSV. The recipe could be better written and extended further to support other color systems in addition to the two it already uses, but...



Functions for converting bwtween RGB and HSV color space.



This example shows you how to easily add color to your edit, listbox, combobox, static, and radio/check box controls.

This code also shows use of the ChooseColor common dialog. As always with PCPP there is NO MFC or resource forms, this...



Window Color Fading code is an example of how to put a color gradient in the background of a window by painting the window's DC (device context).



Color Changer enables you to present the color variations of your product in a simple way.

Features:

- XML interface - easy to embed in cms / ecommerce solution
- Customizable using the provided .fla file
-...



Gchats javascript color picker makes it easy for you to let your users select colors from a DHTML layer with single click. It's best choice to have multiple color selectors in a page.

Features:
- Easily attach to your html form...



This advanced color picker is based on Yahoo's UI library, more specifically, the slider widget.

This script helps you to integrate the color picker with forms on your page, so clicking on specific form fields causes the selected color...



Color Picker Widget is an advanced color picker script that can be easily integrated into any form field(s).

Based on YUI's Color Picker, it extends it with the following user friendly features:
- Ability to display the Color...

User Review for Vim Color Improved
- required fields
     

Please enter text on the image