This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Print Preview should show line numbers when printing as in Editor. related issue #178101.
Steps to reproduce: 1. Create a Java project, open Java class 2. In the source editor invoke File | Print (Ctrl+Alt+Shift+P) 3. Press "Print Options" button on the appeared "Print Preview" dialog 4. Check "Print as in Editor" 5. Check "Line Numbers", this checkbox must be enabled! 6. Press "OK" 7. Check that line numbers are show and text are colored. 8. Uncheck "Line Numbers" -> line numbers must no be shown.
fixed in main: 3e2c734b65d8
Integrated into 'main-golden', will be available in build *200912100200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/3e2c734b65d8 User: Vladimir Yaroslavskiy <yaroslavskiy@netbeans.org> Log: [Bug #178357] New: Print Preview should show line numbers when printing as in Editor