Permalink
Browse files

Fixed compilation error and reformat indentation.

  • Loading branch information...
dragos committed Apr 7, 2011
1 parent aa1c257 commit 2c4eed58b32a690b9303517a378ec9962b69f636
@@ -23,7 +23,7 @@ import java.lang.Math.min
import scala.collection.mutable.Map
import scala.annotation.tailrec
import scala.tools.eclipse.ScalaPlugin
-import scala.tools.eclipse.formatter.FormatterPreferencePage
+import scala.tools.eclipse.formatter.FormatterPreferences
// TODO Move this out into a new file
trait PreferenceProvider {
@@ -61,7 +61,7 @@ class JdtPreferenceProvider(val project : IJavaProject) extends PreferenceProvid
// TODO: Matt -- use better pref lookup when merged with formatter-preferences-page branch
val scalaPrefs = ScalaPlugin.plugin.getPreferenceStore
- val key = FormatterPreferencePage.prefix + scalariform.formatter.preferences.IndentSpaces.key
+ val key = FormatterPreferences.PREFIX + scalariform.formatter.preferences.IndentSpaces.key
val indent = scalaPrefs.getInt(key)
put(ScalaIndenter.TAB_SIZE, indent.toString)
put(ScalaIndenter.INDENT_SIZE, indent.toString)
Oops, something went wrong.

0 comments on commit 2c4eed5

Please sign in to comment.