<blockquote>
<p>I guess lang says what the tag parser thinks it is, that may be different to filetype since thats settable by those pesky users :)  </p>
</blockquote>

<p>Lang says which parser generated the tag.  It's probably mostly useless as of today because it's somewhat redundant with the GeanyFiletype, and anyway the possible values there are not exposed as of today, so the best you can do is compare 2 values for equality.</p>

<blockquote>
<p>Also <code>refcount</code>, will plugins need to increment it and are the reference manipulation functions exported?</p>
</blockquote>

<p><em>never</em> touch <code>refcount</code> manually. It should be as private as possible, that's an implementation detail.<br>
And no, the GType or ref/unref aren't exposed currently.  They are not needed for common use (e.g. looking up a tag in one of the arrays), but maybe one day if really people want to be able to store them on their side.  But that's a somewhat separate issue IMO.</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, <a href="https://github.com/geany/geany/pull/1093#issuecomment-229361926">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/ABDrJ2QAr3oZuETEqYDAR2v-aRvIkQ4aks5qQnh0gaJpZM4I_gWR">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ0fFE4uVkcLK4xC0daWctrzdSO5gks5qQnh0gaJpZM4I_gWR.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/pull/1093#issuecomment-229361926"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>