goldendict-ng/website/docs/ui_toolbar.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

57 lines
2.6 KiB
Markdown
Raw Normal View History

2023-04-16 00:53:40 +00:00
## Toolbar
![toolbar](img/toolbar.webp)
2024-11-14 03:48:06 +00:00
Type your word in Search Box and press `Enter` to search word in the current selected group. You can also choose a variant from a matches list.
2023-04-16 00:53:40 +00:00
2024-11-14 03:48:06 +00:00
Holding Ctrl or Shift will display the translation result in a new tab.
2023-04-16 00:53:40 +00:00
### Wildcard matching
2024-11-14 03:48:06 +00:00
The search line can use wildcard or glob symbols for matching words.
| Wildcard | Description |
|----------|------------------------------------------------------------------------|
| `?` | Matches any single character. |
| `*` | Matches zero or more of any characters. |
| `[abc]` | Matches one character given in the bracket. |
| `[a-c]` | Matches one character from the range given in the bracket. |
| `[!abc]` | Matches one character that is not given in the bracket. |
| `[!a-c]` | Matches one character that is not from the range given in the bracket. |
| `\` | Escaping wildcard symbols, e.g. `\?` to search `?` |
2023-04-16 00:53:40 +00:00
!!! note
2024-11-14 03:48:06 +00:00
The wildcard symbol in the first character leads to scanning of every dictionary's every word and may take a long time.
More information about wildcard matching can be found in [Wikipedia's glob article](https://en.wikipedia.org/wiki/Glob_(programming)).
2023-04-16 00:53:40 +00:00
## Dictionary Bar
2024-11-14 03:48:06 +00:00
The dictionary bar contains all dictionaries from the current dictionaries group. Click the icons to disable/enable them.
### "Solo" mode
Temporally focus on a single dictionary and restore back to all dictionaries or previously selected dictionaries.
To enter solo mode:
++ctrl+left-button++ -> Select a single dictionary.
To exit solo mode:
++ctrl+left-button++ -> Reselect all dictionaries.
2023-04-16 00:53:40 +00:00
2024-11-14 03:48:06 +00:00
++shift+left-button++ -> Reselect dictionaries that were previously selected before entering solo mode.
2023-04-16 00:53:40 +00:00
2024-11-14 03:48:06 +00:00
For example, there are 4 dictionaries A,B,C,D with ABC selected.
2023-04-16 00:53:40 +00:00
2024-11-14 03:48:06 +00:00
| Cases | Note |
|------------------------------------------|----------------------------------------------|
| Ctrl+Click A | select A only |
| Ctrl+Click A, Ctrl+Click B | select B only |
| Ctrl+Click A, Ctrl+Click A | A,B,C,D selected (all dictionaries selected) |
| Ctrl+Click A, Shift+Click any dictionary | A,B,C selected |
2023-04-16 00:53:40 +00:00
2024-11-14 03:48:06 +00:00
Note: This can also be used on the "Found in dictionaries" panel.
2023-04-16 00:53:40 +00:00