Package clojure.lang

Examples of clojure.lang.Obj


   */
  protected StructuredSelection findClosest(int toFind) {
    Object selected = null;
    for (Object o : forms) {
      if (o instanceof Obj) {
        Obj obj = (Obj) o;
        int lineNr = getLineNr(obj);
        if (lineNr >= 0 && lineNr <= toFind) {
          selected = obj;
        }

View Full Code Here


  private void selectInEditor(ISelection selection) {
    IStructuredSelection sel = (IStructuredSelection) selection;
    if (sel.size() == 0)
      return;

    Obj obj = (Obj) sel.getFirstElement();
    int lineNr = getLineNr(obj);
    if (lineNr >= 0) {
      ClojureCore.gotoEditorLine(editor, lineNr);
    }
  }
View Full Code Here

TOP

Related Classes of clojure.lang.Obj

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.