Yes, after a quick glance at the source code, apparently they look definitively global (though I may be wrong). And only 10 seems a bit short, indeed ...
Furthermore, apparently this limitation is hard coded everywhere:
for i := 0 to 9 do
...
Concerned files (IDE):
- editor_indent_options.pas (1)
- editor_general_options.pas (1)
- main.pp (1)
- sourceeditor.pp (10)
- sourcemarks.pas (1)
I guess that modifying this upper limit could -at first glance- be possible, except perhaps for the associated icon for each bookmark (the small number in a blue circle).
There is a comment into sourcemarks.pas which could indicate more additional code in order to increase this limit:
// synedit expects the first 10 icons for the bookmarks
for i := 0 to 9 do
AddImage('bookmark'+IntToStr(i));