Commits

Anonymous committed 8b1e58d

Fixed some new lines in repl output. Still have one extra newline before prompt.

  • Participants
  • Parent commits 2e3bb11

Comments (0)

Files changed (1)

src/org/lispdev/replview/ReplView.java

     @Override
     public void appendOut(String text)
     {
-      replConsole.appendText(text, null, false);
+      replConsole.appendText(text, null, true);
     }
 
     @Override
     public void appendOutInspectable(String text, String id)
     {
-      replConsole.appendText(text,"inspectable",id, null, false);
+      replConsole.appendText(text,"inspectable",id, null, true);
     }
 
     @Override
     public void packageChanged(String pkg)
     {
       replConsole.setPrompt(
-          new Prompt(pkg.toUpperCase()+">", pkg, "1", null,null,SWT.BOLD,true));
+          new Prompt(pkg.toUpperCase()+">", pkg, "1", null,null,SWT.BOLD,false));
     }
 
     @Override
     @Override
     public void disconnecting()
     {
-      replConsole.appendText("Quitting Lisp ...", null, false);
+      replConsole.appendText("Quitting Lisp ...\n", null, true);
     }
 
   }
     JFaceResources.getFontRegistry().addListener(fontListener);
 
     ConsoleInputTrigger inputTrigger =
-      new ConsoleEnterTrigger(replConsole,SWT.SHIFT,LispConsole.BEFORE);
+      new ConsoleEnterTrigger(replConsole,SWT.SHIFT,LispConsole.BEFORE,false);
     initSwank();
 
     repl = new Repl(swank);
     inputTrigger.addInputListener(repl);
     replConsole.getTextWidget().addVerifyKeyListener(inputTrigger);
     replConsole.setPrompt(
-        new Prompt("CL-USER>","prompt","0",null,null,SWT.BOLD,true));
+        new Prompt("CL-USER>","prompt","0",null,null,SWT.BOLD,false));
     replConsole.startEdit();
     repl.disconnected();
   }