|
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Windows.Forms;
namespace ScintillaNet.Configuration
{
public class SnippetsConfigList : List<SnippetsConfig>
{
private bool? _inherit;
public bool? Inherit
{
get
{
return _inherit;
}
set
{
_inherit = value;
}
}
private Color _activeSnippetColor;
public Color ActiveSnippetColor
{
get
{
return _activeSnippetColor;
}
set
{
_activeSnippetColor = value;
}
}
private int? _activeSnippetIndicator;
public int? ActiveSnippetIndicator
{
get
{
return _activeSnippetIndicator;
}
set
{
_activeSnippetIndicator = value;
}
}
private IndicatorStyle? _activeSnippetIndicatorStyle;
public IndicatorStyle? ActiveSnippetIndicatorStyle
{
get
{
return _activeSnippetIndicatorStyle;
}
set
{
_activeSnippetIndicatorStyle = value;
}
}
private IndicatorStyle? _inactiveSnippetIndicatorStyle;
public IndicatorStyle? InactiveSnippetIndicatorStyle
{
get
{
return _inactiveSnippetIndicatorStyle;
}
set
{
_inactiveSnippetIndicatorStyle = value;
}
}
private Color _inactiveSnippetColor;
public Color InactiveSnippetColor
{
get
{
return _inactiveSnippetColor;
}
set
{
_inactiveSnippetColor = value;
}
}
private int? _inactiveSnippetIndicator;
public int? InactiveSnippetIndicator
{
get
{
return _inactiveSnippetIndicator;
}
set
{
_inactiveSnippetIndicator = value;
}
}
private bool? _isEnabled;
public bool? IsEnabled
{
get
{
return _isEnabled;
}
set
{
_isEnabled = value;
}
}
private char? _defaultDelimeter;
public char? DefaultDelimeter
{
get
{
return _defaultDelimeter;
}
set
{
_defaultDelimeter = value;
}
}
private bool? _isOneKeySelectionEmbedEnabled;
public bool? IsOneKeySelectionEmbedEnabled
{
get
{
return _isOneKeySelectionEmbedEnabled;
}
set
{
_isOneKeySelectionEmbedEnabled = value;
}
}
}
public class SnippetsConfig
{
private string _shortcut;
public string Shortcut
{
get
{
return _shortcut;
}
set
{
_shortcut = value;
}
}
private string _code;
public string Code
{
get
{
return _code;
}
set
{
_code = value;
}
}
private char? _delimeter;
public char? Delimeter
{
get
{
return _delimeter;
}
set
{
_delimeter = value;
}
}
// Really all snippets can be used as SurroundsWith. The only
// thing this really controls is whether or not the snippet
// appears in the Surrounds With List. Really.
private bool? _isSurroundsWith;
public bool? IsSurroundsWith
{
get
{
return _isSurroundsWith;
}
set
{
_isSurroundsWith = value;
}
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.