Back to the feature list

Alphatk can 'wrap', 're-wrap' and 'fill' text in a variety of ways. The simplest of these is that text (either in blocks, or as you type), can be constrained on the left and right sides. A typical case (for editing Text or HTML documents) is that lines should be wrapped, if possible, if they exceeds 72 characters in length (this number is of course configurable).

However, Alphatk can perform far more sophisticated and useful text-filling. For example, a block of text which looks like this:

before wrap

can be turned into this (with 'fill paragraph' or cmd/alt-I):

after wrap

Because Alphatk's definition of a paragraph is mode-dependent, this works correctly for some 30-40 types of document. In addition, as you can see, the filling notices when text is commented out (in blocks or in boxes) and wraps the text transparently within those comments, while maintaining the structure of the comment block.