Class PhpCompletionProvider

java.lang.Object
org.fife.ui.autocomplete.CompletionProviderBase
org.fife.ui.autocomplete.AbstractCompletionProvider
org.fife.ui.autocomplete.DefaultCompletionProvider
org.fife.rsta.ac.html.HtmlCompletionProvider
org.fife.rsta.ac.php.PhpCompletionProvider
All Implemented Interfaces:
org.fife.ui.autocomplete.CompletionProvider

public class PhpCompletionProvider extends HtmlCompletionProvider
Completion provider for PHP.
Version:
1.0
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.fife.ui.autocomplete.AbstractCompletionProvider

    org.fife.ui.autocomplete.AbstractCompletionProvider.CaseInsensitiveComparator
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final int
     
    private boolean
    Whether getAlreadyEnteredText(JTextComponent) determined the caret to be in a location where PHP completions were required (as opposed to HTML completions).
    private List<org.fife.ui.autocomplete.Completion>
    PHP function completions.

    Fields inherited from class org.fife.ui.autocomplete.DefaultCompletionProvider

    seg

    Fields inherited from class org.fife.ui.autocomplete.AbstractCompletionProvider

    comparator, completions

    Fields inherited from class org.fife.ui.autocomplete.CompletionProviderBase

    EMPTY_STRING
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected List<org.fife.ui.autocomplete.Completion>
    private boolean
    Returns whether the caret is inside a PHP block in this text component.
    boolean
    Overridden to properly handle both HTML markup and PHP code.
    void
    Loads completions from an XML input stream.

    Methods inherited from class org.fife.ui.autocomplete.DefaultCompletionProvider

    getCompletionsAt, getParameterizedCompletions, init, isValidChar, loadFromXML, loadFromXML, loadFromXML, loadFromXML

    Methods inherited from class org.fife.ui.autocomplete.AbstractCompletionProvider

    addCompletion, addCompletions, addWordCompletions, checkProviderAndAdd, clear, getCompletionByInputText, removeCompletion

    Methods inherited from class org.fife.ui.autocomplete.CompletionProviderBase

    clearParameterizedCompletionParams, getCompletions, getListCellRenderer, getParameterChoicesProvider, getParameterListEnd, getParameterListSeparator, getParameterListStart, getParent, setAutoActivationRules, setListCellRenderer, setParameterChoicesProvider, setParameterizedCompletionParams, setParent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • phpCompletion

      private boolean phpCompletion
      Whether getAlreadyEnteredText(JTextComponent) determined the caret to be in a location where PHP completions were required (as opposed to HTML completions).
    • phpCompletions

      private List<org.fife.ui.autocomplete.Completion> phpCompletions
      PHP function completions.
    • EVERYTHING_HERE_AND_BELOW_IS_PHP

      private static final int EVERYTHING_HERE_AND_BELOW_IS_PHP
      See Also:
  • Constructor Details

    • PhpCompletionProvider

      public PhpCompletionProvider()
  • Method Details