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 102976 - CC does not insert first char of selected item
Summary: CC does not insert first char of selected item
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
: 107559 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-30 13:35 UTC by Jiri Prox
Modified: 2009-02-27 14:26 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 Jiri Prox 2007-04-30 13:35:07 UTC
NetBeans IDE 6.0 Preview (M9, build 070430)
1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02
Linux version 2.6.5-1.358 running on i386
en_US (nb); UTF-8

CC does not insert first character of selected item if it is invoked w/o any
leading text

Steps to reproduce:
1) in method type Document.
2) call CC 
3) browse to any item (e.g. getElementById )and confirm it
-> string is inserted w/o first char (e.g. etElementById )
Comment 1 Daniel Prusa 2007-05-03 14:56:54 UTC
reproducible
Comment 2 Daniel Prusa 2007-05-04 09:48:41 UTC
Fixed.

/cvs/languages/engine/src/org/netbeans/modules/languages/features/CompletionSupport.java
new revision: 1.5; previous revision: 1.4
Comment 3 Jiri Prox 2007-06-21 16:24:45 UTC
verified
Comment 4 Jiri Prox 2007-06-21 16:27:14 UTC
*** Issue 107559 has been marked as a duplicate of this issue. ***