Initial: static site migrated from S3
This commit is contained in:
61
documentation/better-listview/data/lang-vb.js
Normal file
61
documentation/better-listview/data/lang-vb.js
Normal file
@@ -0,0 +1,61 @@
|
||||
// Copyright (C) 2009 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @fileoverview
|
||||
* Registers a language handler for various flavors of basic.
|
||||
*
|
||||
*
|
||||
* To use, include prettify.js and this file in your HTML page.
|
||||
* Then put your code in an HTML tag like
|
||||
* <pre class="prettyprint lang-vb"></pre>
|
||||
*
|
||||
*
|
||||
* http://msdn.microsoft.com/en-us/library/aa711638(VS.71).aspx defines the
|
||||
* visual basic grammar lexical grammar.
|
||||
*
|
||||
* @author mikesamuel@gmail.com
|
||||
*/
|
||||
|
||||
PR['registerLangHandler'](
|
||||
PR['createSimpleLexer'](
|
||||
[
|
||||
// Whitespace
|
||||
[PR['PR_PLAIN'], /^[\t\n\r \xA0\u2028\u2029]+/, null, '\t\n\r \xA0\u2028\u2029'],
|
||||
// A double quoted string with quotes escaped by doubling them.
|
||||
// A single character can be suffixed with C.
|
||||
[PR['PR_STRING'], /^(?:[\"\u201C\u201D](?:[^\"\u201C\u201D]|[\"\u201C\u201D]{2})(?:[\"\u201C\u201D]c|$)|[\"\u201C\u201D](?:[^\"\u201C\u201D]|[\"\u201C\u201D]{2})*(?:[\"\u201C\u201D]|$))/i, null,
|
||||
'"\u201C\u201D'],
|
||||
// A comment starts with a single quote and runs until the end of the
|
||||
// line.
|
||||
[PR['PR_COMMENT'], /^[\'\u2018\u2019][^\r\n\u2028\u2029]*/, null, '\'\u2018\u2019']
|
||||
],
|
||||
[
|
||||
[PR['PR_KEYWORD'], /^(?:AddHandler|AddressOf|Alias|And|AndAlso|Ansi|As|Assembly|Auto|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|CBool|CByte|CChar|CDate|CDbl|CDec|Char|CInt|Class|CLng|CObj|Const|CShort|CSng|CStr|CType|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else|ElseIf|End|EndIf|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get|GetType|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|Let|Lib|Like|Long|Loop|Me|Mod|Module|MustInherit|MustOverride|MyBase|MyClass|Namespace|New|Next|Not|NotInheritable|NotOverridable|Object|On|Option|Optional|Or|OrElse|Overloads|Overridable|Overrides|ParamArray|Preserve|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|Select|Set|Shadows|Shared|Short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TypeOf|Unicode|Until|Variant|Wend|When|While|With|WithEvents|WriteOnly|Xor|EndIf|GoSub|Let|Variant|Wend)\b/i, null],
|
||||
// A second comment form
|
||||
[PR['PR_COMMENT'], /^REM[^\r\n\u2028\u2029]*/i],
|
||||
// A boolean, numeric, or date literal.
|
||||
[PR['PR_LITERAL'],
|
||||
/^(?:True\b|False\b|Nothing\b|\d+(?:E[+\-]?\d+[FRD]?|[FRDSIL])?|(?:&H[0-9A-F]+|&O[0-7]+)[SIL]?|\d*\.\d+(?:E[+\-]?\d+)?[FRD]?|#\s+(?:\d+[\-\/]\d+[\-\/]\d+(?:\s+\d+:\d+(?::\d+)?(\s*(?:AM|PM))?)?|\d+:\d+(?::\d+)?(\s*(?:AM|PM))?)\s+#)/i],
|
||||
// An identifier?
|
||||
[PR['PR_PLAIN'], /^(?:(?:[a-z]|_\w)\w*|\[(?:[a-z]|_\w)\w*\])/i],
|
||||
// A run of punctuation
|
||||
[PR['PR_PUNCTUATION'],
|
||||
/^[^\w\t\n\r \"\'\[\]\xA0\u2018\u2019\u201C\u201D\u2028\u2029]+/],
|
||||
// Square brackets
|
||||
[PR['PR_PUNCTUATION'], /^(?:\[|\])/]
|
||||
]),
|
||||
['vb', 'vbs']);
|
||||
52
documentation/better-listview/data/prettify.css
Normal file
52
documentation/better-listview/data/prettify.css
Normal file
@@ -0,0 +1,52 @@
|
||||
/* Pretty printing styles. Used with prettify.js. */
|
||||
|
||||
/* SPAN elements with the classes below are added by prettyprint. */
|
||||
.pln { color: #000 } /* plain text */
|
||||
|
||||
@media screen {
|
||||
.str { color: #080 } /* string content */
|
||||
.kwd { color: #008 } /* a keyword */
|
||||
.com { color: #800 } /* a comment */
|
||||
.typ { color: #606 } /* a type name */
|
||||
.lit { color: #066 } /* a literal value */
|
||||
/* punctuation, lisp open bracket, lisp close bracket */
|
||||
.pun, .opn, .clo { color: #660 }
|
||||
.tag { color: #008 } /* a markup tag name */
|
||||
.atn { color: #606 } /* a markup attribute name */
|
||||
.atv { color: #080 } /* a markup attribute value */
|
||||
.dec, .var { color: #606 } /* a declaration; a variable name */
|
||||
.fun { color: red } /* a function name */
|
||||
}
|
||||
|
||||
/* Use higher contrast and text-weight for printable form. */
|
||||
@media print, projection {
|
||||
.str { color: #060 }
|
||||
.kwd { color: #006; font-weight: bold }
|
||||
.com { color: #600; font-style: italic }
|
||||
.typ { color: #404; font-weight: bold }
|
||||
.lit { color: #044 }
|
||||
.pun, .opn, .clo { color: #440 }
|
||||
.tag { color: #006; font-weight: bold }
|
||||
.atn { color: #404 }
|
||||
.atv { color: #060 }
|
||||
}
|
||||
|
||||
/* Put a border around prettyprinted code snippets. */
|
||||
pre.prettyprint { padding: 2px; border: 1px solid #888 }
|
||||
|
||||
/* Specify class=linenums on a pre to get line numbering */
|
||||
ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */
|
||||
li.L0,
|
||||
li.L1,
|
||||
li.L2,
|
||||
li.L3,
|
||||
li.L5,
|
||||
li.L6,
|
||||
li.L7,
|
||||
li.L8 { list-style-type: none }
|
||||
/* Alternate shading for lines */
|
||||
li.L1,
|
||||
li.L3,
|
||||
li.L5,
|
||||
li.L7,
|
||||
li.L9 { background: #eee }
|
||||
1477
documentation/better-listview/data/prettify.js
Normal file
1477
documentation/better-listview/data/prettify.js
Normal file
File diff suppressed because it is too large
Load Diff
241
documentation/better-listview/data/style.css
Normal file
241
documentation/better-listview/data/style.css
Normal file
@@ -0,0 +1,241 @@
|
||||
h1
|
||||
{
|
||||
text-align: center;
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
font-size: xx-large;
|
||||
padding-bottom: 1em;
|
||||
padding-top: 1em;
|
||||
}
|
||||
|
||||
h2
|
||||
{
|
||||
text-align: center;
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
font-size: large;
|
||||
padding-bottom: 1em;
|
||||
padding-top: 1em;
|
||||
}
|
||||
|
||||
h3
|
||||
{
|
||||
text-align: left;
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
font-size: medium;
|
||||
padding-bottom: 1em;
|
||||
padding-top: 1em;
|
||||
}
|
||||
|
||||
p
|
||||
{
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
}
|
||||
|
||||
p.toc-entry
|
||||
{
|
||||
font-weight:bold;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
p.table-name
|
||||
{
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
p.images
|
||||
{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
p.note
|
||||
{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
table
|
||||
{
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
}
|
||||
|
||||
.toc-description
|
||||
{
|
||||
color: #444444;
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
font-size: small;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.code
|
||||
{
|
||||
color: #006600;
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
font-size: medium;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
border-bottom: 1px dotted #0000ff;
|
||||
color: blue;
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
text-decoration: none;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
ul
|
||||
{
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
}
|
||||
|
||||
pre
|
||||
{
|
||||
background-color: #fafafa;
|
||||
border: 1px dotted #c0c0c0;
|
||||
color: black;
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
line-height: 1.1em;
|
||||
margin-left: 2em;
|
||||
margin-right: 2em;
|
||||
padding: 0.25em;
|
||||
text-align: left;
|
||||
text-indent: 0;
|
||||
|
||||
white-space: pre-wrap; /* css-3 */
|
||||
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
|
||||
white-space: -pre-wrap; /* Opera 4-6 */
|
||||
white-space: -o-pre-wrap; /* Opera 7 */
|
||||
word-wrap: break-word; /* Internet Explorer 5.5+ */
|
||||
}
|
||||
|
||||
img
|
||||
{
|
||||
border: 1px solid #c0c0c0;
|
||||
padding: 4px;
|
||||
margin: 4px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
img.small
|
||||
{
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
table.navigation
|
||||
{
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
font-size: medium;
|
||||
font-style: italic;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table.footer
|
||||
{
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
font-size: small;
|
||||
font-style: italic;
|
||||
padding-top: 2em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table.comparison
|
||||
{
|
||||
border-collapse: separate;
|
||||
border-spacing: 1px;
|
||||
border-style: solid;
|
||||
border-width: 0px;
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
font-size: small;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
td.navigation-previous
|
||||
{
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
td.navigation-index
|
||||
{
|
||||
text-align: center;
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
td.navigation-next
|
||||
{
|
||||
text-align: right;
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
td.footer-title
|
||||
{
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
td.footer-copyright
|
||||
{
|
||||
text-align: right;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
td.comparison-line-even
|
||||
{
|
||||
background-color: #F0F0F0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
td.comparison-line-odd
|
||||
{
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
td.comparison-yes
|
||||
{
|
||||
background-color: #CCFFCC;
|
||||
color: #008000;
|
||||
text-align: center;
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
td.comparison-no
|
||||
{
|
||||
background-color: #FFCCCC;
|
||||
color: #800000;
|
||||
text-align: center;
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
td.comparison-other
|
||||
{
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
hr.common
|
||||
{
|
||||
background-color: gray;
|
||||
border-width: 0;
|
||||
color: gray;
|
||||
height: 2px;
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
.heading-table
|
||||
{
|
||||
width: 100%;
|
||||
border: none;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
.heading-table .heading
|
||||
{
|
||||
width: 1%;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
hr.heading-line
|
||||
{
|
||||
background-color: #c0c0c0;
|
||||
border: none;
|
||||
color: #c0c0c0;
|
||||
height: 1px;
|
||||
margin-left: 16px;
|
||||
padding: 0;
|
||||
}
|
||||
Reference in New Issue
Block a user