Re: newbie questions

2008-11-10 Thread Ville M. Vainio
, and the juice can be kept in separate nodes where it is clearly visible easy to find). -- 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: Completing the qt plugin: day 4

2008-11-11 Thread Ville M. Vainio
onBodyChanged when the 'textChanged' signal is emitted? -- 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: Completing the qt plugin: day 4

2008-11-11 Thread Ville M. Vainio
yet, of course). You might want to run the unit tests in the profiler and compare tk and qt results. Creation of all 6000 nodes of leopyref took 0.5 seconds - I don't think Tk will fare much faster. -- Ville M. Vainio http://tinyurl.com/vainio

Re: qt plugin - problem with non ascii characters

2008-11-12 Thread Ville M. Vainio
is pressed. It slows down the text editing, potentially quite a bit. -- 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

Re: qt plugin - problem with non ascii characters

2008-11-12 Thread Ville M. Vainio
and there. Hopefully this is the case :-). BTW, ctrl+I, crtr+r and friends still don't work when the focus is not in the body pane (this is with QTextEdit). -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you

Re: Completing the qt plugin: day 4

2008-11-12 Thread Ville M. Vainio
On Wed, Nov 12, 2008 at 6:52 PM, Ed Blake [EMAIL PROTECTED] wrote: About qscintilla, are you guys planning on including a binary with the window's installer? qscintilla isn't provided in binary format, and IMO It comes with the normal pyqt installer. -- Ville M. Vainio http://tinyurl.com

Re: Completing the qt plugin: day 4

2008-11-12 Thread Ville M. Vainio
On Wed, Nov 12, 2008 at 6:57 PM, Ville M. Vainio [EMAIL PROTECTED] wrote: On Wed, Nov 12, 2008 at 6:52 PM, Ed Blake [EMAIL PROTECTED] wrote: About qscintilla, are you guys planning on including a binary with the window's installer? qscintilla isn't provided in binary format, and IMO

Re: Completing the qt plugin: day 4

2008-11-12 Thread Ville M. Vainio
On Wed, Nov 12, 2008 at 1:39 PM, Kent Tenney [EMAIL PROTECTED] wrote: on Ubuntu 8.10, testing import code from qtGui.py after $ sudo apt-get install python-qt4 You need to install qscintilla as well. -- Ville M. Vainio http://tinyurl.com/vainio

qt: Profiling results

2008-11-12 Thread Ville M. Vainio
of stuff. It actually got slow enough that leo hanged and I had to kill it. If you are using ipython, you can test this by: %run -p launchLeo.py --gui=qt Type lots of text in body, and kill leo. -- Ville M. Vainio http://tinyurl.com/vainio

Re: Completing the qt plugin: day 4

2008-11-12 Thread Ville M. Vainio
is in the current implementation, and the amount of full redraws. Profiler will tell for sure. -- 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: qt GUI bug: lost change when saving an outline

2008-11-14 Thread Ville M. Vainio
On Fri, Nov 14, 2008 at 11:13 AM, zpcspm [EMAIL PROTECTED] wrote: I've just spotted one more situation when data loss is happening. Leo should really be listening to tree select signals - it would make all occasions like this impossible (as opposed to trusting the core). -- Ville M. Vainio

Re: qt GUI: random resize of main frame

2008-11-14 Thread Ville M. Vainio
. I have very hard time believing it's a Qt problem (it would have been caught by now, with all the kde4 programs using it). This may be debuggable by trying to catch a signal that occurs on window position change. -- Ville M. Vainio http://tinyurl.com/vainio

Re: Status report

2008-11-14 Thread Ville M. Vainio
editor. Imagine the possibilities of being able to highlight parts of the text with underline bold, and removing such annotations on tangle. That's something other editors can't do... -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received

Re: Winxp Install

2008-11-24 Thread Ville M. Vainio
On Mon, Nov 24, 2008 at 3:41 PM, Edward K. Ream [EMAIL PROTECTED] wrote: Or better yet, install bzr and get up-to-the-minute updates effortlessly. I also find bzr branch lp:leo-editor *much* easier to do/remember than any kind of download hassle. -- Ville M. Vainio http://tinyurl.com/vainio

Re: demo of alternative tree widget for qt

