Lines 1616-1621
Link Here
|
1616 |
*/ |
1616 |
*/ |
1617 |
private DocumentRewriteSessionListener fDocumentRewriteSessionListener= new DocumentRewriteSessionListener(); |
1617 |
private DocumentRewriteSessionListener fDocumentRewriteSessionListener= new DocumentRewriteSessionListener(); |
1618 |
|
1618 |
|
|
|
1619 |
/** |
1620 |
* The printer data. |
1621 |
* @since 3.6 |
1622 |
*/ |
1623 |
private static PrinterData fgPrinterData= null; |
1624 |
|
1619 |
/** Should the auto indent strategies ignore the next edit operation */ |
1625 |
/** Should the auto indent strategies ignore the next edit operation */ |
1620 |
protected boolean fIgnoreAutoIndent= false; |
1626 |
protected boolean fIgnoreAutoIndent= false; |
1621 |
/** The strings a line is prefixed with on SHIFT_RIGHT and removed from each line on SHIFT_LEFT */ |
1627 |
/** The strings a line is prefixed with on SHIFT_RIGHT and removed from each line on SHIFT_LEFT */ |
Lines 4504-4509
Link Here
|
4504 |
} |
4510 |
} |
4505 |
|
4511 |
|
4506 |
final PrintDialog dialog= new PrintDialog(shell, SWT.PRIMARY_MODAL); |
4512 |
final PrintDialog dialog= new PrintDialog(shell, SWT.PRIMARY_MODAL); |
|
|
4513 |
if (fgPrinterData != null) { |
4514 |
fgPrinterData.startPage= 0; |
4515 |
fgPrinterData.endPage= 0; |
4516 |
fgPrinterData.scope= PrinterData.ALL_PAGES; |
4517 |
} |
4518 |
dialog.setPrinterData(fgPrinterData); |
4507 |
final PrinterData data= dialog.open(); |
4519 |
final PrinterData data= dialog.open(); |
4508 |
|
4520 |
|
4509 |
if (data != null) { |
4521 |
if (data != null) { |
Lines 4517-4522
Link Here
|
4517 |
} |
4529 |
} |
4518 |
}; |
4530 |
}; |
4519 |
printingThread.start(); |
4531 |
printingThread.start(); |
|
|
4532 |
fgPrinterData= data; |
4520 |
} |
4533 |
} |
4521 |
} |
4534 |
} |
4522 |
|
4535 |
|