Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merging release to master

  • Loading branch information...
commit 001d67f792c1b3beec161dcb4b0359f4a09c073c 2 parents 108af87 + 7b4ab17
@pinnamur pinnamur authored
Showing with 57 additions and 43 deletions.
  1. +1 −1  features/org.radrails.rails/feature.xml
  2. +2 −1  ...com.aptana.deploy.heroku/src/com/aptana/deploy/heroku/internal/preferences/HerokuPreferenceInitializer.java
  3. +2 −1  plugins/com.aptana.deploy.heroku/src/com/aptana/deploy/heroku/ui/wizard/HerokuDeployWizard.java
  4. +2 −2 plugins/com.aptana.editor.erb/src/com/aptana/editor/erb/preferences/ERBPreferencePage.java
  5. +2 −2 plugins/com.aptana.editor.erb/src/com/aptana/editor/erb/preferences/PreferenceInitializer.java
  6. +4 −3 plugins/com.aptana.editor.haml/src/com/aptana/editor/haml/preferences/HAMLPreferenceInitializer.java
  7. +4 −3 plugins/com.aptana.editor.haml/src/com/aptana/editor/haml/preferences/HAMLPreferencePage.java
  8. +2 −1  plugins/com.aptana.editor.ruby.formatter.epl/src/com/aptana/editor/ruby/formatter/RubyFormatterFactory.java
  9. +2 −1  ...ruby.formatter.epl/src/com/aptana/editor/ruby/formatter/preferences/RubyFormatterPreferenceInitializer.java
  10. +4 −2 plugins/com.aptana.editor.ruby/src/com/aptana/editor/ruby/preferences/RubyPreferenceInitializer.java
  11. +5 −3 plugins/com.aptana.editor.ruby/src/com/aptana/editor/ruby/preferences/RubyPreferencePage.java
  12. +4 −3 plugins/com.aptana.editor.sass/src/com/aptana/editor/sass/preferences/SASSPreferenceInitializer.java
  13. +4 −2 plugins/com.aptana.editor.sass/src/com/aptana/editor/sass/preferences/SassPreferencePage.java
  14. +2 −2 plugins/com.aptana.ruby.core/src/com/aptana/ruby/internal/core/index/CoreStubber.java
  15. +17 −16 tests/com.aptana.editor.ruby.tests/src/com/aptana/editor/ruby/internal/text/RubyFoldingComputerTest.java
