leoCommands.py and leoEditCommands.py are too large and contain a mishmash 
of code.

I propose to replace the leo.core.leoEditCommands module with a 
leo/userCommands directory containing something like the following files:

   - abbreviationCommands.py
   - baseCommands.py
   - cursorCommands.py
   - editCommands.py
   - fileCommands.py
   - findCommands.py
   - spellCommands.py
   - windowCommands.py

These files would contain user commands from leoCommands.py and 
leoEditCommands.py.  
Code would access these sub-modules as usual. For example:

    import leo.userCommands.findCommands as findCommands

The leo.core.leoCommands module would contain only the Commands class.

There would be some impact on code in Leo's core and Leo's unit tests.  I 
foresee little or no impact on existing plugins.

Your comments please, Amigos.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to