Commits

Anonymous committed 407ca14

Refactoring console - mostly renaming and changing to use unified lispdev.log

  • Participants
  • Parent commits 80dfef8

Comments (0)

Files changed (1)

src/org/lispdev/replview/ReplConsolePage.java

 import org.eclipse.ui.part.IPageSite;
 import org.lispdev.console.ConsoleEnterTrigger;
 import org.lispdev.console.IConsoleInputListener;
-import org.lispdev.console.LispConsole;
+import org.lispdev.console.LispConsoleViewer;
 import org.lispdev.console.PartitionData;
 import org.lispdev.console.Prompt;
 import org.lispdev.repl.AbstractRepl;
 {
   private IPageSite fSite;
 
-  private LispConsole replConsole; //viewer
+  private LispConsoleViewer replConsole; //viewer
   private Repl repl;
   private final LispProcess process;
   private ConsoleEnterTrigger enterTrigger;
   @Override
   public void createControl(Composite parent)
   {
-    replConsole = new LispConsole(parent/*comp*/, new VerticalRuler(10),
+    replConsole = new LispConsoleViewer(parent/*comp*/, new VerticalRuler(10),
         SWT.V_SCROLL | SWT.H_SCROLL | SWT.MULTI | SWT.LEFT | SWT.BORDER);
     replConsole.getTextWidget().setFont(JFaceResources.getTextFont());
     JFaceResources.getFontRegistry().addListener(fontListener);
 
     enterTrigger =
-      new ConsoleEnterTrigger(replConsole,SWT.SHIFT,LispConsole.BEFORE,false);
+      new ConsoleEnterTrigger(replConsole,SWT.SHIFT,LispConsoleViewer.BEFORE,false);
 
     repl = new Repl(process.getSwank());
     enterTrigger.addInputListener(repl);