public FileEditorTab(string content)
{
Text = "Untitled";
UseVisualStyleBackColor = true;
textBox = new FastColoredTextBox();
textBox.AllowDrop = true;
textBox.KeyDown += _KeyDown;
textBox.TextChanged += _TextChanged;
textBox.AutoIndentNeeded += _AutoIndentNeeded;
textBox.Dock = DockStyle.Fill;
textBox.Text = content;
autocomplete = new AutocompleteMenu(textBox);
autocomplete.MinFragmentLength = 1;
autocomplete.Items.MaximumSize = new System.Drawing.Size(200, 300);
autocomplete.Items.Width = 400;
amandaTagParser = new AmandaTagParser();
saveDialog.Filter = "Amanda File|*.ama";
Controls.Add(textBox);
}