Example #1
0
 /// <summary>
 /// Creates a new formatSettings that will use the given Document to access the original source code,
 /// and will start indents from the given level.
 /// </summary>
 /// <param name="document"></param>
 /// <param name="formatSettings">The formatSettings settings to use when formatting this document.</param>
 /// <param name="controller"></param>
 public VBCodeFormatter(Document document, VBFormatSettings settings, Controller controller)
 {
     if (document == null) throw new ArgumentNullException("document");
     this.document = document;
     this.formatSettings = settings;
     this.controller = controller;
 }
Example #2
0
        public void SetFormatSettings(VBFormatSettings settings)
        {
            if (settings == null) return;

            //formatSettings.SetFrom(settings);
        }