[Gambas-user] printing question: empty lines
Benoit Minisini
gambas at ...1...
Sun Jun 27 10:51:47 CEST 2004
On Saturday 26 June 2004 17:41, Hans-Martin Bundeshund wrote:
> Hi group!
>
> I am playing with the draw things. Again, very easy to use! But one thing
> is still left for me:
>
> I have a textarea filled with something like 'EZTextArea.Text =
> "entry1\nentry2\nentry3\n\n\nprinted with gambas\n"'. This is shown in the
> textarea correctly with 2 empty lines between 'entry3' and 'printed with
> gambas'. But when I send this to the printer with:
>
> draw.begin(Printer)
> draw.Text(EZTextArea.Text,100,100)
> draw.End
>
> the 2 empty lines are not accounted. This means instead of
>
>
>
> entry1
> entry2
> entry3
>
> printed with gambas
>
>
> it comes out with:
>
>
> entry1
> entry2
> entry3
> printed with gambas
>
>
> So must I scan and modify the textarea.text before printing? And when, what
> do I have to search for and replace with what?
>
> regards,
> HM
>
This is a bug. It will be fixed in the next version. As a workaround, you can
replace empty lines by lines containing one space.
Regards,
--
Benoit Minisini
mailto:gambas at ...1...
More information about the User
mailing list