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 206838 - [completion] inserts comma/double colon character if there are no items to offer
Summary: [completion] inserts comma/double colon character if there are no items to o...
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 7.2
Hardware: PC Linux
: P4 normal (vote)
Assignee: Jan Stola
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-02 10:33 UTC by Vladimir Riha
Modified: 2014-10-06 13:25 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 Vladimir Riha 2012-01-02 10:33:35 UTC
There are 2 cases (probably related). First try this:
.notebox {
    box-shadow: rgba(0,0,0,0.4) 10px 10px inset |;
}

And invoke CC at the position of "|"
=> "," is autocompleted



The second one is similiar:
.notebox {
    box-shadow|: rgba(0,0,0,0.4) 10px 10px inset;
}

=> invoking CC at "|" causes 
.notebox {
    box-shadow: : rgba(0,0,0,0.4) 10px 10px inset;
}



Product Version: NetBeans IDE Dev (Build 201201010601)
Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10
System: Linux version 3.0.0-14-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Marek Fukala 2012-05-10 08:16:59 UTC
(In reply to comment #0)
> There are 2 cases (probably related). First try this:
> .notebox {
>     box-shadow: rgba(0,0,0,0.4) 10px 10px inset |;
> }
> 
> And invoke CC at the position of "|"
> => "," is autocompleted
The only comma symbol is allowed at the position so it is auto-completed by the completion as the only item.

> 
> 
> 
> The second one is similiar:
> .notebox {
>     box-shadow|: rgba(0,0,0,0.4) 10px 10px inset;
> }
very minor issue - similar cause - the only item is auto-completed. This may possibly be improved somehow.