New text file

If we opt to create a Text File, we are presented with a new browser panel in the Jupyter text editor (I have shrunk down the size of the screen so that the display fits the boundaries of this book):

There are several points of interest on this screen:

  • We are in a new browser panel (the Notebook display is still present in the Other tab).
  • The name of the new file is untitled1.txt. Using the same convention as duplication, the new filename starts with untitled.txt and is incremented as needed.
  • Curiously, it mentions when the file was created.
  • In the top-right corner, we see Plain Text. So, we might expect to see some other description here for other file types.
  • We have a new menu, which includes File, Edit, View, and Language.
  • The File menu has the following options:
    • New: Starts another new text window.
    • Save: Save or updates the current text file into the Notebook area.
    • Rename: Changes the name of the file (unlikely, as you would want to keep the untitledn name that's provided).
    • Download: Again, an option that makes more sense if your Notebook is running on the web. As explained for uploaddownload on a desktop installation allows you to copy a file to another part of your machine.

  • The Edit menu has the following options:
    • Find: Searches for a string.
    • Find & Replace: Searches and replaces a string.
    • Separator: Below this line is adjusting the text editor in use.
    • Key Map: Set your own function mapping for your keyboard.
    • Default: Checked as it is the default choice. This means using the default text editor.
    • Sublime Text: If you would prefer to use the Sublime editor.
    • Vim: If you would prefer to use VIM.
    • emacs: If you would prefer to use emacs.
  • The View menu only has an option to Toggle Line Numbers. I imagine future revisions of the package will have additional features. Similarly, for other file types, the menu may change.
  • The Language menu allows you to specify whether this text file is a specific type of programming file. This allows for syntax highlighting, which is a major feature of source editors. The list is extensive: