<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Dear Stefan:<BR>
<BR>
<BR><BR>Regards, Shao Peng<BR><BR><BR> <BR>
> Date: Wed, 29 Apr 2009 07:15:06 +0200<BR>> From: st.loeffler@gmail.com<BR>> To: texworks@tug.org<BR>> Subject: Re: [texworks] how to customize the completion<BR>> <BR>> Hi,<BR>> <BR>> On 2009-04-29 06:20, Peng Shao wrote:<BR>> > I found the completion of texworks is really great, however I still<BR>> > want to customize it<BR>> > so that it fits my custom better. I am working on windows xp and I<BR>> > found a file tw-latex.txt<BR>> > under the completion directory, I tried to modify this file, but I did<BR>> > not succeed. So I have<BR>> > to seek help here. Is it able to customize the completion in texworks,<BR>> > even to choose another<BR>> > key rather than ctrl+tab to realize completion? I really like the<BR>> > bullet "dot" , it is so convenient.<BR>> <BR>> To answer (some of) your questions: yes, it is possible to customize the<BR>> completion, and the tw-latex.txt file is the right point to do that. But<BR>> right now it's not possible to change the shortcut key as it's<BR>> hard-wired in the source code (unless you want to customize and compile<BR>> TW yourself, of course).<BR>> <BR>> There's also a short guide to code completion customization on the wiki:<BR>> http://code.google.com/p/texworks/wiki/CodeCompletion<BR>> If you need more help it would be good if you could post a specific<BR>> issue/some customization you tried that didn't work. That way we could<BR>> determine more easily what the problem is.<BR>> <BR>> Regards<BR>> Stefan<BR><BR>
Thank you very much. I have two issues here :<BR>
<BR>
1. I modifed <BR>
bequ:=\begin{equation}#RET##INS##RET#\end{equation}•<BR>
into<BR>
bequ:=\begin{equation}#RET#test#INS##RET#\end{equation}•<BR>
<BR>
after restarting the texworks, I tried to complete \begin{equa<BR>
with Tab, but still I got <BR>
<BR>
\begin{equation}<BR>
cursor<BR>
\end{equation}•<BR>
<BR>
what I added the word "test" did not appear<BR>
<BR>
2. Tab+Ctrl seems not work on my machine, and I tried on other machine with Windows XP<BR>
neither of them work, instead I found the combination Tab+Ctrl can only realize the same function<BR>
as Tab on these machines. The combination Tab + Ctrl works fine on my linux.<BR>
<BR>
Sorry to bother you with these questions, Thank you.<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR> <BR>
<BR>
<BR>
<BR>
<BR><br /><hr />See all the ways you can stay connected <a href='http://www.microsoft.com/windows/windowslive/default.aspx' target='_new'>to friends and family</a></body>
</html>