Skip to content

Commit a55d879

Browse files
author
Benjamin Susman
committed
Simply changing the name of the isWordWrap method since it is not being inheritted properly due to some issues with versioning.
1 parent 100377c commit a55d879

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

plugins/com.aptana.editor.common/src/com/aptana/editor/common/AbstractThemeableEditor.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ public void createPartControl(Composite parent)
350350
this.fThemeableEditorFindBarExtension.activateContexts(new String[] { ScriptingActivator.EDITOR_CONTEXT_ID,
351351
ScriptingUIPlugin.SCRIPTING_CONTEXT_ID, partId + ".context" }); //$NON-NLS-1$
352352

353-
if (isWordWrapEnabled())
353+
if (isWordWrapEnabledAptana())
354354
{
355355
setWordWrapEnabled(true);
356356
}
@@ -1334,11 +1334,11 @@ protected IVerticalRulerColumn createLineNumberRulerColumn()
13341334
return fLineNumberRulerColumn;
13351335
}
13361336

1337-
// private boolean isWordWrapEnabled()
1338-
// {
1339-
// return Platform.getPreferencesService().getBoolean(CommonEditorPlugin.PLUGIN_ID,
1340-
// IPreferenceConstants.ENABLE_WORD_WRAP, false, null);
1341-
// }
1337+
private boolean isWordWrapEnabledAptana()
1338+
{
1339+
return Platform.getPreferencesService().getBoolean(CommonEditorPlugin.PLUGIN_ID,
1340+
IPreferenceConstants.ENABLE_WORD_WRAP, false, null);
1341+
}
13421342

13431343
public void refreshOutline(final IParseRootNode ast)
13441344
{

0 commit comments

Comments
 (0)