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 - cursor jumps to 2nd column (hyperlink and #line directive)
Summary: cursor jumps to 2nd column (hyperlink and #line directive)
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 8.0.1
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-05 12:47 UTC by soldatov
Modified: 2014-06-05 14:08 UTC (History)
0 users

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 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