unclear what MarkupManager.Count means, count of MarkupManager or Markup within it ?
The same as with any similar "list" object.
TStringList has
AStringList.Strings[n];
AStringList.Count
but not
AStringList.Strings.CountOK, MarkupManager is called ...Manager and not ...List.
And it gets confusing, because often the "strings" in TStringList (or in any TStrings) is omitted.
e.g.
SynEdit.Lines[1]
is actually
SynEdit.Lines.Strings[1]
And
SynEdit.Lines.Count
is actually the count of Strings in the Lines object.
There is just ONE "lines object"
It's just a clever trick in the name giving, that "strings" (as the property is named) for the human observer means lines.
And that therefore "lines.count", gives you the count of "lines", but not the count of "lines" objects.
SCNR, a bit of fun with the naming.
---
All that aside, yes SynEdit.MarkupManager.MarkupCount would have made it more clear. But well now it is just "Count".