Package org.eclipse.jface.text.projection

Examples of org.eclipse.jface.text.projection.ProjectionDocument


   * @throws BadLocationException in case the range is invalid
   */
  private void expand(int offset, int length, boolean fireRedraw) throws BadLocationException {
    IDocument slave= getVisibleDocument();
    if (slave instanceof ProjectionDocument) {
      ProjectionDocument projection= (ProjectionDocument) slave;

      // expand
      addMasterDocumentRange(projection, offset, length);

      // collapse contained regions
View Full Code Here


   *
   * @throws BadLocationException in case something goes wrong during initialization
   */
  public final void reinitializeProjection() throws BadLocationException {

    ProjectionDocument projection= null;

    ISlaveDocumentManager manager= getSlaveDocumentManager();
    if (manager != null) {
      IDocument master= getDocument();
      if (master != null) {
View Full Code Here

TOP

Related Classes of org.eclipse.jface.text.projection.ProjectionDocument

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.