2008-11-25 Thread Ville M. Vainio
On Tue, Nov 25, 2008 at 1:46 PM, leo_hag [EMAIL PROTECTED] wrote: I would also like to suggest that qt leo moves to using dockable widgets for the layout instead of splitters. In addition, I would like That can already be done - leo loads the .ui file dynamically. -- Ville M. Vainio http

Re: Demo qt gui using docking widgets instead of splitters

2008-11-25 Thread Ville M. Vainio
will receive (as implemented by the qt developers) in the future, and it will most likely be slower as well. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group

Re: Getting stdout out of IPython console

2008-11-25 Thread Ville M. Vainio
installation). - Paste the block that doesn't work. -- 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: Demo qt gui using docking widgets instead of splitters

2008-11-25 Thread Ville M. Vainio
louder than words, and you seem to be doing great, but just out of curiosity - what does your tree widget do that QTreeWidget doesn't? Also, attach screeshots for those who can't test it right now ;-) -- Ville M. Vainio http://tinyurl.com/vainio

Re: Demo qt gui using docking widgets instead of splitters

2008-11-26 Thread Ville M. Vainio
shortcoming I see QTreeWidget having, api-wise, is the lack of direct support for multiple icons... -- 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: simple script to demo minibuffer in a toolbar

2008-11-29 Thread Ville M. Vainio
, require no coding or changes to the gui plugin itself (apart from eventually providing a stand-alone versions of ui files that have proven effective). -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you

Re: simple script to demo leo with docking widgets

2008-11-29 Thread Ville M. Vainio
to different places in the ui). You don't seem to use them in this script anyway, just wanted to point this out ;-). -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo

Re: qt dynamic ui loading and findFormDemo

2008-12-01 Thread Ville M. Vainio
. reimplement something from the scratch). Something along the lines of my early QuickSearch experiment, try it by executing this script in a node: g.insqs(c) Then look for QuickSearch tab. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You

Re: launchpad Ipython install

2008-12-01 Thread Ville M. Vainio
it with easy_install, or from bzr branch lp:~ipython-dev/ipython/ipython-extensions -- 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

Re: launchpad Ipython install

2008-12-03 Thread Ville M. Vainio
version. -- 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

QSyntaxHighlighter

2008-12-03 Thread Ville M. Vainio
code to a large extent. It would make the highlighting faster smarter, and would eliminate the need for threads. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo

Re: QSyntaxHighlighter

2008-12-06 Thread Ville M. Vainio
schemes. Note that Getting changes done to Qt will probably not a easy as for QScintilla, since it has to go through the whatever processes Nokia has in place for doing the chances. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received

Re: ILeo @cl nodes: a great idea

2008-12-06 Thread Ville M. Vainio
already). Perhaps Leo will soon be ready for the concept of WorkBook in the core? ;-) -- 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: QSyntaxHighlighter

2008-12-06 Thread Ville M. Vainio
the whole file, as opposed to just a block of text? Can they be fooled by saying that the block is the whole file? -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo

Re: rst3 runtime errors - Capture?

2008-12-06 Thread Ville M. Vainio
On Fri, Dec 5, 2008 at 11:21 PM, Edward K. Ream [EMAIL PROTECTED] wrote: You might try submitting a bug report to the docutils folk. My impression is that they are friendly and responsive. Since docutils is pure python, I'd expect this hard crash to be somewhere else (tk?), -- Ville M

Re: ILeo @cl nodes: a great idea

2008-12-07 Thread Ville M. Vainio
in the headline without attaching an anchor node (@a) -- 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: Thoughts on qt tree widget

2008-12-07 Thread Ville M. Vainio
meaningful comment at the moment, but I'm a quick learner ;o If you feel like playing with it a little bit, take a look at the abandoned branch where I was experimenting with the tree view: https://code.launchpad.net/~villemvainio/leo-editor/qtreeview-failed1 -- Ville M. Vainio http://tinyurl.com

Re: Smart QTreeWidget update: status

2008-12-08 Thread Ville M. Vainio
anything does not make sense. It's the tree widget that requests data from the model (i.e. you implement an abstratitemmodel), and you signal the widget whenever something changes. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received

Re: Smart QTreeWidget update: status

2008-12-08 Thread Ville M. Vainio
On Mon, Dec 8, 2008 at 7:38 PM, Edward K. Ream [EMAIL PROTECTED] wrote: Do you mean QTreeView instead of QTreeWidget? No, I mean QTreeWidget. Ok, just made sure (since you were talking about low level). -- Ville M. Vainio http://tinyurl.com/vainio

