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.

Close

#353 Word wrap in Juno

v1.5.0
open-fixed
None
5
2012-10-07
2012-07-11
Anonymous
No

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.

Discussion

1 2 3 > >> (Page 1 of 3)
  • S Phelps
    S Phelps
    2012-07-12

    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
    2012-07-20

    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 :
    java.runtime.name=OpenJDK Runtime Environment
    java.runtime.version=1.6.0_18-b18
    and :
    java.runtime.name=Java(TM) SE Runtime Environment
    java.runtime.version=1.7.0_04-b20

     
    Last edit: Anonymous 2014-03-14

  • Anonymous
    2012-07-23

    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
    christophknote
    2012-07-26

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

     

  • Anonymous
    2012-07-30

    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
    2012-08-01

    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:
    java.lang.NullPointerException
    at net.sourceforge.texlipse.actions.TexWordWrapAction.getTextEditor(TexWordWrapAction.java:124)
    at net.sourceforge.texlipse.actions.TexWordWrapAction.setType(TexWordWrapAction.java:102)
    at net.sourceforge.texlipse.actions.TexWordWrapAction.access$1(TexWordWrapAction.java:100)
    at net.sourceforge.texlipse.actions.TexWordWrapAction$WrapPropertyChangeListener.propertyChange(TexWordWrapAction.java:58)
    at org.eclipse.ui.preferences.ScopedPreferenceStore$3.run(ScopedPreferenceStore.java:375)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.ui.preferences.ScopedPreferenceStore.firePropertyChangeEvent(ScopedPreferenceStore.java:372)
    at org.eclipse.ui.preferences.ScopedPreferenceStore$2.preferenceChange(ScopedPreferenceStore.java:194)
    at org.eclipse.core.internal.preferences.EclipsePreferences$3.run(EclipsePreferences.java:889)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.preferences.EclipsePreferences.firePreferenceEvent(EclipsePreferences.java:892)
    at org.eclipse.core.internal.preferences.EclipsePreferences.remove(EclipsePreferences.java:1007)
    at org.eclipse.ui.preferences.ScopedPreferenceStore.setValue(ScopedPreferenceStore.java:787)
    at org.eclipse.jface.preference.RadioGroupFieldEditor.doStore(RadioGroupFieldEditor.java:216)
    at org.eclipse.jface.preference.FieldEditor.store(FieldEditor.java:680)
    at org.eclipse.jface.preference.FieldEditorPreferencePage.performOk(FieldEditorPreferencePage.java:343)
    at org.eclipse.jface.preference.PreferencePage.performApply(PreferencePage.java:432)
    at org.eclipse.jface.preference.PreferencePage$2.widgetSelected(PreferencePage.java:281)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:215)
    at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:65)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1022)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:916)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:585)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:540)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
    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(Main.java:629)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

     
    Last edit: Anonymous 2013-11-27
  • Gellule
    Gellule
    2012-08-01

    To me it looks like this is related to this bug of eclipse:
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=384354

    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.

    Cheers,

     
  • 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)