<p>Maybe I wasn't very clear. All LaTeX macros are preceded by a <code>\</code>. However, not everything is a macro. Consider, for example, the following LaTeX code:</p>

<div class="highlight highlight-text-tex"><pre><span class="pl-c1">\newcommand</span>{<span class="pl-c1">\macroname</span>}{some <span class="pl-c1">\LaTeX</span> code}
We defined a new macro called <span class="pl-c1">\textbackslash\texttt</span>{macroname} which expands to <span class="pl-c1">\macroname</span>.</pre></div>

<p>it is undesirable to receive autocomplete suggestions when writing the words <code>macro</code> or <code>macroname</code>, since they are not macros. However, when writing <code>\macroname</code> I would expect to have autocomplete available, since the symbol is known. The current behaviour does exactly the opposite. Furthermore, current word separation understands <code>\textbackslash\texttt</code> as a single word, and autocomplete for <code>\texttt</code> is then no longer possible (even if it were a known symbol).</p>

<p>Since the autocomplete feature for symbols is implemented in geany, and there is already language-specific code for LaTeX and other languages, isn't this a geany issue?</p>

<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-211406684">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ7ZNfqCx0ZlWMt1ms8RHFqXGoyKtks5p45bygaJpZM4IJAHw.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-211406684"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>