Re: Design notes: eliminating Tk

2011-05-28 Thread Edward K. Ream
On Fri, May 27, 2011 at 9:57 AM, Edward K. Ream edream...@gmail.com wrote: On May 27, 9:22 am, Edward K. Ream edream...@gmail.com wrote: Eliminating Tk will be easy.  Here are a few notes as a heads up: My intention is to do this for the next release: 4.9 b1. After quite a bit of thought, b1

Re: Design notes: eliminating Tk

2011-05-28 Thread Edward K. Ream
On Sat, May 28, 2011 at 5:32 AM, Edward K. Ream edream...@gmail.com wrote: After quite a bit of thought, b1 will contain only bug fixes and obviously missing features. These are items that people have a right to expect, and some of them have been on the list for years. They absolutely must

Re: Waiting for Ville Terry

2011-05-28 Thread Edward K. Ream
On Fri, May 27, 2011 at 9:53 AM, Edward K. Ream edream...@gmail.com wrote: Ville has been traveling and Terry is on vacation.  I'll avoid doing anything irrevocable until they sign off on all proposed changes. This is one reason why the middling items have been postponed to b2. We are likely

Re: Design notes: eliminating Tk

2011-05-28 Thread Edward K. Ream
On May 28, 5:32 am, Edward K. Ream edream...@gmail.com wrote: After quite a bit of thought, b1 will contain only bug fixes and obviously missing features. I just realized that b1 could be called the true completion of Leo! The items on the b2 list are quite minor as far a most users are

Re: Leo now uses a splash screen: non-copyrighted image needed

2011-05-28 Thread Ville M. Vainio
On Thu, May 26, 2011 at 5:41 PM, Edward K. Ream edream...@gmail.com wrote: I just noticed that the present file has a copyright notice.  I would welcome suggestions for non-copyrighted images of a Leo mascot. Try something here:

Re: Leo now uses a splash screen: non-copyrighted image needed

2011-05-28 Thread Edward K. Ream
On Sat, May 28, 2011 at 7:15 AM, Edward K. Ream edream...@gmail.com wrote: I've chosen to use the large icon from Leo's web site as the splash screen. It looks good to me... It, and the code to draw it, are on the trunk at rev 4172. Edward -- You received this message because you are

Time to test the trunk

2011-05-28 Thread Edward K. Ream
The remaining items on the b1 to-do list will have only local repercussions. In contrast, several recent changes were more problematic. I'm eating my own dog food without pain, but more testers would be welcome. Edward -- You received this message because you are subscribed to the Google

A great up/down arrow hack now on the trunk

2011-05-28 Thread Edward K. Ream
I have lost the exact source of the following request, but iirc it was Ville's suggestion. As of rev 4175, if you type a *plain* up/down arrow key while editing a headline, Leo will act as if you had typed the corresponding *alt*- arrow key. That is, Leo will end editing of the headline and go

For what languages would you like Leo's language tables to have entries?

2011-05-28 Thread Edward K. Ream
This follows up on the discussion at: http://groups.google.com/group/leo-editor/browse_thread/thread/b41ddfeb3c84e780 I've just created a script that will automatically create entries in g.app.language_delims_dict using information in the corresponding files in the leo/modes directory. This is

Re: For what languages would you like Leo's language tables to have entries?

2011-05-28 Thread Gregory Crosswhite
On 5/28/11 1:23 PM, Edward K. Ream wrote: This follows up on the discussion at: http://groups.google.com/group/leo-editor/browse_thread/thread/b41ddfeb3c84e780 I've just created a script that will automatically create entries in g.app.language_delims_dict using information in the corresponding

Re: Design notes: eliminating Tk

2011-05-28 Thread Ville Vainio
Sounds good, though 3 may be a Tad ambitious :). Edward K. Ream edream...@gmail.com wrote: Eliminating Tk will be easy. Here are a few notes as a heads up: 1. Remove Tk command-line options. 2. Move all Tk plugins into the contrib branch. Ditto for the Gato and Pmw stuff in the extensions

A huge improvement: use @file extension if there is no @language in effect

2011-05-28 Thread Edward K. Ream
Rev 4182 contains something that Jason Cunliffe first proposed in July of 2003: Leo now uses the language implied by the file extension in the nearest ancestor @file node if no @language directive is in effect. This should eliminate the need for most @language directives. I can not believe it

Re: Design notes: eliminating Tk

2011-05-28 Thread Edward K. Ream
On Sat, May 28, 2011 at 3:40 PM, Ville Vainio vivai...@gmail.com wrote: Sounds good, though 3 may be a Tad ambitious :). Point 3 just means translating Tk text indices of the following forms to Qt (integer) indices: 'lineend', 'linestart', 'sel.first', 'sel.last', 'wordend',