bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Calling Value::print() with different ⎕PW


From: Juergen Sauermann
Subject: Re: [Bug-apl] Calling Value::print() with different ⎕PW
Date: Wed, 21 May 2014 18:21:02 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi Elias,

the operator<<(ostream & out, const Value & v) calls v.print(out) which then
does the line break at ⎕PW. The cr_formatted below is probably OK but printing
it introduces line wrapping. You could have used UCS_string(*cr_formatted) instead
of *cr_formatted to avoid that.

/// Jürgen


On 05/21/2014 04:54 PM, Elias Mårtenson wrote:
I tried to specify a different PW like the below, but the with is still limited to something close to 80:

        const PrintContext pctx( PST_NONE, Workspace::get_PP(), 1000 );
        Value_P cr_formatted = Quad_CR::do_CR( cr_level, *value, pctx );
        out << *cr_formatted;

What did I do wrong?

Regards,
Elias



reply via email to

[Prev in Thread] Current Thread [Next in Thread]