Re: Smart QTreeWidget update: status

2008-12-08 Thread Ville M. Vainio
a persistent identity? Persistent through process lifetime, that is... something like an index number would be a good start. If nothing else, it would make the vnode easier to measure about, store in a dict etc. -- Ville M. Vainio http://tinyurl.com/vainio

Re: Smart QTreeWidget update: status

2008-12-08 Thread Ville M. Vainio
On Mon, Dec 8, 2008 at 9:07 PM, Ville M. Vainio [EMAIL PROTECTED] wrote: If nothing else, it would make the vnode easier to measure about, store in a dict etc. Also, they allow direct mapping between internal node structure and actual gui tree, so if you can keep up this structure in shape

Mindmap-like presentation

2008-12-08 Thread Ville M. Vainio
tabular presentation would be enough. - Only a little info would be shown per node (something like 2 lines, with full body shown by floating the mouse over node), so it remains tight. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received

Re: The next 20 years? Programs making programs

2008-12-08 Thread Ville M. Vainio
hard, so I don't suppose it will be hard in qt either. It shouldn't be too hard. It can be done with QGraphicsView, and even the basic QGraphicsView example in the Qt book shows how to implement a graph editor. -- Ville M. Vainio http://tinyurl.com/vainio

Re: qt user-icon drawing (porting cleo)

2008-12-12 Thread Ville M. Vainio
this seem viable? Yes, perfectly. It will also be quite fast. Is it safe to work on this area now, or should I wait until other tree development has settled down? It should be safe, since your only interface to the tree activity will be QTreeWidgetItem.setIcon. -- Ville M. Vainio http

Plugins not enabled in qt ui?

2008-12-13 Thread Ville M. Vainio
enabled plugin: image can not load enabled plugin: ipython Can not load c:\aspell\bin\aspell-15.dll oops: *** itemCount: 0, n: 0, afterSelectHint,setCurrentItem,position2item,nthChildItem How can I make it load ipython.py, at least? -- Ville M. Vainio http://tinyurl.com/vainio

Re: Right click on tree in Qt mode?

2008-12-14 Thread Ville M. Vainio
to do it: - You can catch mouse clicks in the event filter. - You need to contruct the QMenu object (like the normal menus), and brint it up with QMenu::popup(): http://doc.trolltech.com/4.4/qmenu.html#popup -- Ville M. Vainio http://tinyurl.com/vainio

Re: Mindmap-like presentation

2008-12-14 Thread Ville M. Vainio
and calls to tree manipulation / traversal routines in controller. -- 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

Re: Mindmap-like presentation

2008-12-14 Thread Ville M. Vainio
On Sun, Dec 14, 2008 at 11:05 PM, Ville M. Vainio vivai...@gmail.com wrote: Luckily, mind maps don't require anything more general than what we have already. The mindmap drawing code is just that, pure drawing stuff (and directed graph model we have currently is perfectly sufficient

Re: Qt tree behavior

2008-12-15 Thread Ville M. Vainio
it redraw when just moving around? -- 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: Haha: Terry is right: the graph world is easy!

2008-12-17 Thread Ville M. Vainio
be too hard. I hope you won't abandon the idea of drawing the whole tree initially. Having the full QTreeWidget created at all times is the holy grail of simplicity high performance in the tree widget... -- Ville M. Vainio http://tinyurl.com/vainio

Re: Question about cross-file awareness

2008-12-17 Thread Ville M. Vainio
rambling made at least some sense. -- 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: Graphs - Overview

2008-12-18 Thread Ville M. Vainio
information in uA's for the graph drawing plugin to work with. It's not visible in the tree, but neither is the rest of the spatial info. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Graphs - Overview

2008-12-18 Thread Ville M. Vainio
problem. Supposedly, someone could look at the algorithm code from freemind / other mindmappers ;-). -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group

Re: Graphs - Overview

2008-12-19 Thread Ville M. Vainio
provide an arbitrary 2D layout, which would be the job of the plugin. I.e. that it would be useful to What features of leo would follow the links? Perhaps adding a support for them in iterators would be enough, so they would be like clones without a tree widget representation? -- Ville M. Vainio

Graphwiz

2008-12-19 Thread Ville M. Vainio
seem rather droolworthy: http://www.graphviz.org/Gallery.php -- 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: Plugins not enabled in qt ui?

