Edward K. Ream
Edward K. Ream
This PR will remain a draft until Leo 6.7.6. #3472 describes the json format. #3485 describes *possible* problems with `paste-retaining-clones`. - [x] Rewrite `copy-node`, `paste-node`, and `paste-retaining-clones` so they use...
PR #3473 adds support for `copy-node`, `cut-node`, `paste-node`, `paste-retaining-clones` and `paste-as-template`. A later issue and PR will add support for json-based file format. - `c.archive` creates a json-based **archive dict**...
The initial idea was to use `copy-node`/`paste-retaining-clones` to save/restore undo state. Another idea: use `p.archive` to remember all state. *Note*: `p.archive` must be sure to archive *all* referenced VNodes. Those...
See #2882. **Summary** Alas, more specific annotations are not very useful. I am going to abandon this project for now. - [x] Use contents of leoQt6.py as basis of leoQt.py....
Leo's existing unit tests provide near-100% coverage. Adding tests based on [pydantic](https://docs.pydantic.dev/) and [hypothesis](https://hypothesis.readthedocs.io/en/latest/) is worth investigating.
See [this discussion](https://groups.google.com/g/leo-editor/c/I7ggFqTZLEg).
I just ran across the following file from lukagolibrodo. I'm not sure how useful the above would be. ```python #@+leo-ver=5-thin #@+node:lukagolibrodo.20210329145317.1: * @file /home/me/leo-environment/MakeIconbarMultirow.py #@@language python from leo.core.leoQt import QtWidgets,...
[The Vue Component Spec](https://vue-loader.vuejs.org/en/start/spec.html) gives the format of .vue files. I have used `@clean` to organize .vue files. For example, `@clean App.vue` in LeoView.leo: ```html @language html > // section...
Consider the following file, say `test.py`: ```python class Test: __slots__ = ('good',) def main(): t = Test() print(t.bad) # Obvious AttributeError main() ``` Running `python -m ruff check test.py` fails...
I have converted many % operators using fstringify, yet over 600 other instances remain unconverted. I wonder whether this issue may be related to #13. For example, [leoBridgeTest.py](https://github.com/leo-editor/leo-editor/blob/devel/leo/core/leoBridgeTest.py) contains: ```python...