<p></p>
<p>Sorry for the late reaction ;)</p>
<p>To be honest I have not even an idea what might cause that issue. This function is actually done by building up a string</p>
<div class="highlight highlight-source-c"><pre><span class="pl-k">if</span> (type == GLATEX_ENVIRONMENT_TYPE_LIST)
{
<span class="pl-c1">g_string_append</span>(tmpstring, <span class="pl-s"><span class="pl-pds">"</span><span class="pl-cce">\t\\</span>item <span class="pl-pds">"</span></span>);
}</pre></div>
<p>and than later</p>
<div class="highlight highlight-source-c"><pre>GeanyDocument *doc = <span class="pl-c1">NULL</span>;

        doc = document_get_current();

        <span class="pl-k">if</span> (doc != <span class="pl-c1">NULL</span> && string != <span class="pl-c1">NULL</span>)
        {

                <span class="pl-c1">editor_insert_text_block</span>(doc-><span class="pl-smi">editor</span>, string, pos, len, <span class="pl-c1">0</span>, <span class="pl-c1">TRUE</span>);
        }
}</pre></div>

<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-plugins/issues/1071#issuecomment-840516030">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJYWVGENQK44OQUO4N3TNO7AHANCNFSM4ZEEXBRA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJYB5D3YIIPHJC2L6SLTNO7AHA5CNFSM4ZEEXBRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGIMUDPQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany-plugins/issues/1071#issuecomment-840516030",
"url": "https://github.com/geany/geany-plugins/issues/1071#issuecomment-840516030",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>