Not sure if this has been fixed in a recent build but I&#39;m getting weird behavior if I create and then delete lots of markers with markerDeleteAll(). (I wind up with many markers in the code folding margin)<br><br>I think <b>allocatedMarkers </b>not being reset is the problem.<br>
<br>// Delete a marker from the text.<br>void QsciScintilla::markerDeleteAll(int mnr)<br>{<br>    if (mnr &lt;= MARKER_MAX)<br>    {<br>        if (mnr &lt; 0){<br>            SendScintilla(SCI_MARKERDELETEALL, -1);<br><b>            allocatedMarkers = 0;<br>
</b>        }<br>        else if (allocatedMarkers &amp; (1 &lt;&lt; mnr))<br>            SendScintilla(SCI_MARKERDELETEALL, mnr);<br>    }<br>}<br><br>-Gedalia<br>