Guido van Rossum | ca5619c | 1998-10-13 17:32:27 +0000 | [diff] [blame] | 1 | File menu: |
Guido van Rossum | 3b4ca0d | 1998-10-10 18:48:31 +0000 | [diff] [blame] | 2 | |
Guido van Rossum | ca5619c | 1998-10-13 17:32:27 +0000 | [diff] [blame] | 3 | New window -- create a new editing window |
| 4 | Open file... -- open an existing file from a dialog box |
| 5 | Open module... -- asks for a module name, finds it on sys.path, |
| 6 | and opens it; if there's a selection, it's the module name |
| 7 | Class browser... -- open a class browser for the current module |
| 8 | --- |
| 9 | Save -- save the current window to its associated file |
| 10 | Save As... -- save to a new file from a dialog box |
| 11 | Save Copy As... -- save to a new file without changing window name |
| 12 | --- |
| 13 | Close -- close current window; asks to save if unsaved |
| 14 | Exit -- close all windows; asks to save unsaved windows |
Guido van Rossum | 3b4ca0d | 1998-10-10 18:48:31 +0000 | [diff] [blame] | 15 | |
Guido van Rossum | ca5619c | 1998-10-13 17:32:27 +0000 | [diff] [blame] | 16 | Edit menu: |
Guido van Rossum | 3b4ca0d | 1998-10-10 18:48:31 +0000 | [diff] [blame] | 17 | |
Guido van Rossum | ca5619c | 1998-10-13 17:32:27 +0000 | [diff] [blame] | 18 | Undo -- Undo last change to current window (max 1000 changes) |
| 19 | Redo -- Redo last undone change to current window |
| 20 | --- |
| 21 | Cut -- Copy selection into system-wide clipboard; then delete selection |
| 22 | Copy -- Copy selection into system-wide clipboard |
| 23 | Paste -- Insert system-wide clipboard into window |
| 24 | --- |
| 25 | Find... -- Search (case sensitive, Perl regular expression) |
| 26 | Find next -- Repeat last search |
Guido van Rossum | 0903f2a | 1998-11-27 03:19:20 +0000 | [diff] [blame] | 27 | Find same -- Search for the string in the selection |
Guido van Rossum | ca5619c | 1998-10-13 17:32:27 +0000 | [diff] [blame] | 28 | Go to line -- Ask for a line number and show that line |
| 29 | --- |
| 30 | Dedent region -- Shift selected lines left 4 spaces |
| 31 | Indent region -- Shift selected lines right 4 spaces |
| 32 | Comment out region -- Insert ## in front of selected lines |
| 33 | Uncomment region -- Remove leading # or ## from selected lines |
| 34 | |
| 35 | Windows menu: |
| 36 | |
| 37 | Contains the names of all open windows. The Python Shell |
| 38 | entry at the top will recreate the shell window if it has |
| 39 | been closed. |
| 40 | |
| 41 | Debug menu (in the Python Shell window only): |
| 42 | |
| 43 | Go to line from traceback -- look around the insert point for a |
| 44 | filename and linenumber, open the file, and show the line |
| 45 | Open stack viewer -- show the stack traceback of the last exception |
| 46 | |
| 47 | Basic editing and navigation: |
| 48 | |
| 49 | Backspace deletes to the left; DEL deletes to the right |
Guido van Rossum | 3b4ca0d | 1998-10-10 18:48:31 +0000 | [diff] [blame] | 50 | Arrow keys and Page Up/Down to move around |
| 51 | Home/End go to begin/end of line |
| 52 | Control-Home/End go to begin/end of file |
Guido van Rossum | ca5619c | 1998-10-13 17:32:27 +0000 | [diff] [blame] | 53 | Some Emacs bindings may also work, e.g. ^F/^B/^P/^N/^A/^E |
Guido van Rossum | 3b4ca0d | 1998-10-10 18:48:31 +0000 | [diff] [blame] | 54 | |
Guido van Rossum | 423938a | 1998-10-13 17:38:03 +0000 | [diff] [blame] | 55 | Word completion: |
| 56 | |
| 57 | Alt-/ expands the word you have typed to match another word in |
| 58 | the same buffer. Repeat to get a different expansion. |
| 59 | |
Guido van Rossum | ca5619c | 1998-10-13 17:32:27 +0000 | [diff] [blame] | 60 | Python Shell window: |
Guido van Rossum | 3b4ca0d | 1998-10-10 18:48:31 +0000 | [diff] [blame] | 61 | |
| 62 | ^C interrupts executing command |
Guido van Rossum | ca5619c | 1998-10-13 17:32:27 +0000 | [diff] [blame] | 63 | ^D sends end-of-file; closes window if typed at >>> prompt |
Guido van Rossum | 3b4ca0d | 1998-10-10 18:48:31 +0000 | [diff] [blame] | 64 | |
Guido van Rossum | 423938a | 1998-10-13 17:38:03 +0000 | [diff] [blame] | 65 | Command history: |
| 66 | |
| 67 | Alt-p retrieves previous command matching what you have typed |
| 68 | Alt-n retrieves next |
| 69 | Hit return while on any previous command retrieves that command |
| 70 | |
Guido van Rossum | 3b4ca0d | 1998-10-10 18:48:31 +0000 | [diff] [blame] | 71 | Python syntax colors: the coloring is applied in a background thread |
| 72 | |
| 73 | Keywords orange |
| 74 | Strings green |
| 75 | Comments red |
| 76 | Definitions blue |
| 77 | |
| 78 | Console colors: |
| 79 | |
| 80 | Console output red |
| 81 | stdout blue |
| 82 | stderr dark green |
| 83 | stdin purple |