Re: @killcolor does not apply

2009-03-19 Thread Ville M. Vainio
the code further will not be easy.  I probably will do nothing more on this until Leo 4.6 final is released. Some common special cases can be optimized for in a rather safe fashion... -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received

Re: @killcolor does not apply

2009-03-19 Thread Ville M. Vainio
On Thu, Mar 19, 2009 at 8:33 AM, Ville M. Vainio vivai...@gmail.com wrote: Also, in my work machine that has syntax higlighting disabled (because Qt is disabled) it's fast enough. Argh, I meant to say because of Qt version. -- Ville M. Vainio http://tinyurl.com/vainio

Re: @killcolor does not apply

2009-03-19 Thread Ville M. Vainio
M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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 email to leo

updateStatusLine, setInsertPoint does getAllText

2009-03-19 Thread Ville M. Vainio
getAllText. This slows the whole thing down unnecessarily. The statusLine can probably be updated from qtextedit/qtextcursor directly, or have it done in idle phase/timeout. Also, setInsertPoint does an unnecessary toPlainText. -- Ville M. Vainio http://tinyurl.com/vainio

Line number col with QTextEdit

2009-03-19 Thread Ville M. Vainio
/qtextdocument.html#blockCount-prop -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Bottlenecks: setUndoTypingParams, setMoveCol

2009-03-19 Thread Ville M. Vainio
cleverness - probably comparison of bigger string chunks (assume that only current line has changed = you can short-circuit the scenario, by comparing the whole leading and trailing chunks as one string) -- Ville M. Vainio http://tinyurl.com/vainio

Re: Usability issue when having @test nodes with the same name

2009-03-19 Thread Ville M. Vainio
) test_node_failure(c,p, traceback) and test_run_finish(c, p) - React to unit_test_failure by adding the position and the failing line to internal poslist - On unit_tests_finish, switch focus to nav bar and show the poslist -- Ville M. Vainio http://tinyurl.com/vainio

Re: Usability issue when having @test nodes with the same name

2009-03-19 Thread Ville M. Vainio
On Thu, Mar 19, 2009 at 10:32 PM, Ville M. Vainio vivai...@gmail.com wrote: - React to unit_test_failure by adding the position and the failing I meant test_node_failure(), of course. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You

Re: updateStatusLine, setInsertPoint does getAllText

2009-03-20 Thread Ville M. Vainio
of last char in last block. OTOH, it should be safe to ignore the check altogether, I can't imaging it will put the cursor past the end of text anyway. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Line number col with QTextEdit

2009-03-20 Thread Ville M. Vainio
. there is something that is a bit off). This is no excuse to break anything, so caution should be exercised when modifying this stuff. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Bottlenecks: setUndoTypingParams, setMoveCol

2009-03-20 Thread Ville M. Vainio
On Fri, Mar 20, 2009 at 6:09 PM, Edward K. Ream edream...@gmail.com wrote: Feel free to optimize the qt version of this at: Qt gui--@thin qtGui.py--Text widget classes-- class leoQtBaseTextWidget-- Must be defined in base class-- Indices-- toPythonIndex Thanks! -- Ville M. Vainio http

Re: Another big picture

2009-03-20 Thread Ville M. Vainio
/turbogears) -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: Bottlenecks: setUndoTypingParams, setMoveCol

2009-03-20 Thread Ville M. Vainio
). -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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 email

Re: Line number col with QTextEdit

2009-03-20 Thread Ville M. Vainio
2009/3/19 Ville M. Vainio vivai...@gmail.com: Thoughts: It's a waste to do toPlainText to deal with python index (line, col) with QTextEdit. We can rely on lines == QTextBlock's http://doc.trolltech.com/4.4/qtextdocument.html#findBlock http://doc.trolltech.com/4.4/qtextdocument.html

qt optimization status

2009-03-20 Thread Ville M. Vainio
is broken. It's easy to fix (move the code out of base class to leoqttextedit), but it's 2:30 here ;-) -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group

Performance idea - explicit caching for getAllText readonly sections, 'with' statement

2009-03-21 Thread Ville M. Vainio
the g.readonly context handlers can (and would) be nested, since we don't want to limit the 'readonly' enforcement only to highest level methods. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you

Re: Usability issue when having @test nodes with the same name

2009-03-21 Thread Ville M. Vainio
test run failures and show them in friendly form. I'll try to whip up a prototype. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group

