// *
// * Copyright (C) 2008 Roger Alsing : http://www.RogerAlsing.com
// *
// * This library is free software; you can redistribute it and/or modify it
// * under the terms of the GNU Lesser General Public License 2.1 or later, as
// * published by the Free Software Foundation. See the included license.txt
// * or http://www.gnu.org/copyleft/lesser.html for details.
// *
// *
namespace Alsing.SourceCode
{
///
/// The Scope class defines what patterns starts and ends a spanDefinition
///
public sealed class Scope
{
///
/// Gets or Sets if the scope patterns is case sensitive
///
public bool CaseSensitive;
public bool CauseIndent;
///
/// Gets or Sets if this block should be expanded or collapsed by default
///
public bool DefaultExpanded = true;
///
/// List of end patterns
///
public PatternCollection EndPatterns = new PatternCollection();
///
/// The text that should be displayed if the owner block is collapsed
///
public string ExpansionText = "";
///
/// Gets or Sets if the scope patterns should be case normalized
///
public bool NormalizeCase = true;
///
/// The owner spanDefinition
///
public SpanDefinition Parent;
///
/// spanDefinition that should be started directly after this block have ended
///
public SpanDefinition spawnSpanOnEnd;
///
/// spanDefinition that should be started directly after this block have started
///
public SpanDefinition spawnSpanOnStart;
///
/// The Start trigger Pattern
///
public Pattern Start;
///
/// The style that should be applied to the start and end patterns
///
public TextStyle Style;
}
}