| <<O>> Difference Topic BeautifierPlugin (r1.10 - 25 Jul 2003 - LingLo?) |
BeautifierPluginThis plugin allows you to have code fragments automatically formatted and highlighted. It depends on the Beautifier library written by Mike Jewell. | |||||||||||||||||||||||||
| Line: 12 to 12 | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||
| Added: | |||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||
| |||||||||||||||||||||||||
| Line: 63 to 64 | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
| Added: | |||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||
| |||||||||||||||||||||||||
| Line: 112 to 114 | |||||||||||||||||||||||||
Bugs
| |||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||
| < < |
-- LeafGarland? 31 Jul 2002 | ||||||||||||||||||||||||
| > > |
-- TWiki:Main/LeafGarland 31 Jul 2002 | ||||||||||||||||||||||||
History
| |||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||
| < < |
| ||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||
Plugin Info
| |||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||
| < < |
| ||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||
| |||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||
| < < |
| ||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||
| |||||||||||||||||||||||||
| <<O>> Difference Topic BeautifierPlugin (r1.9 - 28 Apr 2003 - LingLo?) |
BeautifierPluginThis plugin allows you to have code fragments automatically formatted and highlighted. It depends on the Beautifier library written by Mike Jewell. | |||||||||
| Line: 14 to 14 | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| |||||||||
| Added: | |||||||||
| > > |
| ||||||||
| |||||||||
| Added: | |||||||||
| > > |
| ||||||||
| Additional languages can be added since the Beautifier library is flexible and can support a wide range of language families. Other languages can be added with relative easy by downloading the full PHP dist from http://www.beautifier.org and converting the relevant language file from PHP to Perl. | |||||||||
| Line: 59 to 61 | |||||||||
| |||||||||
| Changed: | |||||||||
| < < |
| ||||||||
| > > |
| ||||||||
| |||||||||
| Added: | |||||||||
| > > |
| ||||||||
| |||||||||
| Added: | |||||||||
| > > |
| ||||||||
| |||||||||
| Line: 123 to 127 | |||||||||
Plugin Info
| |||||||||
| Changed: | |||||||||
| < < |
| ||||||||
| > > |
| ||||||||
| |||||||||
| <<O>> Difference Topic BeautifierPlugin (r1.8 - 11 Jan 2003 - LingLo?) |
BeautifierPluginThis plugin allows you to have code fragments automatically formatted and highlighted. It depends on the Beautifier library written by Mike Jewell. | |||||||||||||||||
| Line: 10 to 10 | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||
| Changed: | |||||||||||||||||
| < < |
| ||||||||||||||||
| > > |
| ||||||||||||||||
| Additional languages can be added since the Beautifier library is flexible and can support a wide range of language families. Other languages can be added with relative easy by downloading the full PHP dist from http://www.beautifier.org and converting the relevant language file from PHP to Perl. | |||||||||||||||||
| Line: 57 to 59 | |||||||||||||||||
| |||||||||||||||||
| Added: | |||||||||||||||||
| > > |
| ||||||||||||||||
| |||||||||||||||||
| Added: | |||||||||||||||||
| > > |
| ||||||||||||||||
| |||||||||||||||||
| Line: 81 to 85 | |||||||||||||||||
| } | |||||||||||||||||
| Deleted: | |||||||||||||||||
| < < |
|||||||||||||||||
| |||||||||||||||||
| Line: 104 to 107 | |||||||||||||||||
Bugs | |||||||||||||||||
| Changed: | |||||||||||||||||
| < < |
|||||||||||||||||
| > > |
|||||||||||||||||
History | |||||||||||||||||
| Line: 116 to 120 | |||||||||||||||||
| |||||||||||||||||
| Added: | |||||||||||||||||
| > > |
Plugin Info
| ||||||||||||||||
| <<O>> Difference Topic BeautifierPlugin (r1.7 - 28 Dec 2002 - LingLo?) |
BeautifierPluginThis plugin allows you to have code fragments automatically formatted and highlighted. It depends on the Beautifier library written by Mike Jewell. | ||||||||||
| Line: 109 to 109 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
History
| ||||||||||
| Added: | ||||||||||
| > > |
| |||||||||
| ||||||||||
| <<O>> Difference Topic BeautifierPlugin (r1.6 - 20 Dec 2002 - LingLo?) |
BeautifierPluginThis plugin allows you to have code fragments automatically formatted and highlighted. It depends on the Beautifier library written by Mike Jewell.Syntax Rules | |||||||||||||||
| Changed: | |||||||||||||||
| < < |
| ||||||||||||||
| > > |
| ||||||||||||||
| |||||||||||||||
| Changed: | |||||||||||||||
| < < |
| ||||||||||||||
| > > |
| ||||||||||||||
| Changed: | |||||||||||||||
| < < |
Additional languages can be added since the Beautifier library is flexible and can support a wide range of language families. Other languages can be added with relative easy by downloading the full PHP dist from beautifier.org and converting the relevant language file from PHP to Perl. | ||||||||||||||
| > > |
Additional languages can be added since the Beautifier library is flexible and can support a wide range of language families. Other languages can be added with relative easy by downloading the full PHP dist from http://www.beautifier.org and converting the relevant language file from PHP to Perl. | ||||||||||||||
Examples | |||||||||||||||
| Changed: | |||||||||||||||
| < < |
%CODE_CPP{ | ||||||||||||||
| > > |
%CODE{"cpp"}% | ||||||||||||||
| void foo() { print("Do stuff.\n"); } | |||||||||||||||
| Changed: | |||||||||||||||
| < < |
}% | ||||||||||||||
| > > |
%ENDCODE% | ||||||||||||||
| Line: 59 to 62 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
| Changed: | |||||||||||||||
| < < |
| ||||||||||||||
| > > |
| ||||||||||||||
| |||||||||||||||
| Line: 81 to 84 | |||||||||||||||
| |||||||||||||||
| Changed: | |||||||||||||||
| < < |
%CODE_CPP{ | ||||||||||||||
| > > |
%CODE{"cpp"}% | ||||||||||||||
|
#include | |||||||||||||||
| Line: 96 to 99 | |||||||||||||||
| entity->Trigger(this, this->stepSize); } } | |||||||||||||||
| Changed: | |||||||||||||||
| < < |
}% | ||||||||||||||
| > > |
%ENDCODE% | ||||||||||||||
Bugs | |||||||||||||||
| Line: 106 to 109 | |||||||||||||||
History
| |||||||||||||||
| Added: | |||||||||||||||
| > > |
| ||||||||||||||
| |||||||||||||||
| Deleted: | |||||||||||||||
| < < |
|||||||||||||||
| <<O>> Difference Topic BeautifierPlugin (r1.5 - 18 Dec 2002 - LingLo?) |
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||
| < < |
BeautifierPlugin | ||||||||||||||||||||||||||||||||||||||||||||
| > > |
BeautifierPlugin | ||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||
| < < |
This plugin allows you to have code fragments automatically formatted and highlighted. It depends on the Beautifier library written by MikeJewell?. Code fragments are surrounded by the following: | ||||||||||||||||||||||||||||||||||||||||||||
| > > |
This plugin allows you to have code fragments automatically formatted and highlighted. It depends on the Beautifier library written by Mike Jewell.
Syntax Rules
Additional languages can be added since the Beautifier library is flexible and can support a wide range of language families. Other languages can be added with relative easy by downloading the full PHP dist from beautifier.org and converting the relevant language file from PHP to Perl. Examples | ||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||
| Line: 13 to 29 | |||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||
| < < |
Three languages are supported in this edition of the plugin, using the following syntax: | ||||||||||||||||||||||||||||||||||||||||||||
| > > |
BeautifierPlugin Global SettingsPlugin settings are stored as preferences variables. To reference a plugin setting write%<plugin>_<setting>%, i.e. %INTERWIKIPLUGIN_SHORTDESCRIPTION%
Plugin Installation InstructionsNote: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.
| ||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||
| < < |
| ||||||||||||||||||||||||||||||||||||||||||||
| > > |
div.fragment{
background : #FFFFCC;
border : 1px solid #CCCCCC;
margin-left : 2em;
margin-right : 2em;
padding : 4px;
}
| ||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||
| < < |
Additional languages can be added since the Beautifier library is flexible and can support a wide range of language families. | ||||||||||||||||||||||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||
| < < |
|||||||||||||||||||||||||||||||||||||||||||||
| > > |
%CODE_CPP{
#include | ||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||
| < < |
Global Settings | ||||||||||||||||||||||||||||||||||||||||||||
| > > |
/** @brief Advance the simulation by one timeslice. */ void nWorld::StepSim() { // Iterate simulation loop for (node = entityList.GetHead(); node = NULL; node = node->GetSucc()) { entity = (nEntity*)node->GetPtr(); entity->Trigger(this, this->stepSize); } } }% | ||||||||||||||||||||||||||||||||||||||||||||
| Deleted: | |||||||||||||||||||||||||||||||||||||||||||||
| < < |
| ||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||
| < < |
-- LingLo? - 28 Jul 2002 | ||||||||||||||||||||||||||||||||||||||||||||
| > > |
Bugs | ||||||||||||||||||||||||||||||||||||||||||||
History | |||||||||||||||||||||||||||||||||||||||||||||
| <<O>> Difference Topic BeautifierPlugin (r1.4 - 16 Oct 2002 - LeafGarland?) |
BeautifierPluginThis plugin allows you to have code fragments automatically formatted and highlighted. It depends on the Beautifier library written by MikeJewell?. Code fragments are surrounded by the following: | ||||||||
| Line: 36 to 36 | ||||||||
|---|---|---|---|---|---|---|---|---|
History
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||
| <<O>> Difference Topic BeautifierPlugin (r1.3 - 31 Jul 2002 - LeafGarland?) |
BeautifierPluginThis plugin allows you to have code fragments automatically formatted and highlighted. It depends on the Beautifier library written by MikeJewell?. Code fragments are surrounded by the following: | |||||||||||||
| Line: 22 to 22 | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||
| Changed: | |||||||||||||
| < < |
Additional can be added since the Beautifier library is flexible and can support a wide range of language families. | ||||||||||||
| > > |
Additional languages can be added since the Beautifier library is flexible and can support a wide range of language families. | ||||||||||||
Global Settings | |||||||||||||
| Line: 30 to 32 | |||||||||||||
| |||||||||||||
| Added: | |||||||||||||
| > > |
History
| ||||||||||||
| <<O>> Difference Topic BeautifierPlugin (r1.2 - 30 Jul 2002 - LingLo?) |
BeautifierPlugin | |||||||||
| Added: | |||||||||
| > > |
This plugin allows you to have code fragments automatically formatted and highlighted. It depends on the Beautifier library written by MikeJewell?. Code fragments are surrounded by the following:
Three languages are supported in this edition of the plugin, using the following syntax:
Additional can be added since the Beautifier library is flexible and can support a wide range of language families. Global Settings
| ||||||||
| -- LingLo? - 28 Jul 2002 | |||||||||
| <<O>> Difference Topic BeautifierPlugin (r1.1 - 29 Jul 2002 - LingLo?) |
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Added: | ||||||||
| > > |
BeautifierPlugin-- LingLo? - 28 Jul 2002 | |||||||
| Topic BeautifierPlugin . { View | Diffs | r1.10 | > | r1.9 | > | r1.8 | More } |
|
Revision r1.1 - 29 Jul 2002 - 03:00 - LingLo? Revision r1.10 - 25 Jul 2003 - 23:51 - LingLo? |
Copyright © 1999-2008 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding VRJ Wiki? Send feedback |