We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d725901 commit 509a07dCopy full SHA for 509a07d
abc_styler.py
@@ -104,7 +104,10 @@ def OnStyleNeeded(self, event):
104
ch = chr(get_char_at(i))
105
106
buffer_pos = start + 1
107
- buffer_size = min(100000, end-start)
+ #FAU: In some case of end of line / end of file might end up with a a styles[count] pointing out of range.
108
+ #FAU: Add +1 in buffer_size
109
+ #buffer_size = min(100000, end-start)
110
+ buffer_size = min(100000, end-start+1)
111
styles = bytearray(buffer_size)
112
style_changer = None
113
style_keeper = None
0 commit comments