Not sure if this has been fixed in a recent build but I'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 <= MARKER_MAX)<br> {<br> if (mnr < 0){<br> SendScintilla(SCI_MARKERDELETEALL, -1);<br><b> allocatedMarkers = 0;<br>
</b> }<br> else if (allocatedMarkers & (1 << mnr))<br> SendScintilla(SCI_MARKERDELETEALL, mnr);<br> }<br>}<br><br>-Gedalia<br>