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 48166 - abbreviation function
Summary: abbreviation function
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: -FFJ-
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Martin Roskanin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-30 13:53 UTC by pzgyuanf
Modified: 2009-02-19 20:45 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 pzgyuanf 2004-08-30 13:53:41 UTC
Abbreviation function, when input error but 
correct it, the function is lost.(eg. "br" is 
abbr of "break", but I input "bt" and correct it
to "br" by delect the "t" character and append a
"r" character)
Comment 1 Martin Roskanin 2004-08-30 16:45:57 UTC
Currently it is "as design" behaviour. 

It is something like workaround for those that do not know the
Shift+Space shortcut.
As mentioned at:
http://editor.netbeans.org/doc/UserView/abbrevs.html
Shift + SPACE can be used for inserting space w/o expading abbrev.

Now if you type i.e. "le" and type space it is expand to length. After
CTRL+Z and space "le " can be typed.

So, now the abbrevs work only if the abbrevs characters are typed
sequentialy.

Unfortunatelly it brings also unwanted side effects - like this issue. 
It seems, we should find a better solution. I am leaving this issue
open, changing it to enhancement.
Comment 2 Dusan Balek 2008-10-22 15:07:01 UTC
Should be fixed in current dev build.