On 18 April 2016 at 02:44, Marcelo Garlet Millani <notifications@github.com><br>
wrote:<br>
<br>
> I disagree. The line you mentioned indeed leads to a problem, namely that<br>
> \macroname\macroname is treated as a single word, but that is a different<br>
> problem.<br>
><br>
<br>
​AFAICT when you type `\macr` the current code searches backwards to find<br>
the prefix to lookup in the symbols. What adding the backslash to wordchars<br>
does is to include the backslash as part of the symbol prefix, so it is<br>
never found in the symbols since they are stored without the backslash​.<br>
<br>
<br>
<br>
> In my opinion, the best solution for both problems would be to patch the<br>
> geanylatex plugin to autocomplete the word macro with macroname only if<br>
> it is preceded by a \. Then removing the \ from wordchars where you<br>
> mentioned would make geany correctly recognize \macroname\macro as macro,<br>
> and the latex plugin would be able to autocomplete it.<br>
><br>
​I havn't looked at the geanylatex plugin, but I don't think it does<br>
anything for autocomplete.​<br>
<br>
<br>
<br>
<br>
> If this solution is acceptable, I could implement it.<br>
><br>
> —<br>
> You are receiving this because you commented.<br>
> Reply to this email directly or view it on GitHub<br>
> <https://github.com/geany/geany/issues/1000#issuecomment-211054166><br>
><br>


<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/geany/geany/issues/1000#issuecomment-211131518">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ6t9Gg8cIvctWak4XF3M52iTJEBtks5p4skSgaJpZM4IJAHw.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/1000#issuecomment-211131518"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>