diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2015-09-02 14:44:56 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2015-09-23 15:43:50 +1000 |
commit | 9f8961c58a01e83cf4bc782ac03dd9919983ce30 (patch) | |
tree | 07e7cea7780ddf2583b89db2440e488974a6c609 /src/repl/scala/tools/nsc/interpreter/PresentationCompilerCompleter.scala | |
parent | df704ef7389ff6265afc1278783489ee97ee4ce7 (diff) | |
download | scala-9f8961c58a01e83cf4bc782ac03dd9919983ce30.tar.gz scala-9f8961c58a01e83cf4bc782ac03dd9919983ce30.tar.bz2 scala-9f8961c58a01e83cf4bc782ac03dd9919983ce30.zip |
Remove the old REPL tab completion implementation
We kept it around behind an option in 2.11.x, but we can
jettison it in 2.12.x.
Diffstat (limited to 'src/repl/scala/tools/nsc/interpreter/PresentationCompilerCompleter.scala')
-rw-r--r-- | src/repl/scala/tools/nsc/interpreter/PresentationCompilerCompleter.scala | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/repl/scala/tools/nsc/interpreter/PresentationCompilerCompleter.scala b/src/repl/scala/tools/nsc/interpreter/PresentationCompilerCompleter.scala index 0fb3236966..d9dbd780d4 100644 --- a/src/repl/scala/tools/nsc/interpreter/PresentationCompilerCompleter.scala +++ b/src/repl/scala/tools/nsc/interpreter/PresentationCompilerCompleter.scala @@ -6,10 +6,10 @@ package scala.tools.nsc.interpreter import scala.reflect.internal.Flags import scala.reflect.internal.util.StringOps -import scala.tools.nsc.interpreter.Completion.{ScalaCompleter, Candidates} +import scala.tools.nsc.interpreter.Completion.Candidates import scala.util.control.NonFatal -class PresentationCompilerCompleter(intp: IMain) extends Completion with ScalaCompleter { +class PresentationCompilerCompleter(intp: IMain) extends Completion { import PresentationCompilerCompleter._ import intp.{PresentationCompileResult => Result} @@ -20,7 +20,6 @@ class PresentationCompilerCompleter(intp: IMain) extends Completion with ScalaCo private var lastCommonPrefixCompletion: Option[String] = None def resetVerbosity(): Unit = { tabCount = 0 ; lastRequest = NoRequest } - def completer(): ScalaCompleter = this // A convenience for testing def complete(before: String, after: String = ""): Candidates = complete(before + after, before.length) |