This is for those who have the following problem with the Word-wrap plugin "Ahtik" in Texlipse: the plugin installs fine, but selects the word-wrap option using the context menu (or pressing ctrl + alt + w) causes the text to turn around instantly, and then just drop it back to unpacking (this probably includes everyone who uses Windows 7).
Here's the fix ... right from the developer himself! I emailed Ahti Kitsik in my last attempt to find a way, and was amazed when he really found a solution and sent it to me the next day. He suggested that in return I could just make this information widely available.
So, the way to fix this is as follows:
Find the location of the texlipse plugin. It will probably be in the Eclipse folder, and the address will probably end: ... \ eclipse \ plugins \ net.sourceforge.texlipse_1.5.0.
Save the plugin.xml file there just in case, and then edit the original by deleting the following code snippets:
- Firstly, the βactionβ (starting at line 843):
Act
class="net.sourceforge.texlipse.actions.TexWordWrapAction" definitionId="net.sourceforge.texlipse.commands.texWordWrap" icon="icons/wrap.gif" id="net.sourceforge.texlipse.actions.texWordWrap" label="W&rap text" menubarPath="net.sourceforge.texlipse.menus.latex/latexGroup" style="toggle" toolbarPath="latexGroup" tooltip="Use word wrap"
-Always a βteamβ (starting at line 972):
Team
categoryId="net.sourceforge.texlipse.latexEditingCategory" name="Wrap text" id="net.sourceforge.texlipse.commands.texWordWrap"
(When you did this, the file should have a length of 1257 lines instead of 1271).
Finally, Ahti says: "Launch eclipse with the -clean command line argument to force reload plugin.xml." (Personally, I had no idea how to do this, so I just uninstalled and reinstalled its plugin, then exited Eclipse and edited the code before restarting it).
Now the function should work fine. Hope this helps someone. And thanks again Ahti!
Adam Oct 11 '12 at 15:58 2012-10-11 15:58
source share