Beispiel #1
0
        private void uncompressToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            string[] lines = txtDocument.Lines;
            EditCommandsUncompress generator = new EditCommandsUncompress(lines);

            generator.Import();
            lines             = generator.Generate();
            txtDocument.Lines = lines;
        }
Beispiel #2
0
        private void uncompressToolStripMenuItem_Click(object sender, EventArgs e)
        {
            EditCommandsTokenizer tokenizer = new EditCommandsTokenizer();

            string[] lines = tokenizer.TokenizeLines(txtDocument.Lines);
            EditCommandsUncompress generator = new EditCommandsUncompress(lines);

            generator.Import();
            lines             = generator.Generate();
            txtDocument.Lines = tokenizer.DeTokenizeLines(lines);
        }