private void TextEditor_TextChanged(object sender, TextChangedEventArgs e) { code.EncodeString(textEditor.Text); paintCode(); }