[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

text formatting windows



Date: Wed, 23 May 90 15:37 EDT
To: Robert Goldman <rpg%cs.brown.edu@vax.cam.nist.gov>, slug%AI.SRI.COM@vax.cam.nist.gov
In-Reply-To: <9005231848.AA22088@bimini.cs.brown.edu>
Message-ID: <19900523193748.1.MILLER@ARTEMIS.cam.nist.gov>

    Date: Wed, 23-May-90 15:11:04-EDT
    Date: Wed, 23 May 90 14:48:16 EDT

    Does anyone have code I could use for this purpose?

    I'm looking for the ability to do something like

    (format-text-as-paragraph <a long string> window-stream)

    I'm not looking to do anything fancy -- just splat a help message into
    a typeout window, ragged-right.  It just seems silly that with all
    that other great stuff out there (e.g., formatting-table) I should
    have to go through the whole rigamarole of positioning the cursor in a
    window and drawing strings char-by-char, or the equally onerous task
    of formatting the help message ahead of time for a particular
    window...

    Do any of you have such functions?  Or is there something in the
    manuals that I've overlooked (quite possible)?

    Thanks,

    Robert

Try the macro FILLING-OUTPUT.