On Feb 17, 2007, at 5:40 PM, Neil Hodgson wrote:
OK, you are correct. I think it doesn't show up in SciTE because under Windows the resolution of the printer is much higher than the screen so a screen margin width of around 40 pixels makes little difference when the line number may be 300 pixels wide on the printer. I have changed the code to call vsPrint.Refresh(*surfaceMeasure) after setting the line number margin width so fixedColumnWidth is set correctly and lineNumberWidth is then only used for the drawing of the line number. This made a slightly narrower gap between line numbers and text on my printer. Committed to CVS.
Many thanks. That makes sense. I haven't yet tried printing at higher than screen resolution.
Jason _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
