texlipse icon indicating copy to clipboard operation
texlipse copied to clipboard

Word wrapping issues

Open DE3000 opened this issue 7 years ago • 7 comments

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:

  • TeXlipse version: 2.0.0
  • Eclipse version: 4.7.2
  • Operating system:
  • [X] Windows
  • [ ] macOS
  • [ ] Linux

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 avatar Feb 13 '18 18:02 DE3000

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

DE3000 avatar Feb 13 '18 20:02 DE3000

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

turesheim avatar Feb 13 '18 20:02 turesheim

+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.

broesdecat avatar Feb 27 '18 14:02 broesdecat

+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.

mboehme avatar Apr 11 '18 10:04 mboehme

+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).

freely-zz avatar Aug 03 '18 04:08 freely-zz

+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?

rommeswi avatar Oct 19 '18 02:10 rommeswi

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

montex avatar Feb 04 '21 17:02 montex