Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-02

print source from IDE

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andrea Mauri

Dear all,
when I print the source from IDE the last line is not printed. This happens both printing a selection of the source or the whole unit. Lazarus svn, FPC 2.2.2 WinXp.
Regards,
Andrea

Gerard N/A
to Andrea Mauri

Hi,

that's correct, at least in some cases.
If you insert some new lines in a existing unit without saving, for example, those are not printed and the print is truncated at original line count. (before the new lines insert).
This looks like an internal SynEdit problem (Line count not being updated?) May I suggest that you open a bug report? (http://bugs.freepascal.org)

Regards,

Gerard.

Andrea Mauri wrote 12 lines
Dear all, when I print the source from IDE the last line is not printed. This happens both printing a selection of the source or the whole unit. Lazarus svn, FPC 2.2.2 WinXp. Regards, Andrea _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Andrea Mauri
to Gerard N/A

Dear Gerard,
I am not sure that I understood correctly, anyway I think that if I want to print some source code the printer should consider what I see on the editor and not what is already saved. e.g. I make some changes on my unit, I don't save it and I print the unit. I would like to print the modified unit not the previously saved one.
Anyway I will open a bug report. Which category should I set? (IDE, printer ?)
Regards,
Andrea

Gerard N/A ha scritto:

Show quoted text 36 lines
Hi, that's correct, at least in some cases. If you insert some new lines in a existing unit without saving, for example, those are not printed and the print is truncated at original line count. (before the new lines insert). This looks like an internal SynEdit problem (Line count not being updated?) May I suggest that you open a bug report? (http://bugs.freepascal.org) Regards, Gerard. On Fri, Feb 27, 2009 at 12:46 PM, Andrea Mauri wrote: > Dear all, > when I print the source from IDE the last line is not printed. This > happens both printing a selection of the source or the whole unit. > Lazarus svn, FPC 2.2.2 WinXp. > Regards, > Andrea > > _______________________________________________ > Lazarus mailing list > > http://www.lazarus.freepascal.org/mailman/listinfo/lazarus > > _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Gerard N/A
to Andrea Mauri

Hi Andrea,

Show quoted text 5 lines
I am not sure that I understood correctly, anyway I think that if I want to print some source code the printer should consider what I see on the editor and not what is already saved. e.g. I make some changes on my unit, I don't save it and I print the unit. I would like to print the modified unit not the previously saved one.

Correct, I don't mean what happens now is normal, I was just trying to find a way to reproduce it.

Anyway I will open a bug report. Which category should I set? (IDE, printer ?)

IDE.

Regards,

Gerard.