| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,7 +23,8 @@ class Textbox: | |||
| 23 | 23 | Ctrl-A Go to left edge of window. | |
| 24 | 24 | Ctrl-B Cursor left, wrapping to previous line if appropriate. | |
| 25 | 25 | Ctrl-D Delete character under cursor. | |
| 26 | - Ctrl-E Go to right edge (stripspaces off) or end of line (stripspaces on). | ||
| 26 | + Ctrl-E Go to right edge (stripspaces off) or end of line | ||
| 27 | + (stripspaces on). | ||
| 27 | 28 | Ctrl-F Cursor right, wrapping to next line when appropriate. | |
| 28 | 29 | Ctrl-G Terminate, returning the window contents. | |
| 29 | 30 | Ctrl-H Delete character backward. | |
@@ -34,11 +35,12 @@ class Textbox: | |||
| 34 | 35 | Ctrl-O Insert a blank line at cursor location. | |
| 35 | 36 | Ctrl-P Cursor up; move up one line. | |
| 36 | 37 | ||
| 37 | - Move operations do nothing if the cursor is at an edge where the movement | ||
| 38 | - is not possible. The following synonyms are supported where possible: | ||
| 38 | + Move operations do nothing if the cursor is at an edge where the | ||
| 39 | + movement is not possible. The following synonyms are supported where | ||
| 40 | + possible: | ||
| 39 | 41 | ||
| 40 | - KEY_LEFT = Ctrl-B, KEY_RIGHT = Ctrl-F, KEY_UP = Ctrl-P, KEY_DOWN = Ctrl-N | ||
| 41 | - KEY_BACKSPACE = Ctrl-h | ||
| 42 | + KEY_LEFT = Ctrl-B, KEY_RIGHT = Ctrl-F, KEY_UP = Ctrl-P, | ||
| 43 | + KEY_DOWN = Ctrl-N, KEY_BACKSPACE = Ctrl-h | ||
| 42 | 44 | """ | |
| 43 | 45 | def __init__(self, win, insert_mode=False): | |
| 44 | 46 | self.win = win | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -360,17 +360,17 @@ _curses_panel_panel_bottom_impl(PyCursesPanelObject *self) | |||
| 360 | 360 | } | |
| 361 | 361 | ||
| 362 | 362 | /*[clinic input] | |
| 363 | - @permit_long_docstring_body | ||
| 364 | 363 | _curses_panel.panel.hide | |
| 365 | 364 | ||
| 366 | 365 | Hide the panel. | |
| 367 | 366 | ||
| 368 | - This does not delete the object, it just makes the window on screen invisible. | ||
| 367 | + This does not delete the object, it just makes the window on screen | ||
| 368 | + invisible. | ||
| 369 | 369 | [clinic start generated code]*/ | |
| 370 | 370 | ||
| 371 | 371 | static PyObject * | |
| 372 | 372 | _curses_panel_panel_hide_impl(PyCursesPanelObject *self) | |
| 373 | - /*[clinic end generated code: output=a7bbbd523e1eab49 input=9071b463a39a1a6a]*/ | ||
| 373 | + /*[clinic end generated code: output=a7bbbd523e1eab49 input=9456aca9b264dde1]*/ | ||
| 374 | 374 | { | |
| 375 | 375 | int rtn = hide_panel(self->pan); | |
| 376 | 376 | return curses_panel_panel_check_err(self, rtn, "hide_panel", "hide"); | |
@@ -772,12 +772,13 @@ _curses_panel.update_panels | |||
| 772 | 772 | ||
| 773 | 773 | Updates the virtual screen after changes in the panel stack. | |
| 774 | 774 | ||
| 775 | - This does not call curses.doupdate(), so you'll have to do this yourself. | ||
| 775 | + This does not call curses.doupdate(), so you'll have to do this | ||
| 776 | + yourself. | ||
| 776 | 777 | [clinic start generated code]*/ | |
| 777 | 778 | ||
| 778 | 779 | static PyObject * | |
| 779 | 780 | _curses_panel_update_panels_impl(PyObject *module) | |
| 780 | - /*[clinic end generated code: output=2f3b4c2e03d90ded input=5299624c9a708621]*/ | ||
| 781 | + /*[clinic end generated code: output=2f3b4c2e03d90ded input=0d0db79f05ec3ef4]*/ | ||
| 781 | 782 | { | |
| 782 | 783 | PyCursesInitialised; | |
| 783 | 784 | update_panels(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments