Thread: Firefox bugs
View Single Post
Old 08-11-2006, 07:57 PM   #24
MaggieL
in the Hour of Scampering
 
Join Date: Jan 2001
Location: Jeffersonville PA (15 mi NW of Philadelphia)
Posts: 4,060
Quote:
Originally Posted by Happy Monkey
Thanks. I've been using "Head First Java" in a study group at work. It's a good book for study groups, but not the best for reference afterwards. I've also been using jEdit. Do you happen to know a way to disable the global abbreviation autocompletion set when the Java one is enabled, other than redefining the ones that come up?
The Head First books are pretty good for getting concepts across...the Tutorial makes a much better reference.

If I recall correctly the autocomplete in jEdit is done by plugins, so check Plugin Options on the Plugins memu to see which one you have installed; should be a simple matter to configure it to your liking....

Oh, wait...there's also an built-in abbreviations gadget...

Quote:
Originally Posted by jEdit Help
Abbreviations

Using abbreviations reduces the time spent typing long but commonly used strings. For example, in Java mode, the abbreviation “sout” is defined to expand to “System.out.println()”, so to insert “System.out.println()” in a Java buffer, you only need to type “sout” followed by C+;. An abbreviation can either be global, in which case it can be used in all edit modes, or specific to a single mode.

Abbreviations can be edited in the Abbreviations pane of the Utilities>Global Options dialog box; see the section called “The Abbreviations Pane”. The Java, VHDL. XML and XSL edit modes include some pre-defined abbreviations you might find useful. Other modes do not have any abbreviations defined by default.

Edit>Expand Abbreviation (keyboard shortcut: C+ attempts to expand the abbreviation named by the word before the caret. If no expansion could be found, it will offer to define one.

Automatic abbreviation expansion can be enabled in the Abbreviations pane of the Utilities>Global Options dialog box. If enabled, pressing the space bar after entering an abbreviation will automatically expand it.

If automatic expansion is enabled, a space can be inserted without expanding the word before the caret by pressing Control-E V Space.
The jEdit help facility is really quite good...I happen to know Slava Pestov who was the lead dev on the project; he's quite concientous.
__________________
"Neither can his Mind be thought to be in Tune,whose words do jarre; nor his reason In frame, whose sentence is preposterous..."

MaggieL is offline   Reply With Quote