Re: revno 3914 introduced bug in key handling

2011-03-31 Thread Ville M. Vainio
On Fri, Apr 1, 2011 at 1:17 AM, Edward K. Ream wrote: > In any case, please comment out the keyPressEvent method in qtGui.py > and let me know if that solves the problem.  Thanks. And, just try calling QtGui.QTextBrowser.keyPressEvent(self,event) there. I doubt existence of keyPressEvent is

Text size zoom?

2011-03-31 Thread wgw
I poked around the code to see if there was a way to change on the fly the font size in the body pane. I believe the @int qt-rich-text-zoom- in = 10 will change things (but maybe that is the wrong setting?). Can the text zoom be changed on the fly? I'm want to be able to increase the font size wh

Re: c.bringToFront

2011-03-31 Thread Terry Brown
On Thu, 31 Mar 2011 17:45:55 -0500 "Edward K. Ream" wrote: > > I don't think c.bringToFront() brings the window to the front, > > Correct. It simply sets c.requestedFocusWidget. > > *Provided* that c.outerUpdate eventually gets called, the effect, > within c.outerUpdate will be to execute this

Patch: fix for "word" undo granularity

2011-03-31 Thread Sam Hartsfield
Several times I've pressed undo and it undid more than I intended, so I thought I'd try the "word" undo granularity described in leoSettings.leo (@string undo_granularity). However, it gives this exception: exception in setUndoRedoTypingParams Traceback (most recent call last): File "/usr/lib/

Re: c.bringToFront

2011-03-31 Thread Edward K. Ream
On Thu, Mar 31, 2011 at 12:09 PM, Terry Brown wrote: > Was trying to squeeze in a little time to fix c.bringToFront(), Please do *not* attempt to fix this. You have stumbled across one of the most difficult areas of Leo. > but ran into design issues wrt redraw machinery.  I.e. c.bringToFront()

Re: revno 3914 introduced bug in key handling

2011-03-31 Thread Edward K. Ream
On Thu, Mar 31, 2011 at 12:38 PM, vitalije wrote: > Hello, > I have updated Leo to the revno 3930 and noticed that I can't type > letters other than ASCII anymore. I think it may be the mere existence of the keyPressEvent method that is causing the problem. Do you use the Alt or Ctrl modifiers t

revno 3914 introduced bug in key handling

2011-03-31 Thread vitalije
Hello, I have updated Leo to the revno 3930 and noticed that I can't type letters other than ASCII anymore. With a little investigation I found that revno 3914 introduced bug. A revno 3914 log says: Changes for QCompleter. More are coming. - Changed name from QTextBrowserSubclass to LeoQTex

c.bringToFront

2011-03-31 Thread Terry Brown
Was trying to squeeze in a little time to fix c.bringToFront(), but ran into design issues wrt redraw machinery. I.e. c.bringToFront() just sets ivars which I assume are used by c.redraw(). I don't think c.bringToFront() brings the window to the front, and it certainly doesn't bring the correct t

Re: About pep 3101: good news

2011-03-31 Thread Terry Brown
On Tue, 29 Mar 2011 06:21:51 -0500 "Edward K. Ream" wrote: > On Mon, Mar 28, 2011 at 10:53 PM, Ethan Furman wrote: > > > %-formatting is not likely to get deprecated -- there is not a consensus > > among the core-devs to do so (I am not one, but I lurk a lot and > > occasionally comment). > >

Re: Leo w/ Qt 'looses' focus in the body of each node ...

2011-03-31 Thread VR
Hello Edward, On 29 Mrz., 13:26, VR wrote: > ... > The one thing that is irritating me now, is that Leo is loosing the focus > at the end of the body of a node where I type. - It always goes back > several lines after I switched for example to the web-browser to copy > some content and I have to

Re: colors in headline edit

2011-03-31 Thread vitalije
Also I can't figure how to change color of "(" and ")" in actionscript language. I like dark background with the light text and that is the color scheme I have in myLeosettings. But "(" and ")" are black and that is not compatible with my dark background color. The only two colors in leoSettings

colors in headline edit

2011-03-31 Thread vitalije
Hello, I have noticed recently an ugly combination of colors in headline while editing that was introduced by updating Leo. Background is very dark and text color is also dark so that it is quite unreadable. I haven't had enough time to inspect default settings till this morning. Today I realized t