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 199219 - Insert tab and delete tab (TAB & SHIFT-TAB keys) Not Working
Summary: Insert tab and delete tab (TAB & SHIFT-TAB keys) Not Working
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Diff (show other bugs)
Version: 7.0
Hardware: PC Windows 7 x64
: P4 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
: 197612 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-07 06:04 UTC by Pawessum16
Modified: 2012-02-06 13:03 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Proposed patch (1.69 KB, patch)
2012-01-31 11:51 UTC, Svata Dedic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pawessum16 2011-06-07 06:04:16 UTC
When editing a php program in the graphical diff mode I've found that the TAB and SHIFT-TAB keys don't work. When editing the file alone by itself in the editor the keys work fine, but in the graphical diff mode pressing these keys will make the text cursor disappear, and I'll have to click back onto the text to make the text cursor appear again. The only way to bypass this is to either move back to the regular editing mode, or to manually put in tabs or remove tabs by using the spacebar and backspace keys.
Comment 1 Svata Dedic 2011-10-11 11:30:15 UTC
the Tab is consumed for control navigation. It's a question whether this should be changed - at least some key must be available for escaping the editor.
Comment 2 Svata Dedic 2012-01-31 11:51:01 UTC
Reassigning to the code owner. Please review and/or apply the attached patch; it disables focus fw/bw for the editable pane, but also maps ESC to focus upwards, which gives focus to the diff layout container, and the user may cycle backwards/forwards.
Comment 3 Svata Dedic 2012-01-31 11:51:23 UTC
Created attachment 115407 [details]
Proposed patch
Comment 4 Ondrej Vrabec 2012-02-06 13:02:32 UTC
fix: http://hg.netbeans.org/core-main/rev/41f6d49f92b7
Comment 5 Ondrej Vrabec 2012-02-06 13:03:07 UTC
Thanks for the patch, svato.
Comment 6 Ondrej Vrabec 2012-02-06 13:03:56 UTC
*** Bug 197612 has been marked as a duplicate of this bug. ***