A few days ago I released the first contribution to the Eclipse open-source project.
While using TeXlipse I found it hard to write long paragraphs because Eclipse did not have a soft line wrapping feature. Usually for every problem there is an Eclipse plug-in. And so I found the word wrap plug-in by Ahti Kitsik which enabled the missing feature. The only problem was the line number ruler which displayed the wrong numbers for wrapped lines but I could live with that.
Unfortunately by changing to Eclipse Juno 4.2 the word wrap feature did not work anymore because the utilised extension point was deprecated now. So I rewrote the plug-in from scratch and made it compatible with the latest Eclipse release and set me as a goal to fix the line number ruler column too. After creating a working word wrap plug-in I tried to figure out where the line ruler column was rendered and how I could make it work together with the word wrapping. It turned out that the LineNumberRulerColumn class within the org.eclipse.jface.text plug-in has to be modified.
After playing around with that class und adding several lines of new code I can now present a working fix for the line number ruler column to you. You can find a detailed explanation on its project website and to see it in action please take a look at the closely related word wrap project website.
This is a solution for a bug that was reported almost ten years ago. I really hope that my work will make it into an official Eclipse release.
It was very nice from Holger Voormann to mention me on Twitter and writing a blog post including a video about my work. Thank you very much!
- Eclipse Word-Wrap Plug-In
- Eclipse Line Number Ruler Column Fix
- Ho(w)lger's Tweet
- Quicktest of Florian Weßling’s Word Wrap Patch (Vimeo.com)
- LaTeX-Problem: TeXlipse und Biber
- Welcome back on WordPress