eclipse-texlipse / texlipse

Eclipse Texlipse
https://projects.eclipse.org/projects/science.texlipse
Eclipse Public License 1.0
60 stars 20 forks source link

Word wrapping issues #53

Open DE3000 opened 6 years ago

DE3000 commented 6 years ago

Bug report

What is the current behavior?

Word wrapping does not function when working on a file after starting eclipse.

What is the expected or desired behavior?

Word wrapping should wrap text if enabled.

Please provide steps to reproduce, including full log output:

N/A (?)

Please describe your environment:

Edited original to fit issue template. Original below:

I am currently using the 2.0.0 release having switched from a custom 1.5.0 build.

Word wrapping was never working 100% in any release. I have never used soft wrapping (still says "experimental" in the UI).

A long standing issue was word wrapping when using tabs. Tabs at the beginning of a line would never cause wraps until much later than the margin. A workaround to this was to use spaces to make sure the lines wrapped at the correct point.

Current issue is wrapping in general. Wrapping text does not work when starting eclipse. Only after disabling and enabling wrapping does the text begin to wrap again.

Long time texlipse user. I will be posting a few issues over the next few weeks.

DE3000 commented 6 years ago

Should I file another report for the tab/space bug?

turesheim commented 6 years ago

Thanks, that was quick :-). You can leave it as it is.

broesdecat commented 6 years ago

+1

Just installed latest Texlipse on Eclipse Oxygen from the Marketplace, on Ubuntu. If I open a tex file, no wrapping is done. In options, select "hard wrapping", click apply, select "soft wrapping", apply -> file is properly wrapped.

mboehme commented 6 years ago

+1

Running Oxygen.3 Release (4.7.3). Downloaded Texclipse from the Marketplace on MacOS.

Workaround: Wrapping works for an opened tex file only of you switch wrapping OFF and ON again. You have to do this everytime you restart Eclipse or open a new file.

freely-zz commented 6 years ago

+1 this is infuriating. The quickest workaround I've found is to Ctrl-A when you open the file and then hit the "Use word wrap" tool twice (which is just an off/on as the previous poster suggested - but via the toolbar is a lot less effort).

rommeswi commented 6 years ago

+1 and a "thank you" for the workaround. Still, even though the current version is a bit faster than the old version, I regret the upgrade. It also looks as if this bug won't be addressed in the near future?

montex commented 3 years ago

I have proposed an improvement to the wrap toggle button. In case someone is interested in trying it out please check pull request #100.