Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix formatting in table headers for better accessibility #9312

Merged
merged 3 commits into from
Jan 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 40 additions & 40 deletions erts/doc/guides/tty.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,46 +55,46 @@ Typographic conventions:
- When a function has multiple possible key sequences they are listed on
individual lines in the `Key Sequence` column.

| _Key Sequence_ | _Function_ |
| -------------------- | ----------------------------------------------------------------|
| `Home` | Beginning of line |
| `C-a` | Beginning of line |
| `C-b` | Backward character |
| `C-Left` or `M-Left` | Backward word |
| `M-b` | Backward word |
| `C-d` | Delete character |
| `M-d` | Delete word |
| `End` | End of line |
| `C-e` | End of line |
| `C-f` | Forward character |
| `C-Right` or `M-Right` | Forward word |
| `M-f` | Forward word |
| `C-g` | Enter shell break mode |
| `C-k` | Kill line |
| `C-u` | Backward kill line |
| `C-l` | Clears the screen |
| `M-c` | Clears the current expression |
| `M-l` | Redraw line |
| `C-n` | Fetch next line from the history buffer |
| `C-o` or `M-o` | Edit the current line using the editor specified in the environment variable `VISUAL` or `EDITOR`. The environment variables can contain arguments to the editor if needed, for example `VISUAL="emacs -nw"`. On Windows the editor cannot be a console based editor. |
| `C-p` | Fetch previous line from the history buffer |
| `M-r` | Format current expression using `shell:format_shell_func/1` |
| `C-r` | Enter search mode and then search backward in the shell history |
| `C-s` | In search mode, search forward in the shell history |
| `C-t` | Transpose characters |
| `C-w` | Backward kill word |
| `C-y` | Insert previously killed text |
| `C-]` | Insert matching closing bracket |
| `C-Up` or `M-Up` | Navigate one row up when editing multiple lines |
| `C-Down` or `M-Down` | Navigate one row down when editing multiple lines |
| `M-Enter` | Insert a new line at cursor |
| `M-<` or `M-S-Up` | Navigate to the start of the current expression |
| `M->` or `M-S-Down` | Navigate to the end of the current expression |
| `Tab` or `C-i` | Autocomplete current expression, or show completion suggestions |
| `M-c` | Clear current expression |
| `M-h` | Display help for the module or function closest on the left of the cursor.|
| `PageUp` | Scroll the expand, search or help buffer 5 lines upwards. |
| `PageDown` | Scroll the expand, search or help buffer 5 lines downwards. |
| Key Sequence | Function |
| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Home` | Beginning of line |
| `C-a` | Beginning of line |
| `C-b` | Backward character |
| `C-Left` or `M-Left` | Backward word |
| `M-b` | Backward word |
| `C-d` | Delete character |
| `M-d` | Delete word |
| `End` | End of line |
| `C-e` | End of line |
| `C-f` | Forward character |
| `C-Right` or `M-Right` | Forward word |
| `M-f` | Forward word |
| `C-g` | Enter shell break mode |
| `C-k` | Kill line |
| `C-u` | Backward kill line |
| `C-l` | Clears the screen |
| `M-c` | Clears the current expression |
| `M-l` | Redraw line |
| `C-n` | Fetch next line from the history buffer |
| `C-o` or `M-o` | Edit the current line using the editor specified in the environment variable `VISUAL` or `EDITOR`. The environment variables can contain arguments to the editor if needed, for example `VISUAL="emacs -nw"`. On Windows the editor cannot be a console based editor. |
| `C-p` | Fetch previous line from the history buffer |
| `M-r` | Format current expression using `shell:format_shell_func/1` |
| `C-r` | Enter search mode and then search backward in the shell history |
| `C-s` | In search mode, search forward in the shell history |
| `C-t` | Transpose characters |
| `C-w` | Backward kill word |
| `C-y` | Insert previously killed text |
| `C-]` | Insert matching closing bracket |
| `C-Up` or `M-Up` | Navigate one row up when editing multiple lines |
| `C-Down` or `M-Down` | Navigate one row down when editing multiple lines |
| `M-Enter` | Insert a new line at cursor |
| `M-<` or `M-S-Up` | Navigate to the start of the current expression |
| `M->` or `M-S-Down` | Navigate to the end of the current expression |
| `Tab` or `C-i` | Autocomplete current expression, or show completion suggestions |
| `M-c` | Clear current expression |
| `M-h` | Display help for the module or function closest on the left of the cursor. |
| `PageUp` | Scroll the expand, search or help buffer 5 lines upwards. |
| `PageDown` | Scroll the expand, search or help buffer 5 lines downwards. |

_Table: tty Text Editing_

Expand Down
2 changes: 1 addition & 1 deletion lib/asn1/doc/guides/asn1_getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ and how values are assigned in Erlang.

ASN.1 has both primitive and constructed types:

| _Primitive Types_ | _Constructed Types_ |
| Primitive Types | Constructed Types |
| -------------------------------------------------------------- | ------------------------------------------------------------ |
| [BOOLEAN](asn1_getting_started.md#boolean) | [SEQUENCE](asn1_getting_started.md#sequence) |
| [INTEGER](asn1_getting_started.md#integer) | [SET](asn1_getting_started.md#set) |
Expand Down
2 changes: 1 addition & 1 deletion lib/common_test/doc/guides/ct_hooks_chapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ following table. Function [init/2](`c:ct_hooks:init/2`) is called at the
beginning of the scope and function [terminate/1](`c:ct_hooks:terminate/1`) is
called when the scope ends.

| _CTH installed in_ | _CTH scope begins before_ | _CTH scope ends after_ |
| CTH installed in | CTH scope begins before | CTH scope ends after |
| ------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
| [ct_run](run_test_chapter.md#ct_run) | the first test suite is to be run | the last test suite has been run |
| [ct:run_test](`ct:run_test/1`) | the first test suite is run | the last test suite has been run |
Expand Down
Loading
Loading