Re: quicksearch.py new feature: navigate failed unit test cases

2009-03-21 Thread Ville M. Vainio
/f1ad2a7c0 -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Leo, sphinx, rst3, and reStructuredText sentinels

2009-03-21 Thread Ville M. Vainio
the current LeoDocs.leo structure to the derived rst file approach. It may be a bit controversial in that it requires quite a different viewpoint from current everything in leo rst3 approach, but I don't see how it can be avoided without creating a huge barrier b/w leo users and others. -- Ville M

Re: Leo, sphinx, rst3, and reStructuredText sentinels

2009-03-22 Thread Ville M. Vainio
also decouple document authoring (leo) from build process (sphinx), just like we are not compiling programs from leo, even if we do modify them from leo. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you

Re: Stuck re headline reversions

2009-03-22 Thread Ville M. Vainio
. It's actually QObject.destroyed. It does seem rather hackish (read: error-prone) to rely on that. Following Terrys suggestion, why not just rely on: http://doc.trolltech.com/4.5/qlineedit.html#textEdited -- Ville M. Vainio http://tinyurl.com/vainio

Re: added: ctagscompleter.py

2009-03-23 Thread Ville M. Vainio
. scintilla, and pretty much every modern IDE). This is also a sort of demo for QCompleter in itself, with the eye on possibly using it for leo's normal completion mechanism as well (at some point). It's not as friendly as it could be yet, in that you need to click the completion with mouse. -- Ville M

Re: Leo, sphinx, rst3, and reStructuredText sentinels

2009-03-23 Thread Ville M. Vainio
use it to edit the documents, and do everything else from command line. That's the way it remains easy to understand (just like it's easy to understand that you can run @thin foo.py directly in python interpreter). -- Ville M. Vainio http://tinyurl.com/vainio

Re: Leo, sphinx, rst3, and reStructuredText sentinels

2009-03-23 Thread Ville M. Vainio
the output rst file have the structure as sentinels? If so, we can use it from @thin nodes with original structure, provided that we have @comment .. available :-). -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you

Re: Leo, sphinx, rst3, and reStructuredText sentinels

2009-03-23 Thread Ville M. Vainio
. BTW, will it work so that it only matches .. on the begging of line? Having .. as 'general' comment mark anywhere in text will certainly break most rst document. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you

Re: Leo, sphinx, rst3, and reStructuredText sentinels

2009-03-23 Thread Ville M. Vainio
structures (leoApp.py) Ok, have to checck it out -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: added: ctagscompleter.py

2009-03-23 Thread Ville M. Vainio
On Mon, Mar 23, 2009 at 4:13 PM, Edward K. Ream edream...@gmail.com wrote: Just added a plugin that provides completions through ctags. I don't see this on the trunk. Yeah, so far it's only at the qt-opt branch. -- Ville M. Vainio http://tinyurl.com/vainio

Re: Leo, sphinx, rst3, and reStructuredText sentinels

2009-03-23 Thread Ville M. Vainio
problems. One problem seems to be that you should use .. mycomment, not ..mycomment (the space is needed). How can I specify that comment is .. + space? -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you

Re: Leo, sphinx, rst3, and reStructuredText sentinels

2009-03-23 Thread Ville M. Vainio
Hello .. #endsent Is there a way to provide that padding between sentinels already? You *can* add that empty line to the beginning and end of every node, of course. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message

Simple idea for compound keybindings

2009-03-23 Thread Ville M. Vainio
' : ('file-save', (FILENAME_NEEDED,) This state map easily allows us to analyze when we are ready to accept arguments. We can also easily show 'register-insert: enter letter' in statusbar. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You

Re: Leo, sphinx, rst3, and reStructuredText sentinels

2009-03-23 Thread Ville M. Vainio
with rst2html -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: leo 4.5.1 final - Unable to re-open shadow file correctly

2009-03-24 Thread Ville M. Vainio
On Tue, Mar 24, 2009 at 8:17 AM, zpcspm zpc...@gmail.com wrote: At https://launchpad.net/leo-editor And there is an easy way (assuming you got bzr installed): bzr branch lp:leo-editor -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You

Re: Error in a leo script

2009-03-24 Thread Ville M. Vainio
it should still be available (in the API) and honored as well, even if there is no user-visible setting for doing that. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo

Re: Leo sighting! - Fwd: [Pythoscope] Static inspection in constant memory

