Examples of CFMLParser


Examples of cfml.parsing.CFMLParser

    if ((e.stateMask & SWT.MOD1) != 0) {

      CFMLPropertyManager propertyManager = new CFMLPropertyManager();
      String dict = propertyManager.getCurrentDictionary(((IFileEditorInput) editor.getEditorInput()).getFile().getProject());
      CFMLParser fCfmlParser = CFMLPlugin.newCFMLParser(dict);
      ICFDocument cfd = (ICFDocument) this.fViewer.getDocument();
      CFMLSource cfmlSource = fCfmlParser.addCFMLSource(cfd.getCFDocument().getFilename(),cfd.get());
      ParserTag tag = cfmlSource.getEnclosingTag(startpos);
      int start = 0;
      int length = 0;
      if (tag != null) {
View Full Code Here

Examples of cfml.parsing.CFMLParser

    return ResourcesPlugin.getWorkspace();
  }

  public static CFMLParser newCFMLParser(String dict) {
    CFMLPropertyManager propertyManager = new CFMLPropertyManager();
    CFMLParser parser = new CFMLParser(propertyManager.getDictionaryDir(), dict);
    return parser;
  }
View Full Code Here

Examples of cfml.parsing.CFMLParser

  }

  public void ExpandTagSelectionDown(IDocument doc, ITextSelection sel) {
    CFMLPropertyManager propertyManager = new CFMLPropertyManager();
    String dict = propertyManager.getCurrentDictionary(((IFileEditorInput) editor.getEditorInput()).getFile().getProject());
    CFMLParser fCfmlParser = CFMLPlugin.newCFMLParser(dict);
    ICFDocument cfd = (ICFDocument) doc;
    CFMLSource cfmlSource = fCfmlParser.addCFMLSource(cfd.getCFDocument().getFilename(), cfd.get());
    int offset = sel.getOffset();
    ParserTag currentTag = getNextTagDown(offset+sel.getLength(), cfmlSource);
    if (currentTag == null)
      // at end of doc
      return;
View Full Code Here

Examples of cfml.parsing.CFMLParser

  }

  public void expandTagSelection(IDocument doc, ITextSelection sel) {
    CFMLPropertyManager propertyManager = new CFMLPropertyManager();
    String dict = propertyManager.getCurrentDictionary(((IFileEditorInput) editor.getEditorInput()).getFile().getProject());
    CFMLParser fCfmlParser = CFMLPlugin.newCFMLParser(dict);
    ICFDocument cfd = (ICFDocument) doc;
    CFMLSource cfmlSource = fCfmlParser.addCFMLSource(cfd.getCFDocument().getFilename(), cfd.get());
    int offset = sel.getOffset();
    ParserTag currentTag = getNextTagLeft(offset, cfmlSource);
    if (currentTag == null){
      // at end of doc
      return;     
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.