Tabnine Logo
TextViewer.fireInputDocumentChanged
Code IndexAdd Tabnine to your IDE (free)

How to use
fireInputDocumentChanged
method
in
org.eclipse.jface.text.TextViewer

Best Java code snippets using org.eclipse.jface.text.TextViewer.fireInputDocumentChanged (Showing top 4 results out of 315)

origin: org.eclipse.platform/org.eclipse.jface.text

@Override
public void setDocument(IDocument document) {
  fReplaceTextPresentation= true;
  fireInputDocumentAboutToBeChanged(fDocument, document);
  IDocument oldDocument= fDocument;
  fDocument= document;
  setVisibleDocument(fDocument);
  resetPlugins();
  inputChanged(fDocument, oldDocument);
  fireInputDocumentChanged(oldDocument, fDocument);
  fLastSentSelectionChange= null;
  fReplaceTextPresentation= false;
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

@Override
public void setDocument(IDocument document) {
  fReplaceTextPresentation= true;
  fireInputDocumentAboutToBeChanged(fDocument, document);
  IDocument oldDocument= fDocument;
  fDocument= document;
  setVisibleDocument(fDocument);
  resetPlugins();
  inputChanged(fDocument, oldDocument);
  fireInputDocumentChanged(oldDocument, fDocument);
  fLastSentSelectionChange= null;
  fReplaceTextPresentation= false;
}
origin: org.eclipse.platform/org.eclipse.jface.text

@Override
public void setDocument(IDocument document, int modelRangeOffset, int modelRangeLength) {
  fReplaceTextPresentation= true;
  fireInputDocumentAboutToBeChanged(fDocument, document);
  IDocument oldDocument= fDocument;
  fDocument= document;
  try {
    IDocument slaveDocument= createSlaveDocument(document);
    updateSlaveDocument(slaveDocument, modelRangeOffset, modelRangeLength);
    setVisibleDocument(slaveDocument);
  } catch (BadLocationException x) {
    throw new IllegalArgumentException(JFaceTextMessages.getString("TextViewer.error.invalid_visible_region_1")); //$NON-NLS-1$
  }
  resetPlugins();
  inputChanged(fDocument, oldDocument);
  fireInputDocumentChanged(oldDocument, fDocument);
  fLastSentSelectionChange= null;
  fReplaceTextPresentation= false;
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

@Override
public void setDocument(IDocument document, int modelRangeOffset, int modelRangeLength) {
  fReplaceTextPresentation= true;
  fireInputDocumentAboutToBeChanged(fDocument, document);
  IDocument oldDocument= fDocument;
  fDocument= document;
  try {
    IDocument slaveDocument= createSlaveDocument(document);
    updateSlaveDocument(slaveDocument, modelRangeOffset, modelRangeLength);
    setVisibleDocument(slaveDocument);
  } catch (BadLocationException x) {
    throw new IllegalArgumentException(JFaceTextMessages.getString("TextViewer.error.invalid_visible_region_1")); //$NON-NLS-1$
  }
  resetPlugins();
  inputChanged(fDocument, oldDocument);
  fireInputDocumentChanged(oldDocument, fDocument);
  fLastSentSelectionChange= null;
  fReplaceTextPresentation= false;
}
org.eclipse.jface.textTextViewerfireInputDocumentChanged

Javadoc

Informs all registered text input listeners about the successful input change, This method does not use a robust iterator.

Popular methods of TextViewer

  • getTextWidget
  • getControl
  • doOperation
  • setDocument
  • modelRange2WidgetRange
    Same as #modelRange2WidgetRange(IRegion) just for a org.eclipse.jface.text.Position.
  • getRewriteTarget
  • getSelection
  • modelLine2WidgetLine
    Implements the contract of ITextViewerExtension5#modelLine2WidgetLine(int).
  • getDocument
  • setSelectedRange
  • setSelection
  • <init>
    Create a new text viewer with the given SWT style bits. The viewer is ready to use but does not have
  • setSelection,
  • <init>,
  • canDoOperation,
  • getVisibleRegion,
  • handleDispose,
  • invalidateTextPresentation,
  • setTopIndex,
  • _getVisibleRegionOffset,
  • activatePlugins,
  • addPresentation

Popular in Java

  • Running tasks concurrently on multiple threads
  • startActivity (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getExternalFilesDir (Context)
  • Permission (java.security)
    Legacy security code; do not use.
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Table (org.hibernate.mapping)
    A relational table
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now