Name | plover-undo-tools JSON |
Version |
0.0.0
JSON |
| download |
home_page | None |
Summary | Customize the undo behavior of certain entries |
upload_time | 2024-08-31 02:14:17 |
maintainer | None |
docs_url | None |
author | None |
requires_python | None |
license | None |
keywords |
plover
plover_plugin
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Plover undo tools
Commands that modify how translations behave when Plover undoes them.
## Setup
This plugin is currently not available from Plover's Plugins Manager. [Instructions are available on the Plover wiki](https://plover.wiki/index.php/Plugins#Find_the_plugin_on_PyPI_or_as_a_git_repo) on how to install this plugin from this Git repository.
## Commands
### `{plover:undoable}`
Makes a translation that does not produce any text output undoable.
For instance, to make various spacing commands undoable:
* `"TK-LS": "{plover:undoable}{^}"`
* `"KPA": "{plover:undoable}{~|}{-|}"`
* `"KPA*": "{plover:undoable}{^}{-|}"`
* `"KPWAOEGS": "{plover:undoable}{^}{MODE:LOWER}{MODE:SET_SPACE:-}"`
With these entries, stroking e.g. `KPA/*` will no longer undo the last stroke before `KPA` that caused text to be output (what happens by default in Plover); it will instead not alter the currently typed text at all, but now the next word will no longer be capitalized.
#### Edge case behavior
* If used on an entry that is normally undoable, an extra undo is needed before Plover will start undoing the translation before it.
### `{plover:undo_with:...}`
Causes additional text or commands to be translated when a given translation is undone.
Some example use cases:
* Undoing `{plover:solo_dict}` command calls:<br />`"PHRAU": "{plover:undo_with:\\{plover:end_solo_dict\\}}{plover:solo_dict:+raw-solo-dict.json}{^ ^}{MODE:SET_SPACE:/}"`
* Undoing movement strokes:<br />`"STPH-G": "{#right}{^}{plover:undo_with:\\{#left\\}}"`
#### Edge case behavior
* (TODO?) The number of undos needed to erase a multistroke translation that uses this command may not match the number of strokes in the entry. If this command is set to produce text, the entire translation is replaced with text that can be erased with just 1 stroke.
Raw data
{
"_id": null,
"home_page": null,
"name": "plover-undo-tools",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "plover plover_plugin",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/7a/ca/0861f137f309351ea648a35cfbe6f7c47bebafa89a782d3bc9c037e7e54a/plover_undo_tools-0.0.0.tar.gz",
"platform": null,
"description": "# Plover undo tools\r\nCommands that modify how translations behave when Plover undoes them.\r\n\r\n\r\n## Setup\r\nThis plugin is currently not available from Plover's Plugins Manager. [Instructions are available on the Plover wiki](https://plover.wiki/index.php/Plugins#Find_the_plugin_on_PyPI_or_as_a_git_repo) on how to install this plugin from this Git repository.\r\n\r\n\r\n## Commands\r\n\r\n\r\n### `{plover:undoable}`\r\nMakes a translation that does not produce any text output undoable.\r\n\r\nFor instance, to make various spacing commands undoable:\r\n* `\"TK-LS\": \"{plover:undoable}{^}\"`\r\n* `\"KPA\": \"{plover:undoable}{~|}{-|}\"`\r\n* `\"KPA*\": \"{plover:undoable}{^}{-|}\"`\r\n* `\"KPWAOEGS\": \"{plover:undoable}{^}{MODE:LOWER}{MODE:SET_SPACE:-}\"`\r\n\r\nWith these entries, stroking e.g. `KPA/*` will no longer undo the last stroke before `KPA` that caused text to be output (what happens by default in Plover); it will instead not alter the currently typed text at all, but now the next word will no longer be capitalized.\r\n\r\n\r\n#### Edge case behavior\r\n* If used on an entry that is normally undoable, an extra undo is needed before Plover will start undoing the translation before it.\r\n\r\n\r\n### `{plover:undo_with:...}`\r\nCauses additional text or commands to be translated when a given translation is undone.\r\n\r\nSome example use cases:\r\n* Undoing `{plover:solo_dict}` command calls:<br />`\"PHRAU\": \"{plover:undo_with:\\\\{plover:end_solo_dict\\\\}}{plover:solo_dict:+raw-solo-dict.json}{^ ^}{MODE:SET_SPACE:/}\"`\r\n* Undoing movement strokes:<br />`\"STPH-G\": \"{#right}{^}{plover:undo_with:\\\\{#left\\\\}}\"`\r\n\r\n\r\n#### Edge case behavior\r\n* (TODO?) The number of undos needed to erase a multistroke translation that uses this command may not match the number of strokes in the entry. If this command is set to produce text, the entire translation is replaced with text that can be erased with just 1 stroke.\r\n",
"bugtrack_url": null,
"license": null,
"summary": "Customize the undo behavior of certain entries",
"version": "0.0.0",
"project_urls": null,
"split_keywords": [
"plover",
"plover_plugin"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5259930e04e3f9ac2acf894786874fba1ffa141bc87fd968826bdd8b998c6912",
"md5": "199c0932632e0e8e39642b1dce152d86",
"sha256": "d29c21c491ebd723eae5ba3d4293fdb9b3cfcf6b024b10cad86cf3f07bd6df5b"
},
"downloads": -1,
"filename": "plover_undo_tools-0.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "199c0932632e0e8e39642b1dce152d86",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3356,
"upload_time": "2024-08-31T02:14:15",
"upload_time_iso_8601": "2024-08-31T02:14:15.692935Z",
"url": "https://files.pythonhosted.org/packages/52/59/930e04e3f9ac2acf894786874fba1ffa141bc87fd968826bdd8b998c6912/plover_undo_tools-0.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7aca0861f137f309351ea648a35cfbe6f7c47bebafa89a782d3bc9c037e7e54a",
"md5": "7565066d3188b10ea581bd07fa5d0436",
"sha256": "56b0cd612eaf0e0e77b9cabfef99f81c62ef9a9009f15f3a1d50fe5876ca291c"
},
"downloads": -1,
"filename": "plover_undo_tools-0.0.0.tar.gz",
"has_sig": false,
"md5_digest": "7565066d3188b10ea581bd07fa5d0436",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2864,
"upload_time": "2024-08-31T02:14:17",
"upload_time_iso_8601": "2024-08-31T02:14:17.191138Z",
"url": "https://files.pythonhosted.org/packages/7a/ca/0861f137f309351ea648a35cfbe6f7c47bebafa89a782d3bc9c037e7e54a/plover_undo_tools-0.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-31 02:14:17",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "plover-undo-tools"
}