Community
Participate
Working Groups
In the print dialog, if you select to print only the selected part of a java source file, the whole file will be printed.
Defer to post 2.0
Reopen for investigation
Print is a retargetable action. The text editor is responsible for the print behavior (or maybe its the compilation unit editor?)
StyledTextPrintOptions does not allow to specify a range.
FH I just tried this in the latest and it works. I assume this has been fixed at some point?
>FH I just tried this in the latest and it works. I assume this has been fixed >at some point? What exactly did you try?
For PrinterData.scope, StyledText implements: ALL_PAGES and PAGE_RANGE. It does not implement SELECTION.
Sorry for the noise. This works just fine (either via PrinterData.scope=PrinterData.SELECTION) or by selecting the corresponding radio button in the print dialog.