CodeCompletionPopup

org.nlogo.ide.CodeCompletionPopup
See theCodeCompletionPopup companion object
case class CodeCompletionPopup(autoSuggest: AutoSuggest, listRenderer: SuggestionListRenderer) extends ThemeSync

Attributes

Companion
object
Source
CodeCompletionPopup.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ThemeSync
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def autoCompleteSuggestion(eA: JTextComponent, autoSuggestDocumentListener: AutoSuggestDocumentListener): Unit

Removes the currently typed token and replaces it with the selected element from the list of suggestions

Removes the currently typed token and replaces it with the selected element from the list of suggestions

Attributes

Source
CodeCompletionPopup.scala

Makes the suggestion box initially and displays it. Should only be called when the user presses the shortcut to enable the suggestion. To update the suggestions list call showPopUp()

Makes the suggestion box initially and displays it. Should only be called when the user presses the shortcut to enable the suggestion. To update the suggestions list call showPopUp()

Attributes

Source
CodeCompletionPopup.scala
def fireUpdatePopup(docEventOption: Option[DocumentEvent]): Unit

Should be called to update the suggestion box

Should be called to update the suggestion box

Attributes

Source
CodeCompletionPopup.scala
def getTokenTillPosition(source: String, position: Int): Option[Token]

Attributes

Source
CodeCompletionPopup.scala
def init(editorArea: JTextComponent, autoSuggestDocumentListener: AutoSuggestDocumentListener): Unit

Attributes

Source
CodeCompletionPopup.scala
def placeWindowOnScreen(eA: JTextComponent, position: Int): Unit

Sets the location at which the window will be displayed

Sets the location at which the window will be displayed

Attributes

Source
CodeCompletionPopup.scala
override def syncTheme(): Unit

Attributes

Definition Classes
Source
CodeCompletionPopup.scala
def updatePopup(position: Int): Unit

Updates the list of the suggestion box and makes it visible.

Updates the list of the suggestion box and makes it visible.

Attributes

Source
CodeCompletionPopup.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

val dlm: DefaultListModel[String]

Attributes

Source
CodeCompletionPopup.scala
var editorArea: Option[JTextComponent]

Attributes

Source
CodeCompletionPopup.scala
var lastSuggested: String

Attributes

Source
CodeCompletionPopup.scala
val window: JDialog

Attributes

Source
CodeCompletionPopup.scala