Re: [gedit-list] First pass hack of gedit and gtksourceview port to gtkprintoperation
- From: Paolo Borelli <pborelli katamail com>
- To: Paolo Maggi <paolo maggi gmail com>
- Cc: gedit-list gnome org, gtk-devel-list gnome org, Matthias Clasen <matthias clasen gmail com>
- Subject: Re: [gedit-list] First pass hack of gedit and gtksourceview port to gtkprintoperation
- Date: Mon, 01 May 2006 11:49:44 +0200
Paolo Maggi wrote:
Yes, I didn't want to raise this issue in the first mail, because I
thought that async pagination was a more important issue and I didn't
want to mix the discussion, but since you mention it... When I asked on
irc about print from line to line the reaction was along the line of "Oh
well, who uses that anyway". This may or may not be true, but IMHO it
has been taken a bit lightly: this issue is not specific to gedit, but
it's pretty general to all the apps that are not WYSIWYG, where you may
want to print a known range without first going through the pagination
and print preview process.
P.S. While I am at it, I'd like to point out the current print API does
not allow to add custom print ranges to the print dialog. In gedit, for
example, we allow users to print from "line X to line Y".
Another similar example is a spreadsheet: I checked MS Excel and it
allows to print a custom selection of sheets.
Along the same lines and even more common is the necessity to print the
current selection (which technically is pretty similar to 'print from
line to line' since it's just another custom range).
 I do use the print from line to line feature, for instance if I
print out some code listing I can avoid printing boilerplate code, GPL
] [Thread Prev