Package cfml.parsing

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


    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

  }

  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

  }

  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

Related Classes of cfml.parsing.CFMLParser

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.