| | 98 | Peppy provides several commands to open files, from the traditional GUI file |
| | 99 | dialog using the File -> Open -> Open File menu command, to the more emacs- |
| | 100 | like File -> Open -> Open File using Minibuffer command (bound to C-x C-f in |
| | 101 | emacs keybinding mode). |
| | 102 | |
| | 103 | |
| | 104 | Editing Files |
| | 105 | ------------- |
| | 106 | |
| | 107 | Once a file has been opened, a new tab will appear in the window that shows |
| | 108 | the GUI that is used to edit that type of file. There are specific types of |
| | 109 | editing modes, called :ref:`major modes <majormodes>`, for different types |
| | 110 | of files. For instance, plain text files are editing using the Fundamental |
| | 111 | major mode, while python source files are edited using the Python major mode. |
| | 112 | Both these major modes are similar is that they use a text editing component |
| | 113 | (called the StyledTextCtrl in wxPython, which is based on the Scintilla__ |
| | 114 | source code editing component). However, unlike most editors, text files |
| | 115 | are not the only thing that can be edited. There are major modes for editing |
| | 116 | :ref:`binary files <hexedit>`, and even :ref:`hyperspectral images <hsi>`. |
| | 117 | |
| | 118 | __ http://www.scintilla.org |
| | 119 | |