Codota Logo
MatchingCharacterPainter.installUninstallTextListener
Code IndexAdd Codota to your IDE (free)

How to use
installUninstallTextListener
method
in
org.eclipse.jface.text.source.MatchingCharacterPainter

Best Java code snippets using org.eclipse.jface.text.source.MatchingCharacterPainter.installUninstallTextListener (Showing top 4 results out of 315)

  • Common ways to obtain MatchingCharacterPainter
private void myMethod () {
MatchingCharacterPainter m =
  • Codota IconISourceViewer sourceViewer;ICharacterPairMatcher matcher;new MatchingCharacterPainter(sourceViewer, matcher)
  • Smart code suggestions by Codota
}
origin: org.eclipse.platform/org.eclipse.jface.text

/**
 * Sets whether to highlight enclosing peer characters or not.
 *
 * @param highlightEnclosingPeerCharcters whether to highlight enclosing peer characters or not
 * @since 3.8
 */
public void setHighlightEnclosingPeerCharacters(boolean highlightEnclosingPeerCharcters) {
  fHighlightEnclosingPeerCharacters= highlightEnclosingPeerCharcters;
  installUninstallTextListener(highlightEnclosingPeerCharcters);
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

/**
 * Sets whether to highlight enclosing peer characters or not.
 * 
 * @param highlightEnclosingPeerCharcters whether to highlight enclosing peer characters or not
 * @since 3.8
 */
public void setHighlightEnclosingPeerCharacters(boolean highlightEnclosingPeerCharcters) {
  fHighlightEnclosingPeerCharacters= highlightEnclosingPeerCharcters;
  installUninstallTextListener(highlightEnclosingPeerCharcters);
}
origin: org.eclipse.platform/org.eclipse.jface.text

@Override
public void dispose() {
  if (fMatcher != null) {
    if (fMatcher instanceof ICharacterPairMatcherExtension && fTextListener != null) {
      installUninstallTextListener(false);
    }
    fMatcher.clear();
    fMatcher= null;
  }
  fColor= null;
  fTextWidget= null;
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

@Override
public void dispose() {
  if (fMatcher != null) {
    if (fMatcher instanceof ICharacterPairMatcherExtension && fTextListener != null) {
      installUninstallTextListener(false);
    }
    fMatcher.clear();
    fMatcher= null;
  }
  fColor= null;
  fTextWidget= null;
}
org.eclipse.jface.text.sourceMatchingCharacterPainterinstallUninstallTextListener

Javadoc

Installs or uninstalls the text listener depending on the boolean parameter.

Popular methods of MatchingCharacterPainter

  • deactivate
  • paint
  • <init>
    Creates a new MatchingCharacterPainter for the given source viewer using the given character pair ma
  • setColor
    Sets the color in which to highlight the match character.
  • dispose
  • draw
    Highlights the given widget region.
  • getSignedSelection
    Returns the signed current selection. The length will be negative if the resulting selection is righ
  • handleDrawRequest
    Handles a redraw request.
  • setHighlightCharacterAtCaretLocation
    Sets whether to highlight the character at caret location or not.
  • setHighlightEnclosingPeerCharacters
    Sets whether to highlight enclosing peer characters or not.

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSupportFragmentManager (FragmentActivity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getSharedPreferences (Context)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • BoxLayout (javax.swing)
  • JList (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now