congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
FastPartitioner.rememberRegion
Code IndexAdd Tabnine to your IDE (free)

How to use
rememberRegion
method
in
org.eclipse.jface.text.rules.FastPartitioner

Best Java code snippets using org.eclipse.jface.text.rules.FastPartitioner.rememberRegion (Showing top 4 results out of 315)

origin: at.bestsolution.efxclipse.rt/org.eclipse.fx.text.compat

         !contentType.equals(p.getType())))) {
    rememberRegion(p.offset, p.length);
    fDocument.removePosition(fPositionCategory, p);
    ++ first;
    rememberRegion(start, length);
  } catch (BadPositionCategoryException x) {
  } catch (BadLocationException x) {
p= (TypedPosition) category[first++];
fDocument.removePosition(fPositionCategory, p);
rememberRegion(p.offset, p.length);
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

         !contentType.equals(p.getType())))) {
    rememberRegion(p.offset, p.length);
    fDocument.removePosition(fPositionCategory, p);
    ++ first;
    rememberRegion(start, length);
  } catch (BadPositionCategoryException x) {
  } catch (BadLocationException x) {
p= (TypedPosition) category[first++];
fDocument.removePosition(fPositionCategory, p);
rememberRegion(p.offset, p.length);
origin: org.eclipse.platform/org.eclipse.jface.text

         !contentType.equals(p.getType())))) {
    rememberRegion(p.offset, p.length);
    fDocument.removePosition(fPositionCategory, p);
    ++ first;
    rememberRegion(start, length);
  } catch (BadPositionCategoryException x) {
  } catch (BadLocationException x) {
p= (TypedPosition) category[first++];
fDocument.removePosition(fPositionCategory, p);
rememberRegion(p.offset, p.length);
origin: at.bestsolution.eclipse/org.eclipse.fx.text.compat

         !contentType.equals(p.getType())))) {
    rememberRegion(p.offset, p.length);
    fDocument.removePosition(fPositionCategory, p);
    ++ first;
    rememberRegion(start, length);
  } catch (BadPositionCategoryException x) {
  } catch (BadLocationException x) {
p= (TypedPosition) category[first++];
fDocument.removePosition(fPositionCategory, p);
rememberRegion(p.offset, p.length);
org.eclipse.jface.text.rulesFastPartitionerrememberRegion

Javadoc

Helper method for tracking the minimal region containing all partition changes. If offset is smaller than the remembered offset, offset will from now on be remembered. If offset + length is greater than the remembered end offset, it will be remembered from now on.

Popular methods of FastPartitioner

  • <init>
    Creates a new partitioner that uses the given scanner and may return partitions of the given legal c
  • connect
    May be extended by subclasses.
  • flushRewriteSession
    Flushes the active rewrite session.
  • checkInitialization
    Calls #initialize() if the receiver is not yet initialized.
  • clearPositionCache
    Clears the position cache. Needs to be called whenever the positions have been updated.
  • computePartitioning
    May be replaced or extended by subclasses.
  • createRegion
    Creates the minimal region containing all partition changes using the remembered offset, end offset,
  • documentChanged2
    May be extended by subclasses.
  • findClosestPosition
    Returns the position in the partitoner's position category which is close to the given offset. This
  • getFirstIndexEndingAfterOffset
    Returns the index of the first position which ends after the given offset.
  • getFirstIndexStartingAfterOffset
    Returns the index of the first position which starts at or after the given offset.
  • getPartition
    May be replaced or extended by subclasses.
  • getFirstIndexStartingAfterOffset,
  • getPartition,
  • getPositions,
  • getTokenContentType,
  • initialize,
  • isSupportedContentType,
  • overlapsOrTouches,
  • rememberDeletedOffset,
  • toString

Popular in Java

  • Reactive rest calls using spring rest template
  • setScale (BigDecimal)
  • notifyDataSetChanged (ArrayAdapter)
  • runOnUiThread (Activity)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Collectors (java.util.stream)
  • Top plugins for Android Studio
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