Package org.eclipse.jface.internal.text

Examples of org.eclipse.jface.internal.text.SelectionProcessor


   *         <code>false</code> otherwise
   * @throws BadLocationException if accessing the document failed
   * @since 3.5
   */
  public static boolean isEmpty(ITextViewer viewer, ITextSelection selection) throws BadLocationException {
    return new SelectionProcessor(viewer).isEmpty(selection);
  }
View Full Code Here


   * @return the text regions corresponding to <code>selection</code>
   * @throws BadLocationException if accessing the document failed
   * @since 3.5
   */
  public static IRegion[] getCoveredRanges(ITextViewer viewer, ITextSelection selection) throws BadLocationException {
    return new SelectionProcessor(viewer).getRanges(selection);
  }
View Full Code Here

   *             on document access failure
   * @since 3.5
   */
  private void deleteSelection(ITextSelection selection, StyledText textWidget)
      throws BadLocationException {
    new SelectionProcessor(this).doDelete(selection);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jface.internal.text.SelectionProcessor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.