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 221907 - ctl-B and then ctl-Q does not return the the correct line
Summary: ctl-B and then ctl-Q does not return the the correct line
Status: RESOLVED INVALID
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 7.2.1
Hardware: PC Windows 7
: P4 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2012-11-11 21:25 UTC by aschwarz1309
Modified: 2012-11-14 15:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (32.27 KB, text/plain)
2012-11-11 21:25 UTC, aschwarz1309
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aschwarz1309 2012-11-11 21:25:00 UTC
Product Version = NetBeans IDE 7.2.1 (Build 201210100934)
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
Cygwin gcc 4.5.3

On a function reference pressing ctl-B goes to the function definition but ctl-Q at the function definition returns to several lines after the oint where ctl-B was pressed. It would be desirable to make the commands invertible so that pressing ctl-Q immediately after pressing ctl-B returns you to the same line as the ctl-B.
Comment 1 aschwarz1309 2012-11-11 21:25:04 UTC
Created attachment 127565 [details]
IDE log
Comment 2 Jiri Prox 2012-11-14 10:41:15 UTC
There is no connection between Go to declaration (ctrl-B) and Go to last edit(ctrl-Q)

the first one puts cursor at the declaration of selected element, the second one puts cursor at the place where the user does last edit.
 
Maybe you're looking for Back action (alt-left)
Comment 3 aschwarz1309 2012-11-14 15:24:19 UTC
I understand. What is happening is that ctl-Q does not return to the last edit. It returns to several line below the last edit. 

This is not world shaking. It's (maybe) a quality note and it is ignorable.

Thanks for spending a few moments on it.
art