2009-03-24 Thread Ville M. Vainio
2009/3/24 Kent Tenney kten...@gmail.com: I successfully tested the feature on the Leo editor source code, which has 320k LOC and more than 10Mb of source code in total. Whoa! Here are the linecounts per-source-file: http://pastebin.com/m77ed597 -- Ville M. Vainio http://tinyurl.com/vainio

Re: Leo, sphinx, rst3, and reStructuredText sentinels

2009-03-24 Thread Ville M. Vainio
? Here is an example of rst *document* that doesn't work: .. comment stuff .. comment The error is: p class=system-message-titleSystem Message: WARNING/2 (tt class=docutilsfail.txt/tt, line 2)/p Explicit markup ends without a blank line; unexpected unindent./div pstuff -- Ville M. Vainio http

Re: Leo 4.6 b1 coming very soon

2009-03-24 Thread Ville M. Vainio
On Tue, Mar 24, 2009 at 4:21 PM, Edward K. Ream edream...@gmail.com wrote: Ville, what do I need to do to prepare an ubuntu distro?  There is no Don't worry about it, should be a piece of cake. -- Ville M. Vainio http://tinyurl.com/vainio

Re: Error in a leo script

2009-03-24 Thread Ville M. Vainio
is reasonable, but didn't you say earlier that this kind of setting should be avoided? Setting, yes, API feature, no. It still makes sense to have that kind of flag in the API. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received

Qt optimizations pushed to trunk

2009-03-24 Thread Ville M. Vainio
I have now merged my qt optimization branch to trunk. Please try it asap, and report regressions. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group

Re: Qt optimizations pushed to trunk

2009-03-24 Thread Ville M. Vainio
On Tue, Mar 24, 2009 at 6:05 PM, Ville M. Vainio vivai...@gmail.com wrote: I have now merged my qt optimization branch to trunk. Please try it asap, and report regressions. BTW, there *was* one unit test failure but I think this is for functionality that is not there in the first place

Re: Leo, sphinx, rst3, and reStructuredText sentinels

2009-03-24 Thread Ville M. Vainio
On Tue, Mar 24, 2009 at 4:37 PM, Ville M. Vainio vivai...@gmail.com wrote: We haven't generated the sentinels before. I'm not using rst, I was just trying to create a working @thin rst node Some more thoughts: - The @thin file will need to contain the heading inside body. Can't get around

qt 4.4 for hardy

2009-03-24 Thread Ville M. Vainio
/ jaunty / lenny source repos Let me know if anyone has time to test it out -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group, send

Re: Leo, sphinx, rst3, and reStructuredText sentinels

2009-03-24 Thread Ville M. Vainio
one leading and one trailing whitespace. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: Leo, sphinx, rst3, and reStructuredText sentinels

2009-03-24 Thread Ville M. Vainio
@sentinelpadding 1 or the leo-fixup-rst-sentinels script. But using rst3 is not an option unless it supports @thin files. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor

Re: Leo, sphinx, rst3, and reStructuredText sentinels

2009-03-24 Thread Ville M. Vainio
On Tue, Mar 24, 2009 at 7:18 PM, Ville M. Vainio vivai...@gmail.com wrote: So basically, it's either @sentinelpadding 1 or the leo-fixup-rst-sentinels script. But using rst3 is not an option unless it supports @thin files. Clarification - unless it supports @thin files directly (the way

Re: Leo, sphinx, rst3, and reStructuredText sentinels

2009-03-24 Thread Ville M. Vainio
:-). -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: Leo, sphinx, rst3, and reStructuredText sentinels

2009-03-24 Thread Ville M. Vainio
http://pastebin.com/m70c2733a -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

readAtFile optimization idea

2009-03-24 Thread Ville M. Vainio
', 'python'] QQQ I realize that this one is a delicate piece of code, and should not be messed around with casually. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo

Re: Leo, sphinx, rst3, and reStructuredText sentinels

2009-03-24 Thread Ville M. Vainio
On Tue, Mar 24, 2009 at 9:02 PM, Ville M. Vainio vivai...@gmail.com wrote: a second, and it will come to us as a resounding aha. Right now, though, supporting @sentinelpadding would get rid of the simple technical dead end of it being impossible to generate syntactically valid rST from @thin

Re: Crash copying headline

