So the dialog doesn’t ask the user what computer language they are using!
OK, so when the user selects Preformatted Text from the tool bar, there needs to be a box for the user to enter the computer language of the text, and also a list of the current valid languages to choose from. Perhaps a radio button dialog.
Currently the dialog just uses a “one size fits all” choice for language. (Which one is picked isn’t shown to the user either.)