2008-12-19 Thread Ville M. Vainio
On Sat, Dec 13, 2008 at 10:03 PM, Ville M. Vainio vivai...@gmail.com wrote: I was trying to enable my new qt ipython interface with leo (ILeo Done. I took the liberty to push this to trunk, since this only affects ipython.py. Alt+I now launches the qt ui for ipython when leo's qt ui

Re: Graphwiz

2008-12-19 Thread Ville M. Vainio
'exceptions.KeyError': graphed.gNode object at 0x0252E230 -- 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: Graphwiz

2008-12-19 Thread Ville M. Vainio
feed it an algorithm that tells it to present the Leo outline in a radial form? If you had that and the manipulation is already there, then that's pretty much the whole story -- right? Right :-) GraphEd also has some algorithms to rearrange the nodes automatically. -- Ville M. Vainio http

Re: Graphwiz

2008-12-19 Thread Ville M. Vainio
somewhere. The same graph can be saved when you connect that one node. -- 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: Plugins not enabled in qt ui?

2008-12-20 Thread Ville M. Vainio
-extensions installed? https://code.launchpad.net/~ipython-dev/ipython/ipython-extensions - Do you have the latest ipython installed? -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Graphwiz

2008-12-20 Thread Ville M. Vainio
has uml diagram support using QGraphicsView). The stuff is located in E4Graphics and Graphics directories of eric4 source distribution. - it doesn't display body text This is why I thought an existing uml editor would be handier than just moving ellipses around. -- Ville M. Vainio http

Re: Qt gui

2008-12-20 Thread Ville M. Vainio
-editor python launchLeo.py --gui=qt -- 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: backlink.py (un)directed arbitrary link plugin

2008-12-23 Thread Ville M. Vainio
, is-manager... you get the idea) This would provide a new semantic level beyond what clones already provide, with relatively little extra implementation work. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you

Re: NEW: backlink.py (un)directed arbitrary link plugin

2008-12-24 Thread Ville M. Vainio
a callable as the slot. Your example would be: self.connect(self.markSourceButton, QtCore.SIGNAL(clicked()), self.markSource). (assuming markSourceButton is the button you click, and self.markSource is the callback method). (insert obligatory seasons greetings here) -- Ville M. Vainio http

Re: NEW: backlink.py (un)directed arbitrary link plugin

2008-12-25 Thread Ville M. Vainio
can't see anyway). - The feature is not really needed. It's easy enough to write the connect statements in code. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor

Re: adding qt designer content to a leo-qt tab - how?

2008-12-25 Thread Ville M. Vainio
know what you have done and how to use the new code. Pushed to trunk. The implementation should be obvious, the checkin includes example use case with QuickSearch demo widget: http://bazaar.launchpad.net/~leo-editor-team/leo-editor/trunk/revision/1378 -- Ville M. Vainio http://tinyurl.com/vainio

Re: adding qt designer content to a leo-qt tab - how?

2008-12-25 Thread Ville M. Vainio
is the way qt api does it's, it's probably the safest easiest approach for us to take as well. The logDict can still be useful to find the concrete widgets from outside while using only c.frame.log...Though it could use a better name (wdgDict?) -- Ville M. Vainio http://tinyurl.com/vainio

Re: NEW: backlink.py (un)directed arbitrary link plugin

2008-12-27 Thread Ville M. Vainio
limit to how fast / stable it can be). I think various simplifications could be made to clean up many of the wrinkles, one of the most critical being creating the whole tree once and doing all the manipulations on that. -- Ville M. Vainio http://tinyurl.com/vainio

Re: NEW: backlink.py (un)directed arbitrary link plugin

2008-12-28 Thread Ville M. Vainio
the ui, for one - it's just normal import. The .py files are also easier to think about than the .xml ui files. Direct .ui files should be used when dynamism is needed, but when it's not, it's better to use pyuic. -- Ville M. Vainio http://tinyurl.com/vainio

Emacs emulation, transient buffers [Re: Beach walk ahas]

2008-12-28 Thread Ville M. Vainio
. When you press ctrl+s outside the transient tree, the .leo outside is saved, with the *transient* tree stripped away. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo

Re: Emacs emulation, transient buffers [Re: Beach walk ahas]

