nobody at rubyforge.org
2006-Oct-17 19:21 UTC
[Wxruby-development] [682] trunk/wxruby2/doc/textile/htmlwindow.txtl: Fix some little formatting errors that were causing the page to be unreadable
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type"
content="text/html; charset=utf-8" /><style
type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:'':'';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family:
verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;
font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding:
6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid;
padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family:
verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch
.binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[682] trunk/wxruby2/doc/textile/htmlwindow.txtl: Fix some little
formatting errors that were causing the page to be unreadable</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>682</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt> <dd>2006-10-17 15:21:03 -0400 (Tue, 17 Oct
2006)</dd>
</dl>
<h3>Log Message</h3>
<pre>Fix some little formatting errors that were causing the page to be
unreadable</pre>
<h3>Modified Paths</h3>
<ul>
<li><a
href="#trunkwxruby2doctextilehtmlwindowtxtl">trunk/wxruby2/doc/textile/htmlwindow.txtl</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwxruby2doctextilehtmlwindowtxtl"></a>
<div class="modfile"><h4>Modified:
trunk/wxruby2/doc/textile/htmlwindow.txtl (681 => 682)</h4>
<pre class="diff"><span>
<span class="info">---
trunk/wxruby2/doc/textile/htmlwindow.txtl        2006-10-17
18:47:27 UTC (rev 681)
+++
trunk/wxruby2/doc/textile/htmlwindow.txtl        2006-10-17
19:21:03 UTC (rev 682)
</span><span class="lines">@@ -9,9 +9,9 @@
</span><span class="cx"> of the window is constant - given
in the constructor - and virtual height
</span><span class="cx"> is changed dynamically depending
on page size.
</span><span class="cx"> Once the window is created you
can set its content by calling
</span><del>-"set_page(text)":#HtmlWindow_setpage(text),
-"load_page(filename)":#HtmlWindow_loadpage(filename) or
-"load_file":#HtmlWindow_loadfile.
</del><ins>+"set_page(html_code)":#HtmlWindow_setpage,
+"load_page(location)":#HtmlWindow_loadpage or
+"load_file(file_name)":#HtmlWindow_loadfile.
</ins><span class="cx">
</span><span class="cx"> h2. Note
</span><span class="cx">
</span><span class="lines">@@ -251,7 +251,7 @@
</span><span class="cx">
</span><span class="cx"> |*HTML_OPEN*|Open the URL.|
</span><span class="cx"> |*HTML_BLOCK*|Deny access to the
URL, "HtmlParser#open_url":htmlparser.html#HtmlParser_openurl will
return NULL.|
</span><del>-|*HTML_REDIRECT*|Don''t open _url_, redirect to
anotherURL. OnOpeningURL must fill _*redirect_ with the new URL. OnOpeningURL
willbe called again on returned URL.|
</del><ins>+|*HTML_REDIRECT*|Don''t open _url_, redirect to
anotherURL. OnOpeningURL must fill _redirect_ with the new URL. OnOpeningURL
willbe called again on returned URL.|
</ins><span class="cx">
</span><span class="cx">
</span><span class="cx"> h3(#HtmlWindow_onsettitle).
HtmlWindow#on_set_title
</span><span class="lines">@@ -324,15 +324,14 @@
</span><span class="cx">
</span><span class="cx"> h3(#HtmlWindow_setborders).
HtmlWindow#set_borders
</span><span class="cx">
</span><del>- *set_borders*(%(arg-type)Integer% b)
</del><ins>+ *set_borders*(%(arg-type)Integer% border_width)
</ins><span class="cx">
</span><del>-This function sets the space between border of window
and HTML contents. See image:
</del><ins>+This function sets the space between border of window
and HTML
+contents.
</ins><span class="cx">
</span><del>-border.bmp
-
</del><span class="cx"> h4. Parameters
</span><span class="cx">
</span><del>-* _b_ indentation from borders in pixels
</del><ins>+* _border_width_ indentation from borders in pixels
</ins><span class="cx">
</span><span class="cx"> h3(#HtmlWindow_setfonts).
HtmlWindow#set_fonts
</span><span class="cx">
</span><span class="lines">@@ -349,8 +348,7 @@
</span><span class="cx"> "Times New Roman" under
Windows.
</span><span class="cx"> * _fixed_face_ The same thing for
fixed face ( <TT>..</TT> )
</span><span class="cx"> * _sizes_ This is an array of 7
items of _int_ type.
</span><del>-The values represent size of font with HTML size from
-2 to +4
-( <FONT SIZE=-2> to <FONT SIZE=+4> ). Default sizes are used if
_sizes_
</del><ins>+The values represent size of font with HTML size from -2
to +4 (equivalent to the SIZE attribute value of the HTML FONT tag). Default
sizes are used if _sizes_
</ins><span class="cx"> is NULL.
</span><span class="cx">
</span><span class="cx"> h4. Defaults
</span><span class="lines">@@ -363,19 +361,15 @@
</span><span class="cx">
</span><span class="cx"> Boolean
*set_page*(%(arg-type)String% source)
</span><span class="cx">
</span><del>-Sets HTML page and display it. This won''t
*load* the page!!
-It will display the _source_. See example:
</del><ins>+Sets HTML page and display it. This doesn''t
*load* the page!
+It parses and displays the HTML in the string _source_.
</ins><span class="cx">
</span><del>-
- htmlwin -> SetPage("<html><body>Hello,
world!</body></html>");
-
-
</del><span class="cx"> If you want to load a document
from some location use
</span><span class="cx">
"load_page":#HtmlWindow_loadpage instead.
</span><span class="cx">
</span><span class="cx"> h4. Parameters
</span><span class="cx">
</span><del>-* _source_ The HTML document source to be displayed.
</del><ins>+* _source_ The HTML source to be displayed as a document
</ins><span class="cx">
</span><span class="cx"> h4. Return value
</span><span class="cx">
</span><span class="lines">@@ -386,8 +380,8 @@
</span><span class="cx">
*set_related_frame*(%(arg-type)Frame% frame, %(arg-type)String% format)
</span><span class="cx">
</span><span class="cx"> Sets the frame in which page
title will be displayed. _format_ is format of
</span><del>-frame title, e.g. "HtmlHelp : \%s". It must
contain exactly one \%s. This
-\%s is substituted with HTML page title.
</del><ins>+frame title, e.g. "HtmlHelp : @%s@". It must
contain exactly one @%s@. This
+@%s@ is substituted with HTML page title.
</ins><span class="cx">
</span><span class="cx">
h3(#HtmlWindow_setrelatedstatusbar). HtmlWindow#set_related_status_bar
</span><span class="cx">
</span></span></pre>
</div>
</div>
</body>
</html>
Maybe Matching Threads
- [866] trunk/wxruby2/doc/textile/htmlwindow.txtl: Added missing methods section
- [724] trunk/wxruby2: Initial commit of HtmlWindow functionality
- [ wxruby-Bugs-18812 ] Wx::HtmlWindow#set_page()
- [1138] trunk/wxruby2/samples/html/html.rb: Place HTMLWindow in a panel so gets correct bg color on MSW
- HtmlWindow and friends
