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 224773 - Completion confirmation could detect ending colon
Summary: Completion confirmation could detect ending colon
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks: 235151
  Show dependency tree
 
Reported: 2013-01-12 09:03 UTC by Martin Fousek
Modified: 2014-10-06 13:25 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Fousek 2013-01-12 09:03:33 UTC
In the CSS editor I'm "writing" rule by these steps:
1, copy some previous similar (or CTRL+SHIFT+arrows)
2, change of the rule selector
3, I would like to change i.e. top: 0px -> bottom: 0px
but if you have something like this...
.article .box .photo .photo-copyright {
    position: absolute;
    bo|: 0px;
}
and you will code complete on the | position, this will be completed...
.article .box .photo .photo-copyright {
    position: absolute;
    bottom: : 0px;
}

Do you think that would be possible to detect already existing colon? Thanks a lot!
Comment 1 Marek Fukala 2013-07-02 14:00:59 UTC
It is possible, but except the situation where the text to be completed exist after the anchor we never delete anything after the caret as this may not potentially be what the user expects.
Comment 2 Marek Fukala 2013-08-27 13:45:23 UTC
I think you are right. I gave it a try and the current behaviour is really annoying.
Comment 3 Marek Fukala 2013-08-27 14:38:41 UTC
I'm afraid this is not easily doable given the current architecture limitations (csl.api) -> putting off