summaryrefslogtreecommitdiffstats
path: root/Lib/formatter.py
Commit message (Collapse)AuthorAgeFilesLines
* Removed unneeded imports of regex and regsub.Guido van Rossum1997-10-221-2/+0
|
* (formatter.py): Add a flush() method to the writer interface. This reallyFred Drake1996-12-311-2/+2
| | | | | needs to be a standard part of the interface, so we'll have it in for the next release.
* (formatter.py): Simplify NullFormatter definition of add_hor_rule() to matchFred Drake1996-10-081-3/+2
| | | | documentation.
* Add provisions to set the (to be documented!) instance variableGuido van Rossum1996-10-071-1/+4
| | | | | 'writer' of the NullFormatter to the writter passed in, or to a NullWriter if none (or None) is passed in.
* Three sets of changes from Grail:Guido van Rossum1996-08-261-12/+15
| | | | | | | | | | | | | | | | | | | | | | | | | date: 1996/08/14 17:27:21; author: fdrake; state: Exp; lines: +11 -9 (formatter.py): Establish a consistent space-handling policy, so that all spaces are handled by the outermost context in which they might be considered. (I.e., softspaces at element boundaries migrate outwards.) For instance: "<A> <IMG> </A>" becomes " <A><IMG></A> ". This avoids some of those nasty underlined spaces around images. It does not affect spaces *between* images within an anchor. date: 1996/08/01 17:02:09; author: fdrake; state: Exp; lines: +3 -2 (formatter.py): Added required parameter to the NullFormatter class; this was omitted by accident. Made AbstractFormatter.add_literal_data() handle preceeding softspace correctly instead of expecting the caller to do it. date: 1996/07/23 22:18:56; author: fdrake; state: Exp; lines: +1 -1 (formatter.py): Correct assert_line_data() to update all internal conditions; This now handles headers with only image content immediately followed by anything.
* change DumbWriter to derive from NullWriterGuido van Rossum1996-05-291-3/+4
|
* Many improvements dure to Fred DrakeGuido van Rossum1996-05-281-57/+153
|
* even better way to normalize spaces in add_flowing_dataGuido van Rossum1996-02-131-17/+9
|
* better way to normalize spaces in add_flowing_dataGuido van Rossum1996-02-121-3/+13
|
* added NullFormatterGuido van Rossum1995-10-061-2/+21
|
* add flush_softspace() interfaceGuido van Rossum1995-09-301-0/+5
|
* Initial revisionGuido van Rossum1995-08-071-0/+276