Commits

Anonymous committed 0c5e04f

Removed unused file.

Comments (0)

Files changed (2)

org.lispdev.editor/src/org/lispdev/editor/autoedits/IndentOnEnter.java

     if( ast == null ) return null;
     Node n = ast.getNodeAtOffset(offset);
     if( n == null ) return null;
-    Sexp s0 = ( n.firstToken().parseType() == ParseType.OPEN_PAREN ?
-      (Sexp)n : TreeWalker.getSexp(n) );
+    Sexp s0 = ( n.firstToken().parseType() == ParseType.OPEN_PAREN
+        ? (Sexp)n : TreeWalker.getSexp(n) );
     return s0;
 
   }

org.lispdev.editor/src/org/lispdev/editor/utils/ConsoleUtil.java

-package org.lispdev.editor.utils;
-
-/*******************************************************************************
-* Copyright (c) 2008 IBM Corporation.
-* All rights reserved. This program and the accompanying materials
-* are made available under the terms of the Eclipse Public License v1.0
-* which accompanies this distribution, and is available at
-* http://www.eclipse.org/legal/epl-v10.html
-*
-* Contributors:
-*    Robert Fuhrer (rfuhrer@watson.ibm.com) - initial API and implementation
-
-*******************************************************************************/
-
-
-import java.io.PrintStream;
-
-import org.eclipse.ui.console.ConsolePlugin;
-import org.eclipse.ui.console.IConsole;
-import org.eclipse.ui.console.IConsoleManager;
-import org.eclipse.ui.console.MessageConsole;
-import org.eclipse.ui.console.MessageConsoleStream;
-
-public class ConsoleUtil
-{
-  public static MessageConsole findConsole(String name)
-  {
-    MessageConsole myConsole = null;
-    final IConsoleManager consoleManager = ConsolePlugin.getDefault()
-        .getConsoleManager();
-    IConsole[] consoles = consoleManager.getConsoles();
-    for(int i = 0; i < consoles.length; i++)
-    {
-      IConsole console = consoles[i];
-      if( console.getName().equals(name) ) myConsole = (MessageConsole)console;
-    }
-    if( myConsole == null )
-    {
-      myConsole = new MessageConsole(name, null);
-      consoleManager.addConsoles(new IConsole[]{myConsole});
-    }
-    consoleManager.showConsoleView(myConsole);
-    return myConsole;
-  }
-
-  public static PrintStream findConsoleStream(String name)
-  {
-    MessageConsole myConsole = findConsole(name);
-    MessageConsoleStream consStream = myConsole.newMessageStream();
-    PrintStream ps = new PrintStream(consStream);
-
-    return ps;
-  }
-}