View
2  features/org.radrails.rails/feature.xml
@@ -2,7 +2,7 @@
<feature
id="org.radrails.rails"
label="%featureName"
- version="3.4.2.qualifier"
+ version="3.6.1.qualifier"
provider-name="%providerName"
plugin="com.aptana.editor.ruby">
View
3  ....aptana.deploy.heroku/src/com/aptana/deploy/heroku/internal/preferences/HerokuPreferenceInitializer.java
@@ -8,6 +8,7 @@
package com.aptana.deploy.heroku.internal.preferences;
import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
+import org.eclipse.core.runtime.preferences.DefaultScope;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
import com.aptana.core.util.EclipseUtil;
@@ -20,7 +21,7 @@
@Override
public void initializeDefaultPreferences()
{
- IEclipsePreferences prefs = (EclipseUtil.defaultScope()).getNode(HerokuPlugin.getPluginIdentifier());
+ IEclipsePreferences prefs = DefaultScope.INSTANCE.getNode(HerokuPlugin.getPluginIdentifier());
prefs.putBoolean(IPreferenceConstants.HEROKU_AUTO_PUBLISH, true);
}
}
View
3  plugins/com.aptana.deploy.heroku/src/com/aptana/deploy/heroku/ui/wizard/HerokuDeployWizard.java
@@ -20,6 +20,7 @@
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.SubMonitor;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
+import org.eclipse.core.runtime.preferences.InstanceScope;
import org.eclipse.jface.operation.IRunnableWithProgress;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.wizard.IWizardPage;
@@ -125,7 +126,7 @@ protected IRunnableWithProgress createHerokuDeployRunnable(HerokuDeployWizardPag
final boolean publishImmediately = page.publishImmediately();
// persists the auto-publish setting
- IEclipsePreferences prefs = (EclipseUtil.instanceScope()).getNode(HerokuPlugin.getPluginIdentifier());
+ IEclipsePreferences prefs = InstanceScope.INSTANCE.getNode(HerokuPlugin.getPluginIdentifier());
prefs.putBoolean(IPreferenceConstants.HEROKU_AUTO_PUBLISH, publishImmediately);
try
{
View
4 plugins/com.aptana.editor.erb/src/com/aptana/editor/erb/preferences/ERBPreferencePage.java
@@ -8,9 +8,9 @@
package com.aptana.editor.erb.preferences;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
+import org.eclipse.core.runtime.preferences.InstanceScope;
import org.eclipse.jface.preference.IPreferenceStore;
-import com.aptana.core.util.EclipseUtil;
import com.aptana.editor.common.preferences.CommonEditorPreferencePage;
import com.aptana.editor.erb.ERBEditorPlugin;
import com.aptana.editor.erb.html.RHTMLEditor;
@@ -32,7 +32,7 @@ protected IPreferenceStore getChainedEditorPreferenceStore()
@Override
protected IEclipsePreferences getPluginPreferenceStore()
{
- return EclipseUtil.instanceScope().getNode(ERBEditorPlugin.PLUGIN_ID);
+ return InstanceScope.INSTANCE.getNode(ERBEditorPlugin.PLUGIN_ID);
}
}
View
4 plugins/com.aptana.editor.erb/src/com/aptana/editor/erb/preferences/PreferenceInitializer.java
@@ -8,9 +8,9 @@
package com.aptana.editor.erb.preferences;
import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
+import org.eclipse.core.runtime.preferences.DefaultScope;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
-import com.aptana.core.util.EclipseUtil;
import com.aptana.editor.erb.ERBEditorPlugin;
public class PreferenceInitializer extends AbstractPreferenceInitializer
@@ -19,7 +19,7 @@
@Override
public void initializeDefaultPreferences()
{
- IEclipsePreferences prefs = (EclipseUtil.defaultScope()).getNode(ERBEditorPlugin.PLUGIN_ID);
+ IEclipsePreferences prefs = DefaultScope.INSTANCE.getNode(ERBEditorPlugin.PLUGIN_ID);
prefs.putBoolean(com.aptana.editor.common.preferences.IPreferenceConstants.EDITOR_AUTO_INDENT, true);
prefs.putBoolean(com.aptana.editor.common.preferences.IPreferenceConstants.EDITOR_ENABLE_FOLDING, true);
View
7 plugins/com.aptana.editor.haml/src/com/aptana/editor/haml/preferences/HAMLPreferenceInitializer.java
@@ -8,10 +8,11 @@
package com.aptana.editor.haml.preferences;
import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
+import org.eclipse.core.runtime.preferences.DefaultScope;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
+import org.eclipse.core.runtime.preferences.InstanceScope;
import org.eclipse.ui.texteditor.AbstractDecoratedTextEditorPreferenceConstants;
-import com.aptana.core.util.EclipseUtil;
import com.aptana.editor.common.preferences.IPreferenceConstants;
import com.aptana.editor.haml.HAMLEditorPlugin;
@@ -20,7 +21,7 @@
@Override
public void initializeDefaultPreferences()
{
- IEclipsePreferences prefs = EclipseUtil.defaultScope().getNode(HAMLEditorPlugin.PLUGIN_ID);
+ IEclipsePreferences prefs = DefaultScope.INSTANCE.getNode(HAMLEditorPlugin.PLUGIN_ID);
prefs.putBoolean(com.aptana.editor.common.preferences.IPreferenceConstants.EDITOR_ENABLE_FOLDING, true);
prefs.putBoolean(IPreferenceConstants.EDITOR_AUTO_INDENT, true);
@@ -28,7 +29,7 @@ public void initializeDefaultPreferences()
// prefs.putBoolean(com.aptana.editor.common.preferences.IPreferenceConstants.EDITOR_MARK_OCCURRENCES, true);
// Check if we previously set preference to use global defaults
- IEclipsePreferences instanceScopePref = EclipseUtil.instanceScope().getNode(HAMLEditorPlugin.PLUGIN_ID);
+ IEclipsePreferences instanceScopePref = InstanceScope.INSTANCE.getNode(HAMLEditorPlugin.PLUGIN_ID);
if (!instanceScopePref.getBoolean(IPreferenceConstants.USE_GLOBAL_DEFAULTS, false))
{
prefs.putInt(AbstractDecoratedTextEditorPreferenceConstants.EDITOR_TAB_WIDTH,
View
7 plugins/com.aptana.editor.haml/src/com/aptana/editor/haml/preferences/HAMLPreferencePage.java
@@ -7,10 +7,11 @@
*/
package com.aptana.editor.haml.preferences;
+import org.eclipse.core.runtime.preferences.DefaultScope;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
+import org.eclipse.core.runtime.preferences.InstanceScope;
import org.eclipse.jface.preference.IPreferenceStore;
-import com.aptana.core.util.EclipseUtil;
import com.aptana.editor.common.preferences.CommonEditorPreferencePage;
import com.aptana.editor.haml.HAMLEditor;
import com.aptana.editor.haml.HAMLEditorPlugin;
@@ -32,7 +33,7 @@ public HAMLPreferencePage()
@Override
protected IEclipsePreferences getPluginPreferenceStore()
{
- return EclipseUtil.instanceScope().getNode(HAMLEditorPlugin.PLUGIN_ID);
+ return InstanceScope.INSTANCE.getNode(HAMLEditorPlugin.PLUGIN_ID);
}
@Override
@@ -44,7 +45,7 @@ protected IPreferenceStore getChainedEditorPreferenceStore()
@Override
protected IEclipsePreferences getDefaultPluginPreferenceStore()
{
- return EclipseUtil.defaultScope().getNode(HAMLEditorPlugin.PLUGIN_ID);
+ return DefaultScope.INSTANCE.getNode(HAMLEditorPlugin.PLUGIN_ID);
}
@Override
View
3  plugins/com.aptana.editor.ruby.formatter.epl/src/com/aptana/editor/ruby/formatter/RubyFormatterFactory.java
@@ -16,6 +16,7 @@
import java.util.Map;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
+import org.eclipse.core.runtime.preferences.InstanceScope;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.text.source.ISharedTextColors;
import org.eclipse.jface.text.source.SourceViewerConfiguration;
@@ -117,7 +118,7 @@ public Object getPartitioningConfiguration()
@Override
protected IEclipsePreferences getEclipsePreferences()
{
- return EclipseUtil.instanceScope().getNode(RubyEditorPlugin.PLUGIN_ID);
+ return InstanceScope.INSTANCE.getNode(RubyEditorPlugin.PLUGIN_ID);
}
/*
View
3  ...y.formatter.epl/src/com/aptana/editor/ruby/formatter/preferences/RubyFormatterPreferenceInitializer.java
@@ -10,6 +10,7 @@
package com.aptana.editor.ruby.formatter.preferences;
import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
+import org.eclipse.core.runtime.preferences.DefaultScope;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
import org.osgi.service.prefs.BackingStoreException;
@@ -27,7 +28,7 @@
public void initializeDefaultPreferences()
{
- IEclipsePreferences store = EclipseUtil.defaultScope().getNode(RubyFormatterPlugin.PLUGIN_ID);
+ IEclipsePreferences store = DefaultScope.INSTANCE.getNode(RubyFormatterPlugin.PLUGIN_ID);
//
store.putBoolean(RubyFormatterConstants.INDENT_CLASS, true);
store.putBoolean(RubyFormatterConstants.INDENT_MODULE, true);
View
6 plugins/com.aptana.editor.ruby/src/com/aptana/editor/ruby/preferences/RubyPreferenceInitializer.java
@@ -8,7 +8,9 @@
package com.aptana.editor.ruby.preferences;
import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
+import org.eclipse.core.runtime.preferences.DefaultScope;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
+import org.eclipse.core.runtime.preferences.InstanceScope;
import org.eclipse.ui.texteditor.AbstractDecoratedTextEditorPreferenceConstants;
import com.aptana.core.util.EclipseUtil;
@@ -21,7 +23,7 @@
@Override
public void initializeDefaultPreferences()
{
- IEclipsePreferences prefs = EclipseUtil.defaultScope().getNode(RubyEditorPlugin.PLUGIN_ID);
+ IEclipsePreferences prefs = DefaultScope.INSTANCE.getNode(RubyEditorPlugin.PLUGIN_ID);
prefs.putBoolean(IPreferenceConstants.EDITOR_AUTO_INDENT, true);
prefs.putBoolean(IPreferenceConstants.EDITOR_ENABLE_FOLDING, true);
prefs.put(
@@ -32,7 +34,7 @@ public void initializeDefaultPreferences()
// prefs.putBoolean(com.aptana.editor.common.preferences.IPreferenceConstants.EDITOR_MARK_OCCURRENCES, true);
// Check if we previously set preference to use global defaults
- IEclipsePreferences instanceScopePref = EclipseUtil.instanceScope().getNode(RubyEditorPlugin.PLUGIN_ID);
+ IEclipsePreferences instanceScopePref = InstanceScope.INSTANCE.getNode(RubyEditorPlugin.PLUGIN_ID);
if (!instanceScopePref.getBoolean(IPreferenceConstants.USE_GLOBAL_DEFAULTS, false))
{
prefs.putInt(AbstractDecoratedTextEditorPreferenceConstants.EDITOR_TAB_WIDTH,
View
8 plugins/com.aptana.editor.ruby/src/com/aptana/editor/ruby/preferences/RubyPreferencePage.java
@@ -7,7 +7,9 @@
*/
package com.aptana.editor.ruby.preferences;
+import org.eclipse.core.runtime.preferences.DefaultScope;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
+import org.eclipse.core.runtime.preferences.InstanceScope;
import org.eclipse.jface.preference.BooleanFieldEditor;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.util.PropertyChangeEvent;
@@ -42,7 +44,7 @@ public RubyPreferencePage()
@Override
protected IEclipsePreferences getPluginPreferenceStore()
{
- return EclipseUtil.instanceScope().getNode(RubyEditorPlugin.PLUGIN_ID);
+ return InstanceScope.INSTANCE.getNode(RubyEditorPlugin.PLUGIN_ID);
}
@Override
@@ -54,7 +56,7 @@ protected IPreferenceStore getChainedEditorPreferenceStore()
@Override
protected IEclipsePreferences getDefaultPluginPreferenceStore()
{
- return EclipseUtil.defaultScope().getNode(RubyEditorPlugin.PLUGIN_ID);
+ return DefaultScope.INSTANCE.getNode(RubyEditorPlugin.PLUGIN_ID);
}
@Override
@@ -69,7 +71,7 @@ protected int getDefaultTabWidth()
return IRubyPreferenceConstants.DEFAULT_RUBY_TAB_WIDTH;
}
- @Override
+ @Override
protected Composite createFoldingOptions(Composite parent)
{
this.foldingGroup = super.createFoldingOptions(parent);
View
7 plugins/com.aptana.editor.sass/src/com/aptana/editor/sass/preferences/SASSPreferenceInitializer.java
@@ -8,10 +8,11 @@
package com.aptana.editor.sass.preferences;
import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
+import org.eclipse.core.runtime.preferences.DefaultScope;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
+import org.eclipse.core.runtime.preferences.InstanceScope;
import org.eclipse.ui.texteditor.AbstractDecoratedTextEditorPreferenceConstants;
-import com.aptana.core.util.EclipseUtil;
import com.aptana.editor.common.preferences.IPreferenceConstants;
import com.aptana.editor.sass.SassPlugin;
@@ -20,7 +21,7 @@
@Override
public void initializeDefaultPreferences()
{
- IEclipsePreferences prefs = EclipseUtil.defaultScope().getNode(SassPlugin.PLUGIN_ID);
+ IEclipsePreferences prefs = DefaultScope.INSTANCE.getNode(SassPlugin.PLUGIN_ID);
prefs.putBoolean(IPreferenceConstants.EDITOR_AUTO_INDENT, true);
prefs.putBoolean(IPreferenceConstants.EDITOR_ENABLE_FOLDING, true);
@@ -28,7 +29,7 @@ public void initializeDefaultPreferences()
// prefs.putBoolean(com.aptana.editor.common.preferences.IPreferenceConstants.EDITOR_MARK_OCCURRENCES, true);
// Check if we previously set preference to use global defaults
- IEclipsePreferences instanceScopePref = EclipseUtil.instanceScope().getNode(SassPlugin.PLUGIN_ID);
+ IEclipsePreferences instanceScopePref = InstanceScope.INSTANCE.getNode(SassPlugin.PLUGIN_ID);
if (!instanceScopePref.getBoolean(IPreferenceConstants.USE_GLOBAL_DEFAULTS, false))
{
prefs.putInt(AbstractDecoratedTextEditorPreferenceConstants.EDITOR_TAB_WIDTH,
View
6 plugins/com.aptana.editor.sass/src/com/aptana/editor/sass/preferences/SassPreferencePage.java
@@ -7,7 +7,9 @@
*/
package com.aptana.editor.sass.preferences;
+import org.eclipse.core.runtime.preferences.DefaultScope;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
+import org.eclipse.core.runtime.preferences.InstanceScope;
import org.eclipse.jface.preference.IPreferenceStore;
import com.aptana.core.util.EclipseUtil;
@@ -32,7 +34,7 @@ public SassPreferencePage()
@Override
protected IEclipsePreferences getPluginPreferenceStore()
{
- return EclipseUtil.instanceScope().getNode(SassPlugin.PLUGIN_ID);
+ return InstanceScope.INSTANCE.getNode(SassPlugin.PLUGIN_ID);
}
@Override
@@ -44,7 +46,7 @@ protected IPreferenceStore getChainedEditorPreferenceStore()
@Override
protected IEclipsePreferences getDefaultPluginPreferenceStore()
{
- return EclipseUtil.defaultScope().getNode(SassPlugin.PLUGIN_ID);
+ return DefaultScope.INSTANCE.getNode(SassPlugin.PLUGIN_ID);
}
@Override
View
4 plugins/com.aptana.ruby.core/src/com/aptana/ruby/internal/core/index/CoreStubber.java
@@ -44,13 +44,13 @@
import org.eclipse.core.runtime.content.IContentTypeManager;
import org.eclipse.core.runtime.jobs.Job;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
+import org.eclipse.core.runtime.preferences.InstanceScope;
import org.osgi.service.prefs.BackingStoreException;
import com.aptana.core.ShellExecutable;
import com.aptana.core.logging.IdeLog;
import com.aptana.core.util.ArrayUtil;
import com.aptana.core.util.CollectionsUtil;
-import com.aptana.core.util.EclipseUtil;
import com.aptana.core.util.FileUtil;
import com.aptana.core.util.ProcessUtil;
import com.aptana.core.util.ResourceUtil;
@@ -597,7 +597,7 @@ protected IndexRubyContainerJob indexFiles(URI outputDir)
protected void storeIndexVersion()
{
// Store current version of index in prefs so we can force re-index if indexer changes
- IEclipsePreferences prefs = EclipseUtil.instanceScope().getNode(RubyCorePlugin.PLUGIN_ID);
+ IEclipsePreferences prefs = InstanceScope.INSTANCE.getNode(RubyCorePlugin.PLUGIN_ID);
prefs.putInt(RubySourceIndexer.VERSION_KEY, RubySourceIndexer.CURRENT_VERSION);
try
{
View
33 tests/com.aptana.editor.ruby.tests/src/com/aptana/editor/ruby/internal/text/RubyFoldingComputerTest.java
@@ -1,20 +1,21 @@
package com.aptana.editor.ruby.internal.text;
-import org.junit.After;
-import org.junit.Test;
-import static org.junit.Assert.*;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
+
import java.util.Collection;
import java.util.Map;
-import junit.framework.TestCase;
-
import org.eclipse.core.runtime.NullProgressMonitor;
+import org.eclipse.core.runtime.preferences.InstanceScope;
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.Document;
import org.eclipse.jface.text.Position;
import org.eclipse.jface.text.source.projection.ProjectionAnnotation;
+import org.junit.After;
+import org.junit.Test;
-import com.aptana.core.util.EclipseUtil;
import com.aptana.editor.ruby.RubyEditorPlugin;
import com.aptana.editor.ruby.preferences.IPreferenceConstants;
import com.aptana.parsing.IParseState;
@@ -27,12 +28,12 @@
private RubyFoldingComputer folder;
-// @Override
+ // @Override
@After
public void tearDown() throws Exception
{
folder = null;
-// super.tearDown();
+ // super.tearDown();
}
protected void createFolder(String src)
@@ -149,8 +150,8 @@ public void testCommentInitiallyFolded() throws Exception
createFolder(src);
// Turn on initially folding comments
- EclipseUtil.instanceScope().getNode(RubyEditorPlugin.PLUGIN_ID)
- .putBoolean(IPreferenceConstants.INITIALLY_FOLD_COMMENTS, true);
+ InstanceScope.INSTANCE.getNode(RubyEditorPlugin.PLUGIN_ID).putBoolean(
+ IPreferenceConstants.INITIALLY_FOLD_COMMENTS, true);
Map<ProjectionAnnotation, Position> annotations = emitFoldingRegions(true, src);
assertEquals("Wrong number of folding annotations", 1, annotations.size());
@@ -172,8 +173,8 @@ public void testMethodInitiallyFolded() throws Exception
createFolder(src);
// Turn on initially folding functions
- EclipseUtil.instanceScope().getNode(RubyEditorPlugin.PLUGIN_ID)
- .putBoolean(IPreferenceConstants.INITIALLY_FOLD_METHODS, true);
+ InstanceScope.INSTANCE.getNode(RubyEditorPlugin.PLUGIN_ID).putBoolean(
+ IPreferenceConstants.INITIALLY_FOLD_METHODS, true);
Map<ProjectionAnnotation, Position> annotations = emitFoldingRegions(true, src);
assertTrue(annotations.keySet().iterator().next().isCollapsed());
@@ -196,8 +197,8 @@ public void testInnerTypeInitiallyFolded() throws Exception
createFolder(src);
// Turn on initially folding arrays
- EclipseUtil.instanceScope().getNode(RubyEditorPlugin.PLUGIN_ID)
- .putBoolean(IPreferenceConstants.INITIALLY_FOLD_INNER_TYPES, true);
+ InstanceScope.INSTANCE.getNode(RubyEditorPlugin.PLUGIN_ID).putBoolean(
+ IPreferenceConstants.INITIALLY_FOLD_INNER_TYPES, true);
Map<ProjectionAnnotation, Position> annotations = emitFoldingRegions(true, src);
assertEquals("Wrong number of folding annotations", 2, annotations.size());
@@ -223,8 +224,8 @@ public void testBlockInitiallyFolded() throws Exception
createFolder(src);
// Turn on initially folding objects
- EclipseUtil.instanceScope().getNode(RubyEditorPlugin.PLUGIN_ID)
- .putBoolean(IPreferenceConstants.INITIALLY_FOLD_BLOCKS, true);
+ InstanceScope.INSTANCE.getNode(RubyEditorPlugin.PLUGIN_ID).putBoolean(
+ IPreferenceConstants.INITIALLY_FOLD_BLOCKS, true);
Map<ProjectionAnnotation, Position> annotations = emitFoldingRegions(true, src);
assertTrue(annotations.keySet().iterator().next().isCollapsed());
Please sign in to comment.
Something went wrong with that request. Please try again.