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 239178 - Go to declaration shows caret position instead of line number
Summary: Go to declaration shows caret position instead of line number
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: AngularJS (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-06 07:32 UTC by Vladimir Riha
Modified: 2014-02-07 07:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sample project (5.88 KB, application/zip)
2013-12-06 07:32 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-12-06 07:32:31 UTC
Created attachment 142890 [details]
sample project

Please check the attached project:
 - open partials/partial1.html
 - Ctrl+Click on either test in {{}} or in ng-model

=> suggestion shows 2 possible declarations, but instead of line number (6) it shows value 55, "caret" position


Product Version: NetBeans IDE Dev (Build 201312050002)
Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b59
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b117
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Petr Pisl 2014-01-31 11:46:54 UTC
Fixed in web-main.
Comment 2 Quality Engineering 2014-02-01 05:46:41 UTC
Integrated into 'main-silver', will be available in build *201402010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/825663fc9e8b
User: Petr Pisl <ppisl@netbeans.org>
Log: #239178 - Go to declaration shows caret position instead of line number
Comment 3 Vladimir Riha 2014-02-07 07:50:07 UTC
Verified, thank you

Product Version: NetBeans IDE Dev (Build 201402070001)
Java: 1.8.0; Java HotSpot(TM) Client VM 25.0-b69
Runtime: Java(TM) SE Runtime Environment 1.8.0-b128
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)