net.jakubholy.jedit.autocomplete
Class TextAutocompletePlugin

java.lang.Object
  extended by org.gjt.sp.jedit.EditPlugin
      extended by org.gjt.sp.jedit.EBPlugin
          extended by net.jakubholy.jedit.autocomplete.TextAutocompletePlugin
All Implemented Interfaces:
org.gjt.sp.jedit.EBComponent

public class TextAutocompletePlugin
extends org.gjt.sp.jedit.EBPlugin

Automatic text completion for buffers. Try to complete a word typed in an associated buffer. Automatically try to find any completions for the current word being typed and if there're any, present them to the user in a pop-up list. A list of possible completions is constructed from words typed so far in the buffer that satisfy some conditions.

Author:
Jakub HolĂ˝

Nested Class Summary
 
Nested classes/interfaces inherited from class org.gjt.sp.jedit.EditPlugin
org.gjt.sp.jedit.EditPlugin.Broken, org.gjt.sp.jedit.EditPlugin.Deferred
 
Field Summary
static java.lang.String PROPS_PREFIX
          The prefix of (nearly) all properties used by this plugin.
 
Constructor Summary
TextAutocompletePlugin()
           
 
Method Summary
 void handleMessage(org.gjt.sp.jedit.EBMessage message)
           
 void start()
           
 void stop()
          Called upon plugin unload - remove all instances of all classes that may be still bound to some buffers.
 
Methods inherited from class org.gjt.sp.jedit.EditPlugin
createBrowserMenuItems, createMenuItems, getClassName, getPluginHome, getPluginHome, getPluginHome, getPluginJAR, getResourceAsOutputStream, getResourceAsOutputStream, getResourceAsStream, getResourceAsStream, getResourcePath, getResourcePath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPS_PREFIX

public static final java.lang.String PROPS_PREFIX
The prefix of (nearly) all properties used by this plugin.

See Also:
Constant Field Values
Constructor Detail

TextAutocompletePlugin

public TextAutocompletePlugin()
Method Detail

start

public void start()
Overrides:
start in class org.gjt.sp.jedit.EditPlugin
See Also:
EditPlugin.start()

stop

public void stop()
Called upon plugin unload - remove all instances of all classes that may be still bound to some buffers.

Overrides:
stop in class org.gjt.sp.jedit.EditPlugin

handleMessage

public void handleMessage(org.gjt.sp.jedit.EBMessage message)
Specified by:
handleMessage in interface org.gjt.sp.jedit.EBComponent
Overrides:
handleMessage in class org.gjt.sp.jedit.EBPlugin
See Also:
EBPlugin.handleMessage(org.gjt.sp.jedit.EBMessage)