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 71688 - "Show Line Number" has no effect
Summary: "Show Line Number" has no effect
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-20 20:35 UTC by tprochazka
Modified: 2007-11-05 13:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
here is NB log file (15.61 KB, text/plain)
2006-01-24 10:21 UTC, tprochazka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tprochazka 2006-01-20 20:35:42 UTC
In option dialog or in context menu of left margin editor area is item "Show 
Line number", but this item has no effect. Line numbers are still show.
Comment 1 tprochazka 2006-01-20 20:51:21 UTC
Tested in Netbeand 5.0 RC2
Comment 2 Martin Roskanin 2006-01-23 14:31:14 UTC
Could you please attach the messages.log? Thanks
Comment 3 tprochazka 2006-01-23 14:45:57 UTC
I can do it now, but server respond me:
HTTP Status 500 - Internal Server Error
after send attachment.
I try it later.
Comment 4 tprochazka 2006-01-24 10:21:04 UTC
Created attachment 28568 [details]
here is NB log file
Comment 5 tprochazka 2006-11-05 10:20:32 UTC
I tested it again in 5.5 final and i found solution.

When I switch "Show line number" in context menu or Options dialog, it modifies 
property line-number-visible in config\Editors\text\base\properties.xml. I 
search this property in another location and I found them in 
config\Editors\text\x-java\properties.xml and this setting has higher priority. 
I don't know why this is in two properties files. I use configuration from 
older version of Netbeans, maybe this was bug in older version. When I removed 
property item in x-java folder, all is OK.

Maybe you can close this bug, if actual version doesn't exist way how to again 
add this duplication property. Decision is yours.
Comment 6 Jan Becicka 2007-09-07 14:59:54 UTC
Works for me.