2009-03-24 Thread Ville M. Vainio
On Tue, Mar 24, 2009 at 10:06 PM, Ville M. Vainio vivai...@gmail.com wrote:    doc = te.document() AttributeError: document Ville, could you fix this please?  Thanks. Done pushed. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You

Re: Leo 4.6 beta 1 released

2009-03-25 Thread Ville M. Vainio
to make a bigger splash about the qt ui. I'd imagine many who would have never thought of giving leo a go may be swayed by this aspect alone. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Leo, sphinx, rst3, and reStructuredText sentinels

2009-03-25 Thread Ville M. Vainio
minutes, while auto-import will take indefinite amount of time. Also, auto import logic has several open questions, while @sentinelpadding can be specified fully with few sentences. @sentinelpadding would allow in-place rst editing *now*. -- Ville M. Vainio http://tinyurl.com/vainio

Re: Leo, sphinx, rst3, and reStructuredText sentinels

2009-03-25 Thread Ville M. Vainio
, check if there is an empty line at the start and/or end of the (already read) body. If there is, remove it/them. If there isn't, don't. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Leo, sphinx, rst3, and reStructuredText sentinels

2009-03-25 Thread Ville M. Vainio
On Wed, Mar 25, 2009 at 5:17 PM, Edward K. Ream edream...@gmail.com wrote: much-more-difficult read logic unchanged.  In effect, all we need is a blank line at the end of every node in an rST file.  That ensures that .._ Both beginning and end. -- Ville M. Vainio http://tinyurl.com/vainio

Re: Leo 4.6 beta 1 released

2009-03-25 Thread Ville M. Vainio
to people these days, and will create the incentive to learn more in the first place. The big thing about windows XP was the new background image and colourful fisher price theme, not UAC or whatever else is there. -- Ville M. Vainio http://tinyurl.com/vainio

Re: making plugin commands, closure confusion

2009-03-25 Thread Ville M. Vainio
On Wed, Mar 25, 2009 at 7:04 PM, Terry Brown terry_n_br...@yahoo.com wrote:    def cmd(c, pri=n):        c.cleo.setPri(i) You have i here, you probably wanted pri. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message

Re: making plugin commands, closure confusion

2009-03-25 Thread Ville M. Vainio
On Wed, Mar 25, 2009 at 7:25 PM, Ville M. Vainio vivai...@gmail.com wrote: On Wed, Mar 25, 2009 at 7:04 PM, Terry Brown terry_n_br...@yahoo.com wrote:    def cmd(c, pri=n):        c.cleo.setPri(i) You have i here, you probably wanted pri. Also note that this is obsolete style (the default

Re: Clone and Tim Berners-Lee

2009-03-25 Thread Ville M. Vainio
. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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 email

Re: Will just one kind of @file node suffice?!

2009-03-25 Thread Ville M. Vainio
essential) sentinels to the background for almost all use cases.  In effect, we get all the advantages of @thin nodes in all use cases. Why not keep calling it @shadow, becase that's what it still remains? The difference is that shadow files are also public files now. -- Ville M. Vainio http

Re: Will just one kind of @file node suffice?!

2009-03-26 Thread Ville M. Vainio
files are published. There *are* a few holes in the scheme (garbage collection needs to be thought of, @shadow preserves structure on external file change etc.) . Just wanted to throw this out quickly. -- Ville M. Vainio http://tinyurl.com/vainio

Re: Search/replace (or more aptly: what am I missing?)

2009-03-26 Thread Ville M. Vainio
find tab. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: Search/replace (or more aptly: what am I missing?)

2009-03-26 Thread Ville M. Vainio
On Thu, Mar 26, 2009 at 4:58 PM, zpcspm zpc...@gmail.com wrote: What am I doing wrong? You are not using the quicksearch.py plugin ;-) -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: leo on portable python

2009-03-27 Thread Ville M. Vainio
this one ;-). -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: leo on portable python

2009-03-27 Thread Ville M. Vainio
in Leo (already filed): https://bugs.launchpad.net/leo-editor/+bug/346842 -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group, send

Re: ILeo issue, hang on tab completion

2009-03-30 Thread Ville M. Vainio
On Mon, Mar 30, 2009 at 4:42 PM, Kent Tenney kten...@gmail.com wrote: Current trunk, ipython, ipython-extensions tab completion hangs Leo and the ipython window alt-shift i import os os. tab hangs Was this with qt or tk? If qt, did you start leo with --ipython argument? -- Ville M

