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.

Bug 166381 - Line numbers are not printed when Print as in Editor is selected.
Summary: Line numbers are not printed when Print as in Editor is selected.
Status: RESOLVED INVALID
Alias: None
Product: utilities
Classification: Unclassified
Component: Print (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-02 07:14 UTC by johnsonlau
Modified: 2009-06-02 10:31 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description johnsonlau 2009-06-02 07:14:17 UTC
When printing a Java file, you can either choose "Print as in Editor" or not.
But if "Print as in Editor" is selected, the line number check box will be greyed and no line number is showed in the
preview window even I enabled "Show line number" from View menu.

If I want to make the the line number be printed, I have to uncheck "Print as in Editor" option, but this will result
losing the tab spaces.

It is tough for me to make NetBeans print exactly as what I wanted.
Comment 1 johnsonlau 2009-06-02 10:24:18 UTC
I restarted the application several times and even I've no idea on what exactly I've done,
now it seems to be a false accusation.
So I close the issue currently.
If I did find a way to show the problem, I will reopen it later.
Sorry for the inconvinience.
Comment 2 Vladimir Yaroslavskiy 2009-06-02 10:29:54 UTC
to assign to me
Comment 3 Vladimir Yaroslavskiy 2009-06-02 10:31:58 UTC
Option "Print as in Editor" takes *picture* from the Editor as is
and sends to printer/preview. If option the option is off, *text*
is taken, information about color, fonts, size are also taken
and all is printed together. In last case, I can add line numbers,
because I operate with text (sequence of chars). In the first case
I can't add chars to picture.