Package org.eclipse.wst.sse.core.internal.provisional.events

Examples of org.eclipse.wst.sse.core.internal.provisional.events.StructuredDocumentEvent


  /**
   * Adding the support to php comments
   */
  protected StructuredDocumentEvent checkForComments() {
    StructuredDocumentEvent result = checkForCriticalKey("/*"); //$NON-NLS-1$
    if (result == null) {
      result = checkForCriticalKey("*/"); //$NON-NLS-1$
    }
    return result != null ? result : super.checkForComments();
  }
View Full Code Here


  /**
   * This function was added in order to support asp tags in PHP (bug fix
   * #150363)
   */
  protected StructuredDocumentEvent checkForCrossStructuredDocumentRegionSyntax() {
    StructuredDocumentEvent result = super
        .checkForCrossStructuredDocumentRegionSyntax();
    if (result == null) {
      result = checkForCriticalKey("<%"); //$NON-NLS-1$
      if (result == null)
        result = checkForCriticalKey("%>"); //$NON-NLS-1$
View Full Code Here

  /**
   * Change PHP Script Regions nodes...
   */
  protected StructuredDocumentEvent regionCheck(
      IStructuredDocumentRegion oldNode, IStructuredDocumentRegion newNode) {
    final StructuredDocumentEvent event = super.regionCheck(oldNode,
        newNode);

    if (event instanceof RegionChangedEvent) {
      RegionChangedEvent changedEvent = (RegionChangedEvent) event;

View Full Code Here

  /**
   * This implementation updates the php tokens model after updating WST
   * editor model
   */
  public StructuredDocumentEvent reparse() {
    final StructuredDocumentEvent documentEvent = super.reparse();
    return documentEvent;
  }
View Full Code Here

    }

    protected StructuredDocumentEvent regionCheck(
            IStructuredDocumentRegion oldNode, IStructuredDocumentRegion newNode)
    {
        final StructuredDocumentEvent event = super.regionCheck(oldNode,
                newNode);

        if (event instanceof RegionChangedEvent) {
            RegionChangedEvent changedEvent = (RegionChangedEvent) event;
View Full Code Here

    }

    protected StructuredDocumentEvent checkForComments()
    {

        StructuredDocumentEvent result = checkForCriticalKey("{#"); //$NON-NLS-1$
        if (result == null) {
            result = checkForCriticalKey("#}"); //$NON-NLS-1$
        }
        return result != null ? result : super.checkForComments();
    }
View Full Code Here

    }

    public StructuredDocumentEvent reparse()
    {

        final StructuredDocumentEvent event = super.reparse();
        return event;

    }
View Full Code Here

TOP

Related Classes of org.eclipse.wst.sse.core.internal.provisional.events.StructuredDocumentEvent

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.