Commits

Anonymous committed 495e009

- Repl now scrolls down, when text is appended.
- Added load project comment to repl.

  • Participants
  • Parent commits 762207d

Comments (0)

Files changed (2)

File org.lispdev.console/src/org/lispdev/console/LispConsoleViewer.java

   private void setEditOffset(int offset)
   {
     editOffset = offset;
+    revealRange(editOffset, 0);
   }
   /**
    * @return starting offset of editing region
   public void setCaretToEnd()
   {
     setCaret(doc.getLength());
+    revealRange(doc.getLength(), 0);
   }
 
   /**
         + ", with prompt \"" + prompt + "\", and context \""
         + prompt.partition.context
         + "\"");
-    getTextWidget().setCaretOffset(getDocument().getLength());
+    setCaretToEnd();
   }
 
   public void startEdit()
     //existing one when updating offsets
     PartitionData pdnew = pd.clone();
     createReadOnlyPartition(insoffset, txt.length(), pdnew);
-    getTextWidget().setCaretOffset(insoffset+pdnew.length);
+    setCaret(insoffset+pdnew.length);
   }
 
   private void createReadOnlyPartition(int offset, int length,
     stopEdit();
   }
 
-  /*
-   * ================= Trivial Logging facility ===================
-   *
-   */
-
-  /**
-   * Set this flag to false if you want to see Info messages.
-   */
-  public boolean quietInfo = false;
-  /**
-   * Set this flag to false if you want to see Warning messages.
-   */
-  public boolean quietWarn = false;
-  /**
-   * Set this flag to false if you want to see Error messages.
-   */
-  public boolean quietErr = false;
   /**
    * Set this flag to false if you want to see Trace messages.
    */

File org.lispdev.main/src/org/lispdev/main/LoadProjectAction.java

             final IProject proj = asdfile.getProject();
 
             AbstractRepl repl = ReplPlugin.get().getRepl(config);
+            repl.appendOut("Loaded " + asdfile.getName() + "\n");
             repl.doInput();
-
             addCompilationMarkers(info, proj);
           }
         });