Re: Leo 4.5 beta 1 released

2008-06-30 Thread Bruce Wang
On Sun, Jun 29, 2008 at 10:28 PM, Edward K. Ream [EMAIL PROTECTED] wrote: [snip] I'm guessing that the full traceback is something like: Traceback (most recent call last): File leo\core\runLeo.py, line 464, in module run() File leo\core\runLeo.py, line 150, in run c,frame

Re: Leo 4.5 beta 1 released

2008-06-30 Thread Edward K. Ream
On Mon, Jun 30, 2008 at 5:05 AM, Bruce Wang [EMAIL PROTECTED] wrote: the full trackback is a little different from what you'd guessed: Plugins disabled: use_plugins is 0 in a leoSettings.leo file. Traceback (most recent call last): File /usr/bin/leo, line 8, in module

Re: Eliminate whitespace around rendered nodes?

2008-06-30 Thread Edward K. Ream
On Sun, Jun 29, 2008 at 3:06 PM, wgw [EMAIL PROTECTED] wrote: Thanks for the tip. My solution was to set @string trailing_body_newlines = zero And, for good measure: @bool force_newlines_in_at_nosent_bodies = False That does the trick for me. Glad to hear it. I certainly don't

Re: Eliminate whitespace around rendered nodes?

2008-06-30 Thread Kent Tenney
On Mon, Jun 30, 2008 at 9:28 AM, Edward K. Ream [EMAIL PROTECTED] wrote: On Sun, Jun 29, 2008 at 3:06 PM, wgw [EMAIL PROTECTED] wrote: Thanks for the tip. My solution was to set @string trailing_body_newlines = zero And, for good measure: @bool force_newlines_in_at_nosent_bodies =

Re: Eliminate whitespace around rendered nodes?

2008-06-30 Thread Edward K. Ream
On Mon, Jun 30, 2008 at 10:02 AM, Kent Tenney [EMAIL PROTECTED] wrote: You sometimes mention your todo schedule in emails, but I have trouble remembering what projects are in what state. If there were an actual list, I think it would be useful. The to-do list is in leoPy.leo, in the node

Re: xml aware mode...

2008-06-30 Thread Terry Brown
Schema aware completion is different from template completion though, it shows you the list of possibly valid entries at a give point, and allows for repetition of structures etc. It occurs to me that abbrev mode could close html elements quite helpfully, but it doesn't seem to work setting 'h1'

Re: xml aware mode...

2008-06-30 Thread Terry Brown
p.s. I see abbrevs can't be multi line either. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group, send email to leo-editor@googlegroups.com To unsubscribe from this group, send

Warning: site-customize/easy_install.pth can cause confusion

2008-06-30 Thread Edward K. Ream
A few days ago I thought I was running test code from the 'redraw' branch, but actually most imports got resolved to the 'trunk' branch. Clearly, site.py was adding trunk's path to sys.path. My first hack was simply to remove this path by brute force. Today I got around to adding traces to

Re: Leo!

2008-06-30 Thread Edward K. Ream
On Mon, Jun 30, 2008 at 11:04 AM, Terry Brown [EMAIL PROTECTED] wrote: I would like to think that I have a reasonably good grasp of Leo, but trying something a little different this weekend I realized again just what a cool concept it is. It's not an IDE for Python or C or HTML, it's an IDE

Re: xml aware mode...

2008-06-30 Thread Edward K. Ream
On Mon, Jun 30, 2008 at 10:48 AM, Terry Brown [EMAIL PROTECTED] wrote: Schema aware completion is different from template completion though, it shows you the list of possibly valid entries at a give point, and allows for repetition of structures etc. It occurs to me that abbrev mode could

b2 coming soon

2008-06-30 Thread Edward K. Ream
There are some small but ignoring bugs in Leo 4.5 b1 that I would like to fix this week. I plan to change back to using pychecker: it does a better job in finding things like undefined ivars. Happily, just today the following post appeared: http://thomas.apestaart.org/log/?p=649#comment-22040

Re: xml aware mode...

2008-06-30 Thread Terry Brown
On Mon, 30 Jun 2008 11:21:27 -0500 Edward K. Ream [EMAIL PROTECTED] wrote: helpfully, but it doesn't seem to work setting 'h1' as an abbrev. for 'h1/h1' for example. Any reason why not? Should I poke into it? I don't use abbrev's (yet), and I strongly suspect there are bugs. It

adding editor commands to leo

2008-06-30 Thread Terry Brown
Adding a command via a plug-in? What's the polite way of adding a command to Leo, i.e. a command like insertBodyTime. I have some code to close the XML element open at the cursor in the body pane. I was going to just duplicate insertBodyTime and modify that, but then I realized it comes with a

Re: adding editor commands to leo

2008-06-30 Thread Terry Brown
On a related point, how can I insert text into the body so that: (a) p.bodyString() reflects the change, and (b) the cursor doesn't move to the end of the buffer c.setBodyString(p, oldBodyStringWithCloseTag) works for (a) but fails on (b) w = c.frame.body.bodyCtrl; w.insert(pnt,closeTag)

Re: attributes in thin files (was Re: Using icons to show status)

2008-06-30 Thread Terry Brown
Digging up my own email so I don't forget it - I think the below is a solution for the sentinels in @thin files issue? - Thin files are supposed to play nice with VCS - Trivial changes to outline attributes (node visibility etc.) aren't compatible with this. - This keeps the trivial changes