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 244910

Summary: cursor jumps to 2nd column (hyperlink and #line directive)
Product: cnd Reporter: soldatov <soldatov>
Component: NavigationAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0.1   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description soldatov 2014-06-05 12:47:41 UTC
Scenario:
- Code in main.cpp:

#include <assert.h>

int main() {

#line 4 "main.cpp"
    assert(false);
    return 0;
}

- Hold Ctrl and move mouse cursor on "#line 4" line
==> hyperlink appears
- Click on it
==> cursor jumps to "4:2" instead of "4:1" (second column in line)
Comment 1 Alexander Simon 2014-06-05 14:08:07 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/50e980034077