2008-12-28 Thread Ville M. Vainio
an interesting angle on emacs (for those that may not have seen it): http://pinard.progiciels-bpi.ca/opinions/editors.html -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Emacs emulation, transient buffers [Re: Beach walk ahas]

2008-12-28 Thread Ville M. Vainio
On Mon, Dec 29, 2008 at 5:02 AM, Terry Brown terry_n_br...@yahoo.com wrote: and a useful response when you type 'leo smallfile.dat', i.e. open it for editing, in a new window of a running leo, if there is one. ... enter my transient buffers suggestion (up in this thread). -- Ville M. Vainio

Re: Emacs emulation, transient buffers [Re: Beach walk ahas]

2008-12-29 Thread Ville M. Vainio
, Grok, Leo, IPython ... Since zodb has dict-like semantics, you could do this by providig an UserDict adapter for leoBridge. This is a bit like what I did with LeoWorkbook in ILeo. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received

Re: Emacs emulation, transient buffers [Re: Beach walk ahas]

2008-12-29 Thread Ville M. Vainio
about minimizing the amount of core wiring for this very reason - looser coupling means easier growth for free. A leo gui plugin can really know really nothing about leo, it can be developed as a general widget that can be slapped on the leo gui, and only use leo as data source. -- Ville M. Vainio

Re: an engineering calculation framework using Leo

2008-12-30 Thread Ville M. Vainio
you to enter less python code to do your stuff. - leo 4.5.1 final, build 1.244 - python 2.5.2 - unum 4.0 ... Seems like Graphwiz would be a natural fit to this stack as well. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received

Re: Stories, stories, stories

2009-01-01 Thread Ville M. Vainio
cabinet for quick notes and a way to organize my thoughts and notes in the way I could find them later on. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group

Re: Thoughts about navigating the leo outline programmatically

2009-01-01 Thread Ville M. Vainio
command output). -- 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: Thoughts about navigating the leo outline programmatically

2009-01-01 Thread Ville M. Vainio
and bodyString(). Those properties should be in leo's position code in the first place, to make scripts shorter and easier to read/write. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Thoughts about navigating the leo outline programmatically

2009-01-02 Thread Ville M. Vainio
that doesn't *look* like a DOM, but in fact it is. Furthermore, Leo's DOM is much easier to use that the xml DOM, and is much richer that the trivial DOM's provided by Emacs and Vim. This is a story that absolutely must be told in Leo's introduction. Edward -- Ville M. Vainio http

Re: Thoughts about navigating the leo outline programmatically

2009-01-02 Thread Ville M. Vainio
can provide a demo implementation if my previous explanation was not clear enough. -- 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: Stories, stories, stories

2009-01-02 Thread Ville M. Vainio
complicating the usage. -- 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: Thoughts about navigating the leo outline programmatically

2009-01-02 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

Re: Thoughts about navigating the leo outline programmatically

2009-01-02 Thread Ville M. Vainio
. This is unrelated to chief raison d'etre of WorkBook, that of providing easy access to leo positions through getattr magic. As it stands, we can leave WorkBook as ILeo feature. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message

Re: Thoughts about navigating the leo outline programmatically

2009-01-02 Thread Ville M. Vainio
in ILeo (@ipy-root node), but it didn't turn out to be that handy. Typically, you want the special nodes just next to the scripts you are working with, for easy access. Having to clone is a drag then. -- Ville M. Vainio http://tinyurl.com/vainio

Re: Move ipy_leo.py into Leo's core?

2009-01-02 Thread Ville M. Vainio
to install IPython (and enable ipython.py plugin) to access this functionality. -- 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: Vim Emulation - Restored in Trunk

2009-01-02 Thread Ville M. Vainio
before writing out a file. Another layer of security is studying bzr diff well after merge. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To post

qt: leo redraws too much

2009-01-02 Thread Ville M. Vainio
actually surprising that leo still remains pseudo-useful in that case, and scrolling is the more annoying thing ;-). You can see when it's happening by putting traceback.print_stack() to the full_redraw function. -- Ville M. Vainio http://tinyurl.com/vainio

Re: qt: leo redraws too much

2009-01-02 Thread Ville M. Vainio
On Fri, Jan 2, 2009 at 10:26 PM, Ville M. Vainio vivai...@gmail.com wrote: The annoying scrollbar problem (tree focus stays at last item when you are moving up) happens because Leo is indeed redrawing all the time when you move around. This happens because leo calls endEditLabel all the time

