Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


#353 Word wrap in Juno


I have installed the latest version of Eclipse (4.2) code named Juno.
I have noticed that on both Windows and Mac the soft and hard word wrapping no longer functions.


1 2 3 > >> (Page 1 of 3)
  • S Phelps
    S Phelps

    I have the same problem with Juno on Linux (64bit Ubuntu 12.04 KDE) with Texclipse version 1.5.0. Word wrap works fine on other machines with earlier versions of Eclipse installed.

  • I have the same problem on Eclipse 4.2 + Texlipse 1.5.0.
    I wanted to add that sometimes the lines _are_ wrapped for a split second, but then immediately re-appear unwrapped.


  • Anonymous

    Same problem here with Eclipse 4.2 + Texlipse 1.5.0 on debian squeeze 64.
    It makes editor really annoying to use (at least from my point of view). Could you raise priority ?

    Tested with : Runtime Environment
    and : SE Runtime Environment

    Last edit: Anonymous 2014-03-14

  • Anonymous

    Esc Q seems to work fine it is the auto wrapping or when adding a space to a sentence that the word wrap fails

  • christophknote

    Same here, Juno on Linux (Scientific Linux 6.2 64bit Kernel 2.6.32 GNOME) and Texlipse 1.5.0.


  • Anonymous

    I have the same problem on Windows 7 64 bit and Texlipse 1.5.0.

    Tested with 64 bit Oracle JDK and JSE.

    When in the settings I change wrapping to "Use hard wrapping" then apply, and then change to "Use soft wrapping" and apply, then the text is properly soft wrapped until I click on the Ok button of the Settings window. When I close the settings window by clicking Ok the soft wrapping disappears.


  • Anonymous

    I also have the same problem:
    Texlipse 1.5.0, Windows 7 64bit, with 32bit Java and Eclipse 4.2.0
    java version "1.7.0_05"
    Java(TM) SE Runtime Environment (build 1.7.0_05-b06)

    Texlipse throws a NullPointerException when I try to change the wrapping mode:
    at net.sourceforge.texlipse.actions.TexWordWrapAction.getTextEditor(
    at net.sourceforge.texlipse.actions.TexWordWrapAction.setType(
    at net.sourceforge.texlipse.actions.TexWordWrapAction.access$1(
    at net.sourceforge.texlipse.actions.TexWordWrapAction$WrapPropertyChangeListener.propertyChange(
    at org.eclipse.ui.preferences.ScopedPreferenceStore$
    at org.eclipse.ui.preferences.ScopedPreferenceStore.firePropertyChangeEvent(
    at org.eclipse.ui.preferences.ScopedPreferenceStore$2.preferenceChange(
    at org.eclipse.core.internal.preferences.EclipsePreferences$
    at org.eclipse.core.internal.preferences.EclipsePreferences.firePreferenceEvent(
    at org.eclipse.core.internal.preferences.EclipsePreferences.remove(
    at org.eclipse.ui.preferences.ScopedPreferenceStore.setValue(
    at org.eclipse.jface.preference.RadioGroupFieldEditor.doStore(
    at org.eclipse.jface.preference.FieldEditorPreferencePage.performOk(
    at org.eclipse.jface.preference.PreferencePage.performApply(
    at org.eclipse.jface.preference.PreferencePage$2.widgetSelected(
    at org.eclipse.swt.widgets.TypedListener.handleEvent(
    at org.eclipse.swt.widgets.EventTable.sendEvent(
    at org.eclipse.swt.widgets.Widget.sendEvent(
    at org.eclipse.swt.widgets.Display.runDeferredEvents(
    at org.eclipse.swt.widgets.Display.readAndDispatch(
    at org.eclipse.jface.window.Window.runEventLoop(
    at org.eclipse.jface.action.Action.runWithEvent(
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(
    at org.eclipse.jface.action.ActionContributionItem.access$2(
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(
    at org.eclipse.swt.widgets.EventTable.sendEvent(
    at org.eclipse.swt.widgets.Widget.sendEvent(
    at org.eclipse.swt.widgets.Display.runDeferredEvents(
    at org.eclipse.swt.widgets.Display.readAndDispatch(
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(
    at org.eclipse.ui.internal.Workbench$
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(
    at org.eclipse.equinox.launcher.Main.basicRun(

    Last edit: Anonymous 2013-11-27
  • Gellule

    To me it looks like this is related to this bug of eclipse:

    The tool bar for the TeX editor is instantiated twice, providing the wrap option toggle twice. They interact with each other, as seen in the content of the editor wrapping properly and then unwrapping quickly after when wrap is turned on, when you toggle the second wrap button.

    It seems that TeXlipse should upgrade from using org.eclipse.ui.editorActions to using org.eclipse.ui.menus.


  • Same problem here, Juno, Linux (64bit Ubuntu 12.04 XFCE). Texclipse version 1.5.0. Manual line wrap (Esc Q) works well, while Auto Wrap fails. Trying to swith from hard to soft wrapping causes a bunch of NullpointerException (as described by some user before.)
    I would really appreciate a fix. :)

  • I have noticed something more specific about the word wrapping in 4.2:
    As I posted before, the word wrapping does sometimes work for a split second.
    This reproducibly happens when you switch from any other editor to a Texlipse editor.

    The editor appears to be rendered in two steps:
    In the first step, the text is visible and word wrapping works, and line numbers and markers are displayed, but the column with ths +/- signs for code folding is NOT rendered - in their place is whatever the editor you came from showed at that spot.
    No horizontal scroll bar is displayed at first.
    In the second step, the text, the line numbers, the markers and the column for code folding is visible, but the word wrapping doesn't work anymore.
    Between these two steps, a horizontal scroll bar becomes visible and the slider changes its size several times until rendering is finished.

    I hope these observations help you with finding the cause of this bug.

1 2 3 > >> (Page 1 of 3)