|
|
Re: Can't get "ahtik" word-wrap plugin to work [message #940416 is a reply to message #938036] |
Thu, 11 October 2012 12:08   |
Eclipse User |
|
|
|
Thanks! I did just that, and he kindly gave me a fix the very next day. (I am reposting here what I wrote in the topic I just started, in case someone has the same problem and stumbles across this in a google search):
The way to fix it as follows:
Look up the texlipse plugin location. This will probably be in the Eclipse folder, and the address will probably end: ...\eclipse\plugins\net.sourceforge.texlipse_1.5.0.
Backup the plugin.xml file there just in case, and then edit the original by deleting the following chunks of code:
-Firstly, the "action" (starting at line 843):
action
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"
-Secondly, the "command" (starting at line 972):
command
categoryId="net.sourceforge.texlipse.latexEditingCategory"
name="Wrap text"
id="net.sourceforge.texlipse.commands.texWordWrap"
(When you have done this, the file should be 1257 lines long, instead of 1271. I have also attached the edited plugin.xml file to this post if you want to use it).
Finally, Ahti says: "Start eclipse with -clean command line argument to force reloading of plugin.xml." (Personally I had no idea how to do this, so I just removed and reinstalled his plugin, then exited Eclipse, and edited the code before I restarted it).
The function should work fine now. Hope this helps someone. And thanks again Ahti!
Attachment: plugin.xml
(Size: 45.81KB, Downloaded 402 times)
|
|
|
|
Powered by
FUDForum. Page generated in 0.08521 seconds