SourceWriter.ViewController.UnpopulateFormattingMenu C# (CSharp) Method

UnpopulateFormattingMenu() public method

Unpopulates the formatting menu with the previous languages extra formatting commands.
public UnpopulateFormattingMenu ( ) : void
return void
		public void UnpopulateFormattingMenu() {

			// Remove any additional items
			for (int n = (int)App.FormattingMenu.Count - 1; n > 4; --n) {
				App.FormattingMenu.RemoveItemAt (n);
			}
		}