Question: Expand Abbreviations action in Java Editor

Sandip Chitale <[email protected]>
Newsgroups gmane.comp.java.netbeans.devel,gmane.comp.java.netbeans.user-interface
Message-ID <[email protected]>
Can anyone explain how the Expand Abbreviations [abbrev-expand] action 
in Java Editor works?

Here is the scenario:
I bound a key stroke (Ctrl+Enter) to Expand Abbreviations 
[abbrev-expand]  action in Java editor key bindings options.
[I could not

I have an abbrev:

foria

which should expand to:

for (int i = 0; i < |.length; i ++) {
}

Now when I type:

foria<SPACE>

the abbreviation expands correctly. This seems to be an implicit key 
binding.

foria<Ctrl+Enter>

the abbreviation expands correctly too.

However if I type any char like backspace then the abbrev expansion does 
not work e.g.

foris<BACKSPACE>a<Ctrl+Enter>

then the abbreviation does not expand.

I think the Expand Abbreviations [abbrev-expand] should work as long as 
the text (word?) before the caret matches  an abbreviation.

Comments?

Sandip
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.