Posted 20 years ago
by SamWare
Pardon my ignorance, but I cannot figure out how to inherit any "Indicator" class and I've found no examples.
When I compile I get this error: "No overload for method 'SpanIndicator' takes '0' arguments".
I don't inherit abstract classes much, and I've not encountered this type of problem prior to now. I know it's my lack of knowledge, but I don't know where to find the information that will help me fix this.
public class MethodIndicator : ActiproSoftware.SyntaxEditor.SpanIndicator
{
public MethodIndicator(string name, int displayPriority, bool hasGlyph, IndicatorMarks indicatorMarks)
{
//
}
protected override void DrawMarks(Graphics g, Rectangle bounds)
{
//
}
}
I don't inherit abstract classes much, and I've not encountered this type of problem prior to now. I know it's my lack of knowledge, but I don't know where to find the information that will help me fix this.