private void FindStrings()
{
bool checkNextLine = false;
string name = "";
foreach (string s in scripts[tabControl1.SelectedIndex].Lines)
{
if (s.StartsWith("#org "))
{
checkNextLine = true;
name = s.Split(' ')[1];
continue;
}
if (checkNextLine)
{
if (s.StartsWith("="))
{
dynamicStrings.Add(name, s.Substring(2));
}
checkNextLine = false;
}
}
}