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 207662 - Show Line Numbers don't show its when using jVi plugin
Summary: Show Line Numbers don't show its when using jVi plugin
Status: RESOLVED INVALID
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.0.1
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: err
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-24 08:40 UTC by corretge
Modified: 2013-09-17 08:26 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description corretge 2012-01-24 08:40:23 UTC
After installing jVi plugin, I missed the line numbers.

Disabling the plugin, I miss the line numbers in the standard editor too.

/ View / Show Line Numbers 

is checked.


Product Version = NetBeans IDE 7.0.1 (Build 201107282000)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.6.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 20.0-b11
Comment 1 tnorthcutt 2012-02-20 21:48:21 UTC
I experience this issue in NetBeans 7.1 with jVi. Even with jVi 'turned off', line numbers are still not visible.
Comment 2 tnorthcutt 2012-02-20 21:52:29 UTC
As detailed in this thread: http://ubuntuforums.org/showthread.php?p=11600380

You can fix this by setting 'line-number-visible' to 'true' in \.netbeans\7.1\config\Editors\text\x-php5\Preferences\org-netbeans-modules-editor-settings-CustomPreferences.xml
Comment 3 tnorthcutt 2012-02-21 16:49:56 UTC
Well, it seems that fix is only temporary. My NetBeans install reverted to not showing line numbers, and now that entry is gone from org-netbeans-modules-editor-settings-CustomPreferences.xml, and even if I add it back in, it gets removed each time NB is started.
Comment 4 err 2012-02-21 18:45:37 UTC
jVi overrides NB on whether line numbers show or not. It is controlled by the vi/vim compatible commands.

Use ":set [no]nu[mber]" to turn on/off line numbers. 

:set nu     ### turn on line numbers 
:set nonu   ### turn off line numbers

I will close this within a few days if there is no further issues.
Comment 5 tnorthcutt 2012-02-21 19:16:18 UTC
Thanks, err. That fixes it for me.

Sorry to have bothered you with this - I'm sure most vim users would be aware of that setting. I'm a NetBeans user, but new to vim (and jVi), which is why I wasn't aware of it. I appreciate your time!
Comment 6 machinegodzilla 2013-09-17 08:26:45 UTC
Just for reference:

https://sourceforge.net/p/jvi/bugs/164/