I support most decisions that lead to smaller file sizes and logical groupings. While it's awesome to use Leo for code organization the first level of organization remains at the file system.
On Tuesday, May 5, 2015 at 5:34:03 AM UTC-4, Kent Tenney wrote: > > Sounds like a code clean-up to me. > > On Tue, May 5, 2015 at 12:30 AM, Edward K. Ream <[email protected] > <javascript:>> wrote: > > 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 [email protected] <javascript:>. > > To post to this group, send email to [email protected] > <javascript:>. > > Visit this group at http://groups.google.com/group/leo-editor. > > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
