public SignatureMarkupCreator (DocumentContext ctx, int offset)
{
this.offset = offset;
this.colorStyle = SyntaxModeService.GetColorStyle (Ide.IdeApp.Preferences.ColorScheme);
if (!this.colorStyle.FitsIdeSkin (Ide.IdeApp.Preferences.UserInterfaceSkin))
this.colorStyle = SyntaxModeService.GetDefaultColorStyle (Ide.IdeApp.Preferences.UserInterfaceSkin);
this.ctx = ctx;
if (ctx != null) {
this.options = ctx.GetOptionSet ();
} else {
this.options = MonoDevelop.Ide.TypeSystem.TypeSystemService.Workspace.Options;
}
}