Re: qt: leo redraws too much

2009-01-03 Thread Ville M. Vainio
:36 + @@ -5158,7 +5158,7 @@ # This is a crucial shortcut. if g.unitTesting: return -c.redraw(scroll=False) +#c.redraw(scroll=False) if self.stayInTree: c.treeWantsFocus() else: -- Ville M. Vainio http://tinyurl.com/vainio

Re: qt: leo redraws too much

2009-01-03 Thread Ville M. Vainio
in the ballpark of speed difference between redrawing the outline every time you move, and not redrawing it. Avoiding the annoyance of scrollbar twitch is worth even more... -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message

Re: qt: leo redraws too much

2009-01-03 Thread Ville M. Vainio
On Sat, Jan 3, 2009 at 3:53 PM, Ville M. Vainio vivai...@gmail.com wrote: Actually, this is not ha-ha stuff - 700 is really in the ballpark of speed difference between redrawing the outline every time you move, and not redrawing it. Avoiding the annoyance of scrollbar twitch is worth even

Re: qt: leo redraws too much

2009-01-03 Thread Ville M. Vainio
records use for describing themselves. Luckily, if we have vnode = ui item mapping, we can do that in one fell swoop :-) -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: ILeo, demo, and XP

2009-01-06 Thread Ville M. Vainio
is invisible. I figure allnodes_iter will not go to other chapters then? -- 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

Re: Leo and Google App Engine

2009-01-07 Thread Ville M. Vainio
format. -- 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 and Google App Engine

2009-01-07 Thread Ville M. Vainio
request, and there is really no time for that (due to 1 sec max request duration before app engine discards the request). You'd really have to upload the gnx's to the DataStore, and outline as well. That is, you'd really have to save the data in pieces. -- Ville M. Vainio http://tinyurl.com/vainio

Re: cruft?

2009-01-07 Thread Ville M. Vainio
about e.g. plugins that are broken. It's a documentation issue, not a version control issue. -- 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: possible pyqt python shell widget for leo...

2009-01-08 Thread Ville M. Vainio
be something I can use / derive from. -- 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: Clever redraw code: day 2. A good failure

2009-01-08 Thread Ville M. Vainio
into itemExpanded signal? http://doc.trolltech.com/4.0/qtreewidget.html#itemExpanded -- 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: Question about cross-file awareness

2009-01-09 Thread Ville M. Vainio
in user-accessible way, without the user having to write custom script code. -- 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, demo, and XP

2009-01-09 Thread Ville M. Vainio
don't make sense as extensions. 3. Can I/should I put this in with Ville's IPython extension? If you can, yes. However, I'm not sure what kind of extension this would be, exactly. Do you have some kind of monkeypatching in mind? -- Ville M. Vainio http://tinyurl.com/vainio

Re: Clever redraw code: day 4

2009-01-10 Thread Ville M. Vainio
minimization of the change accomplishes almost nothing. Could you elaborate on this? To me, it would seem quite a bit faster to only add a few nodes rather than do a full redraw on expand. Also, it would avoid the scrollbar move glitch. -- Ville M. Vainio http://tinyurl.com/vainio

Qt goes LGPL

2009-01-14 Thread Ville M. Vainio
the time ;-) -- 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: ipython.py problem

2009-01-16 Thread Ville M. Vainio
alt-x print-plugins-info says ipython myLeoSettings.leo However, alt-shift i is not available to start ipython shell Do you see this in log pane: ipython plugin... @command: start-ipython = Alt+Shift+I @command: push-to-ipython = Alt+I -- Ville M. Vainio http://tinyurl.com/vainio

Re: ipython.py problem

2009-01-17 Thread Ville M. Vainio
messed with @enabled-plugins. Any idea why this is happening? IPython shouldn't require anything too spectacular from the leo environment... Perhaps dtest messes with sys.path somehow? -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received

Re: ILeo, demo, and XP

2009-01-19 Thread Ville M. Vainio
. IPython just uses print or print Term.cout to display stuff. Possibly, the demo uses a separate stdout handle or something. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: cleo port to qt

2009-01-19 Thread Ville M. Vainio
) self.redrawLevels -= 1 if self.redrawLevels == 0: self.redraw() return ans return new useful. Maybe, haven't included that code yet. You'll want to have try: finally: around the fn(...) -- Ville M. Vainio http://tinyurl.com/vainio

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