Package org.netbeans.modules.php.nette.editor.completion.items

Examples of org.netbeans.modules.php.nette.editor.completion.items.LatteCompletionItem


      if(macro.isPair()) {
        macro = new LatteMacro("/" + macro.getEndMacroName());
        macro.setSyntax(syntax);
      }
      if(m.startsWith(filter)) {
        list.add(new LatteCompletionItem(macro, startOffset, caretOffset));
      }
    }
    return list;
  }
View Full Code Here


  private static List<CompletionItem> getMacroCompletion(int startOffset, int caretOffset, String filter, Syntax syntax) {
    List<CompletionItem> list = new ArrayList<CompletionItem>();
    for(LatteMacro macro : MacroDefinitions.macros) {
      macro.setSyntax(syntax);
      if(macro.getMacro().startsWith(filter)) {
        list.add(new LatteCompletionItem(macro, startOffset, caretOffset));
      }
    }
    return list;
  }
View Full Code Here

TOP

Related Classes of org.netbeans.modules.php.nette.editor.completion.items.LatteCompletionItem

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.