Re: ILeo issue, hang on tab completion

2009-03-30 Thread Ville M. Vainio
. It's relying on an unmerged change. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: ileo can hang leo if started after leo scripts are run

2009-03-31 Thread Ville M. Vainio
anytime. It's probably something very simple - please add more info (or perhaps a way I can reproduce). -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group

Re: Trunk is broken?

2009-03-31 Thread Ville M. Vainio
the tracebacks. It will give a good clue. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: Trunk is broken?

2009-03-31 Thread Ville M. Vainio
2959, in idleTimeHookHandler    g.doHook(idle,c=c)  File /home/jesse/Dropbox/leo-editor/leo/core/leoGlobals.py, line 3000, in doHook    if not g.app.config.use_plugins: KeyboardInterrupt Well, that makes sense. Leo is invoking the idle handler like crazy. -- Ville M. Vainio http

Re: More problems with Leo-4.6.b1

2009-04-02 Thread Ville M. Vainio
as well) for bdist_wininst. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: new leo docs as one big doc?

2009-04-03 Thread Ville M. Vainio
though. -- Ville M. Vainio http://tinyurl.com/vainiotest --~--~-~--~~~---~--~~ 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

Re: A rewrite of the qt key handling may be needed

2009-04-08 Thread Ville M. Vainio
layout. I'll sleep on this... Edward -- Sent from Gmail for mobile | mobile.google.com Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To post

Re: The present plan for Leo

2009-04-15 Thread Ville M. Vainio
themselves, but the leoDB module is likely to be the biggest I don't think this needs a separate module. Just change the file name used on place of PickleShare isntantiation to ~/.leo/db/flattened abs path name. By flattening I mean something like s.replace(/,_).replace(:,_). -- Ville M. Vainio

Re: Understanding @leo.directive

