| Ticket UUID: | 1658089 | |||
| Title: | snitfaq typo report | |||
| Type: | Bug | Version: | None | |
| Submitter: | nobody | Created on: | 2007-02-12 14:44:04 | |
| Subsystem: | snit | Assigned To: | duquette | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2008-08-21 05:44:57 | |
| Resolution: | Fixed | Closed By: | duquette | |
| Closed on: | 2008-08-20 22:44:57 | |||
| Description: |
I'm looking at the latest tcllib cvs head.
1. Under the section "what are snit's goals", the
first point says "a snit object should should" -
one of those two "should"s probably should be
deleted.
2. Later on, under the heading "What is an abstract data type?",
the second sentence
begins "In systems that include include ..."
That second "include" can be deleted.
3. Under "Can objects be renamed?", the first example, that of a callback
command to another object, fails to display in the formatted doc.
Here's what I see when I do a "man -s n snitfaq"
o If the object is renamed, however, then $self's value will
change. Therefore, don't use $self for anything that will
break if $self changes. For example, don't pass a callback
command to another object like this:
You'll get an error if .btn calls your command after your
object is renamed.
4. In this same section of doc, there is the statement:
Instead, the your object ...
but I think that should be:
Instead, your object ...
(without the "the")
5. The bullet mentioned in (4) is also not displaying its example code.
6. Under How do I destroy a Snit Object, the example of
using the destroy method appears twice. The first example should
be removed to improve the flow of reading.
| |||
| User Comments: |
duquette added on 2008-08-21 05:44:57:
Logged In: YES user_id=372859 Originator: NO Fixed #6 as Andreas suggested. andreas_kupries added on 2007-02-13 01:37:39: Logged In: YES user_id=75003 Originator: NO 1. Fixed 2. Fixed 3. The problem is the . starting the '.btn'. Having this as first character on the line causes the roff formatter to interpret it as a command. A command it does not understand. It apparently simply drops the whole line. Fixed by indenting the example, i.e. working around the problem. Better would be to fix the doctools nroff formatter to somehow quote a leading '.' in plain text to prevent interpretation as a roff-command. 4. Fixed. 5. See explanation for 3. Same fix. 6. Actually the two examples are different. The first one demonstrates instance destruction (spot destroy), the second type-destruction (dog destroy). It might be beneficial to put both examples together into at the end of the block. I am leaving the decision regarding item 6 to Will. The others the pure typos and such and have been fixed in the CVS head now. | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki