Dear Neil,

About SCI_FORMATRANGE behavior, I can understand your explanations.

But I think for Scintilla, as a good editor control, it had better supply a minimize atom API function to the developer. That is to say, current "line FormatRange" cannot supply an accurate range print or measurement. But if Scintilla can support "accurate range FormatRange", the "line FormatRange" can be supported easily.
This extend ability may be important for the Scintilla developer.

BTW, I remember EM_FORMATRANGE in RichEditCtrl can support "accurate range FormatRange".

Anyway, thanks for your answers.

1. SCI_FORMATRANGE for selection range print
Although SCI_FORMATRANGE message uses CharacterRange, it uses the
"cpMin/cpMax" lines in fact.

  I will change the documentation to include "All of each line within
this character range is drawn."

This behavior is not as the user expected when he selects "selection
range"
in the print dialog.

  The print dialog displays the "Selection" button within the "Page
Range" section so I don't think it implies only exact selection will
be printed.

In my application, I need a paginate character such as "12" to split the
page when printing.
But for this SCI_FORMATRANGE behavior, I cannot paginate it with this
special character.

  This is not supported.

Jeffrey Ren

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to