2009-04-16 Thread Ville M. Vainio
degree of core support. I urge you to do a quick leafing through the ILeo docs ( http://webpages.charter.net/edreamleo/IPythonBridge.html ). My approach to the problem was using IPython instead of Leo to drive the data (by pressing alt+I around). -- Ville M. Vainio http://tinyurl.com/vainio

Re: Understanding @leo.directive

2009-04-16 Thread Ville M. Vainio
in Leo -- nodes, clones, -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: Understanding @leo.directive

2009-04-17 Thread Ville M. Vainio
of the line (so basically it could be arbitrary python code that evaluates to a callable). Your code creates the callable explicitly, while @cl rfile uses the fact that 'rfile' evaluates to callable directly (obviously, since it's a name of a function). -- Ville M. Vainio http://tinyurl.com/vainio

Re: Understanding @leo.directive

2009-04-17 Thread Ville M. Vainio
is: @cl is short for 'class', but it does not mean 'class-the-python-keyword', but a general 'classification'. That line needs to be rewritten or removed completely, because it obfuscates a simple concept. -- Ville M. Vainio http://tinyurl.com/vainio

Re: Replace this group with a collaborative leo doc

2009-04-17 Thread Ville M. Vainio
be crazy enough to work. It also has some security implications ;-). -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group, send email to leo

Re: leo and pyjamas (e.g. http://leo.zwiki.org/LeoInAjax)

2009-04-19 Thread Ville M. Vainio
be the possibility of doing pyjamas development _in_ a web browser, because leo was ported _to_ the web browser. On a non-leo-related note, have you tried bespin to see if it fits the ticket? -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received

Re: Getting unstuck with qt designer

2009-04-23 Thread Ville M. Vainio
On Wed, Apr 22, 2009 at 7:09 PM, Edward K. Ream edream...@gmail.com wrote: So it appears that the script @auto ../test/qtui_generate.py never needs to be run (except for the quicksearch?) Ville, can you (or anyone else) confirm that this is so? Yes, this is true. -- Ville M. Vainio http

Re: Getting unstuck with qt designer

2009-04-23 Thread Ville M. Vainio
be worth it. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: Getting unstuck with qt designer

2009-04-23 Thread Ville M. Vainio
On Thu, Apr 23, 2009 at 4:52 PM, Ville M. Vainio vivai...@gmail.com wrote: If you go about this, I suggest you really retain the .ui file and use uic to create the hard python code. If you don't, we lose the ability to use UI designer forever. One approach might be to use ui designer

Re: Getting unstuck with qt designer

2009-04-23 Thread Ville M. Vainio
to a custom one. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: Getting unstuck with qt designer

2009-04-23 Thread Ville M. Vainio
parsing the .ui file. You can see what exactly is happening (object names etc.) by running pyuic4 on the ui file and looking at the resulting .py file. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you

Re: Canvas in Qt GUI?

2009-04-28 Thread Ville M. Vainio
personal project. Yes, canvas concept does not exist for qt. We use graphics view in Qt4. Read this: http://doc.trolltech.com/qq/qq19-graphicsview.html -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you

Re: leo stops responding after printing 200 lines

2009-04-29 Thread Ville M. Vainio
of patch.  I'll try some more later... You should never paste patches... just attach them as-is. However, it's a known fact that windows sucks for patch files. Pushing bzr branches is way better. -- Ville M. Vainio http://tinyurl.com/vainio

Re: A start on rst round-tripping

2009-05-01 Thread Ville M. Vainio
list items), and local nested content: http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#indentation -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo

Re: A start on rst round-tripping

2009-05-01 Thread Ville M. Vainio
to the document, but not so much as to make investigating the version history messy. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To post

Re: A start on rst round-tripping

2009-05-01 Thread Ville M. Vainio
have that @auto node, but did you forget to add it to bzr? Or am I messing something up? I just pressed rst3 button on Users Guide node in LeoDocs.leo. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you

Re: A start on rst round-tripping

2009-05-01 Thread Ville M. Vainio
in the whole document. All indentation that matters will be fully contained in a whole node, apart from, say, code snippets that could be put in a separate node. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you

Re: 4.6b with qtGui doesn't start on Ubuntu Linux (Jaunty)

2009-05-02 Thread Ville M. Vainio
-compiled old Qt on your disk. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: Unexpected leo window resize after maximizing it

2009-05-02 Thread Ville M. Vainio
window resizing code in the qt gui at all, and no gui code gets executed on window activate events, so I suspect this is a qt issue, not a Leo issue. I see many setGeometry calls in the qt code. -- Ville M. Vainio http://tinyurl.com/vainio

tomboy_import plugin + note taking idea

2009-05-03 Thread Ville M. Vainio
blah. - When you press Insert and some text is selected, that portion on text is turned to link. Pressing insert while cursor is within a link, leo creates a new node under node named *scratch* (somewhere in the tree) and selects that node for editing. The headline is the link text. -- Ville M

Re: A start on rst round-tripping

2009-05-03 Thread Ville M. Vainio
forcing file type in headline? @auto foo.txt [lang=rst] -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

DVCS wars again (Re: 4.6b with qtGui doesn't start on Ubuntu Linux (Jaunty))

2009-05-04 Thread Ville M. Vainio
, but there is certainly no need to rush into that. Google Code is probably better hosting service than bitbucket, since BitBucket (lixe github) only offers limited free plans. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message

Re: tomboy_import plugin + note taking idea

2009-05-05 Thread Ville M. Vainio
). Perhaps something like @note many lines of stuff @ would be handy, the contents of @note block being completely free-form (@rst-underlines, freeform comments, ...) -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because

Re: @rst plugin changes

2009-05-05 Thread Ville M. Vainio
to date. I have experimented with @shadow, @root, @file, @thin, @asis, and @auto, to name a few.  I may be missing something very obvious, but I Did you try @nosent? -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because

Re: @rst plugin changes

2009-05-06 Thread Ville M. Vainio
out all the @nosent nodes? That would seem like the path of least resistance... -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group

Re: @rst plugin changes

2009-05-06 Thread Ville M. Vainio
when utilizing the menu command File-Read/Write...- Write File From Node.) It appears you were doing it wrong: - Ensure you have @others in the root @nosent node body - The command is File-Read/Write -write @file nodes Does this help? -- Ville M. Vainio http://tinyurl.com/vainio

Re: @rst plugin changes

2009-05-06 Thread Ville M. Vainio
have is a hammer ;-) -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: Making branches faster

2009-05-07 Thread Ville M. Vainio
, launchpad can be slow sometimes, and leo codebase is big. Handy solution is to do something else keep waiting when you push / pull ;-). bzr has stacked branches feature that solves this, but I don't know when launchpad is going to add support for this. -- Ville M. Vainio http://tinyurl.com

<    1   2   3   4   5   6   7   8   9   10   >