leo/plugins/spellpyx.txt is both source controlled and customized
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
leo-editor |
Fix Released
|
Medium
|
Edward K. Ream |
Bug Description
A file that is both source controlled and customized by the user is inconvenient for both novices and experts. Such a file is inconvenient for a novice running Linux because the novice probably does not have write access to leo/plugins/
Hence, it is undesirable that file leo/plugins/
Example of user customization:
Copy file leo/plugins/
Run the Leo-Editor spell checker on text containing a word that spell flags as misspelled.
Click the "Add" button in the spell pane.
Now diff leo/plugins/
Note that the word you "added" is at the end of leo/plugins/
-------
Suggested fix:
Allow two spell word lists: leo/plugins/
These lists are "additive". That is, any word in either list is accepted.
Make the spell "Add" always add to ~/.leo/
-------
Forum thread:
https:/
-------
My test system:
Xubuntu 12.04
Leo Log Window
Leo 4.11 devel, build 5752, 2013-04-27 12:44:31
Python 2.7.3, qt version 4.8.1
linux2
---
I believe the Leo-Editor spell checker has worked this way for a very long time.
Changed in leo-editor: | |
milestone: | none → 4.11-b1 |
assignee: | nobody → Edward K. Ream (edreamleo) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Fixed at rev 5990. The checkin log (for rev 5989):
- leo\plugins\ spellpyx. txt is no longer part of the distribution.
- EnchantClass ctor calls create to create an empty leo/plugins/ spellpyx. txt if necessary.
- clean_dict now takes care to remove blank lines--they cause problems.
- All code now works with Python 3.x.