* the heavy lifting. Just throw
together an HTML string, wrap it in a QTextDocument, and call print_,
and Bob's your uncle. I can see why Leo uses PyQt now... it's awesome.
--Jake
On Wed, May 15, 2013 at 7:41 AM, Jacob Peck gatesph...@gmail.com wrote:
Hello all,
I've added a new plugin to Leo
Thank you for this plugin, very useful!
On Wednesday, May 15, 2013 2:41:19 PM UTC+2, Jacob Peck wrote:
Hello all,
I've added a new plugin to Leo, that adds printing support when using
the Qt GUI. Available from rev 5779.
Here's the docscring:
'''Supports printing from the Qt GUI
On 5/15/2013 9:12 AM, Fidel Pérez wrote:
Thank you for this plugin, very useful!
Thanks, Fidel. Glad you like it :)
--Jake
On Wednesday, May 15, 2013 2:41:19 PM UTC+2, Jacob Peck wrote:
Hello all,
I've added a new plugin to Leo, that adds printing support when using
the Qt GUI
On Wed, May 15, 2013 at 7:41 AM, Jacob Peck gatesph...@gmail.com wrote:
I've added a new plugin to Leo, that adds printing support when using the
Qt GUI. Available from rev 5779.
Excellent work. Many thanks for this contribution.
Edward
--
You received this message because you
wrote:
I've added a new plugin to Leo, that adds printing support when using the
Qt GUI. Available from rev 5779.
Excellent work. Many thanks for this contribution.
Edward
--
You received this message because you are subscribed to the Google Groups
leo-editor group.
To unsubscribe from
Hi Kent,
I agree with the principle, that command completion is aided by good
quality names, but I don't understand why you think print-xxx as a
command to send something to a printer is not standard. Can you elaborate?
-matt
On Wed, May 15, 2013 at 10:07 AM, Kent Tenney kten...@gmail.com
?
I think Kent meant the older commands
print-all-uas
print-bindings
print-buttons
print-commands
print-focus
print-node-uas
print-plugin-handlers
print-plugins-info
print-settings
would be better named list- or show-, so as no to intermingle with the
new print-(to the printer
to a printer is not standard. Can you elaborate?
I think Kent meant the older commands
print-all-uas
print-bindings
print-buttons
print-commands
print-focus
print-node-uas
print-plugin-handlers
print-plugins-info
print-settings
would be better named list- or show-, so
On 5/15/2013 12:14 PM, Edward K. Ream wrote:
On Wed, May 15, 2013 at 7:41 AM, Jacob Peck gatesph...@gmail.com
mailto:gatesph...@gmail.com wrote:
I've added a new plugin to Leo, that adds printing support when
using the Qt GUI. Available from rev 5779.
Excellent work. Many thanks
On 5/14/2013 9:38 AM, Edward K. Ream wrote:
On Mon, May 13, 2013 at 3:23 PM, Jacob Peck gatesph...@gmail.com
mailto:gatesph...@gmail.com wrote:
Hello all,
How do I add menu items to the File menu from a plugin?
Fidel's response will add items to the menus for already existing
one? I could manipulate c.frame.top.menuBar directly, I
suppose, but that's not what I want to do - it goes against the API
you just showed me.
Excellent question. You understand the issues completely.
It's ok with me if you do just use c.frame.top.menuBar directly. It
would make your plugin
Hello all,
How do I add menu items to the File menu from a plugin? I ask because
I'm working on a printing plugin. It works so far, but I'd like some
deeper level of integration. The commands are currently only accessible
via alt-x, and most people are used to using menus when printing
Search for @menus within the settings file.
You will find that withn the 4rth/5th result.
On Monday, May 13, 2013 10:23:47 PM UTC+2, Jacob Peck wrote:
Hello all,
How do I add menu items to the File menu from a plugin? I ask because
I'm working on a printing plugin. It works so far
That's how I run Leo, (console is great for windows). Unless you
specifically call pythonw.exe it should use python.exe located through your
Path system enbironment variable. Here is what I use in the shell
setting for a console leo tab:
cmd.exe /k C:\entPY27\python.exe
if you start Leo (or any .py file) by double-clicking on it it's likely
`pythonw.exe` is being used. You can find out for sure with `assoc` and
`ftype` from a command shell:
{{{
C:\assoc .py
.py=Python.File
C:\ftype Python.File
Python.File=E:\Python27\ArcGIS10.1\pythonw.exe %1 %*
C:\assoc .leo
Terry,
Thanks it's working nicely :)
I use console (sourceforge.net/projects/console ) to open leo. I run
launchleo.py from the leo directory so I'm not sure if \python.exe or
\pythonw.exe are used.
Regards
Lewis
On Tuesday, April 23, 2013 11:24:00 PM UTC+10, Terry wrote:
As for the
Hi Terry,
I just enabled the plugin and tried 'screen-capture-now'.
It creates the folder C:\Users\lewis\.leo\screen_captures but there is no
png file written in the folder.
I may have missed something? :)
Here is the log:
Leo Log Window
Leo 4.11 devel, build 5737, 2013-04-23 21:51:45
Python
On Tue, 23 Apr 2013 05:08:47 -0700 (PDT)
lewis lewisn...@operamail.com wrote:
Hi Terry,
I just enabled the plugin and tried 'screen-capture-now'.
It creates the folder C:\Users\lewis\.leo\screen_captures but there is no
png file written in the folder.
I may have missed something
On Sun, 21 Apr 2013 08:59:51 +0800
HaveF iamapla...@gmail.com wrote:
hi, Terry,
It seems a great plugin! It is useful for people who write posts about leo.
1. the link to leo-editor web page in http://www.greygreen.org/leo/ should
be updated ;-)
Thanks - Matt has pointed that out too
See http://leo-editor.github.io/screen_capture.html
... screen_capture_now captures an image immediately,
screen_capture_5sec waits five seconds, so you can position the
pointer, open menus etc. The only feedback is in the console, as
messages in the log would be distracting in the captured
hi, Terry,
It seems a great plugin! It is useful for people who write posts about leo.
1. the link to leo-editor web page in http://www.greygreen.org/leo/ should
be updated ;-)
2. btw, can this plugin set a different path to save captured image?
On Sun, Apr 21, 2013 at 12:06 AM, Terry Brown
my mouth is watering ...
I just hope the install / setup is as idiot-proof as possible,
This happens to me too often:
- I get the occasional hour to do some coding
- I decide to try the latest-greatest Leo feature
- I spend the hour futzing with settings
Next time I get an hour to code, I use
Next time I get an hour to code, I use Gvim ...
Not meaning to complain, just my story.
mine too I'm afraid.
...but not just with Leo. It happens to me all over the place. There's just
too damn many cool new things out there. If people would just stop being so
damn creative for a year or two I
I haven't advertised it yet. Maybe a blog post about leo + ipython
integration in general could be in order (that I could point to).
On Tue, Apr 16, 2013 at 7:20 PM, Edward K. Ream edream...@gmail.com wrote:
On Mon, Apr 15, 2013 at 9:26 AM, Ville M. Vainio vivai...@gmail.comwrote:
For now,
Might this work:
a new top level menu: 'Extensions'
Entries in this menu would refer to scripts which did all
the behind the scene work required to enable a feature,
with a small tutorial to boot.
It might even find myLeoSettings.leo, insert the required nodes
and prompt for restarting the
On Sun, Apr 14, 2013 at 3:31 PM, Ville M. Vainio vivai...@gmail.com wrote:
I added a few directives to valuespace.py plugin to bring native json data
support.
Thanks for this work. The valuespace plugin is one of the plugins for
which I'd like to create a screencast-style tutorial script
+ valuespace is doing a great
job so far.
On Mon, Apr 15, 2013 at 5:14 PM, Edward K. Ream edream...@gmail.com wrote:
On Sun, Apr 14, 2013 at 3:31 PM, Ville M. Vainio vivai...@gmail.comwrote:
I added a few directives to valuespace.py plugin to bring native json
data support.
Thanks for this work
I'm doing some research now, that requires storing inputs in json, I use
those inputs to calculate some outputs and store them in .json files.
I added a few directives to valuespace.py plugin to bring native json data
support.
@vsi foo.json
reads in file foo.json, and stores the parsed data
14, 2013 at 11:31 PM, Ville M. Vainio vivai...@gmail.comwrote:
I'm doing some research now, that requires storing inputs in json, I use
those inputs to calculate some outputs and store them in .json files.
I added a few directives to valuespace.py plugin to bring native json data
support
put several hours of work into simplifying and improving the
viewrendered plugin, which is now an essential part of the help system. For
instance, F1 now puts introductory text in the vr pane.
- The docstrings for plugins are no longer locked in place by default. Use
the vr-lock command if you
I enabled the ipython plugin in Leo 4.11. When I restart Leo, I get the
following error.
C:\archives\leo-editor-latestpython launchleo.py
** isPython3: False
Leo 4.11 devel, build 5568, 2013-01-15 02:53:23 -0600
Python 2.7.0, qt version 4.7.4
Windows 6, 1, 7601, 2, Service Pack 1
leoID=randfb
using python 3, rather than 2, but I'm getting a
load error with the quicksearch.py plugin. I was wondering if its just me,
or if I need to tweak anything?
I start Leo with a shell script:
#!/bin/bash
cd ./Leo
screen python3 ./launchLeo.py
And I get the following, with no Nav tab
ipython plugin was ported to work with new ipython versions recently,
unless I'm badly mistaken.
On Mon, Oct 29, 2012 at 10:21 PM, Edward K. Ream edream...@gmail.com wrote:
On Sat, Oct 27, 2012 at 12:13 PM, Calen cloverev...@yahoo.com wrote:
I look inside the source code of the ipython plugin
On Sat, Oct 27, 2012 at 12:13 PM, Calen cloverev...@yahoo.com wrote:
I look inside the source code of the ipython plugin. It seem that it need
the IPython.ipapi module, which is depreciated after IPython 0.13. Is there
any work around?
There is only one function in the ipapi module::
def get
I look inside the source code of the ipython plugin. It seem that it need
the IPython.ipapi module, which is depreciated after IPython 0.13. Is there
any work around?
--
You received this message because you are subscribed to the Google Groups
leo-editor group.
To view this discussion
Sublime Text is a very polished editor (try it if you don't believe
me) with a python plugin API:
http://www.sublimetext.com/
http://www.sublimetext.com/docs/api-reference
Integrating it with Leo might be an interesting excercise for someone
(e.g. use it to show/edit buffer contents while
On Fri, Oct 19, 2012 at 4:27 AM, Ville M. Vainio vivai...@gmail.com wrote:
Sublime Text is a very polished editor (try it if you don't believe
me) with a python plugin API:
Thanks, Ville, for this reminder. I hadn't known about the api, and I
didn't realize that the trial period extends
On Tue, Oct 2, 2012 at 4:50 PM, Edward K. Ream edream...@gmail.com wrote:
On Tue, Oct 2, 2012 at 2:44 PM, Kent Tenney kten...@gmail.com wrote:
What about access to vim-open-file for @auto nodes?
What about it?
I seem to recall having the option of Leo opening a node
in a vim session, or the
On Wed, Oct 3, 2012 at 9:23 AM, Kent Tenney kten...@gmail.com wrote:
What about access to vim-open-file for @auto nodes?
What about it?
I seem to recall having the option of Leo opening a node
in a vim session, or the whole file. Is this choice available?
I don't recall ever knowing about
that the vim-open-node
command is the one and only way to open a node with the vim plugin.
Imo, this is perfectly reasonable: overloading double-clicks is a
very poor interface design.
Here is the docstring::
Q
''' Enables two-way communication with VIM.
This plugin provides the ``vim-open-node
when choosing
Plugins::Vim.
I've rewritten the docstring to emphasize that the vim-open-node
command is the one and only way to open a node with the vim plugin.
What about access to vim-open-file for @auto nodes?
Imo, this is perfectly reasonable: overloading double-clicks is a
very poor
On Tue, Oct 2, 2012 at 2:44 PM, Kent Tenney kten...@gmail.com wrote:
What about access to vim-open-file for @auto nodes?
What about it?
EKR
--
You received this message because you are subscribed to the Google Groups
leo-editor group.
To post to this group, send email to
, September 18, 2012 5:05:31 PM UTC-7, Joon Ro wrote:
Thanks for the reply. So in myLeoSettings.leo, I have
@settings
Plugins
+vim plugin
+@string vim_cmd = /usr/bin/gvim --servername LEO
+@string vim_exe = /usr/bin/gvim
and I restarted leo, but still when I double click on the icon
-node.
Also make sure that vim,py is turned on in @enabled-plugins. You should
see it listed in the plugins menu.
On Tuesday, September 18, 2012 5:05:31 PM UTC-7, Joon Ro wrote:
Thanks for the reply. So in myLeoSettings.leo, I have
@settings
Plugins
+vim plugin
+@string vim_cmd = /usr/bin
in leoSettings would not work as it does not quote the
path.
On Tuesday, September 18, 2012 7:11:49 AM UTC-7, Edward K. Ream wrote:
Besides enabling the vim plugin, be sure to copy the following
settings to your myLeoSettings.leo:
@string vim_cmd = c:\vim\vim72\gvim --servername LEO
in myLeoSettings.leo, I have
@settings
Plugins
+vim plugin
+@string vim_cmd = /usr/bin/gvim --servername LEO
+@string vim_exe = /usr/bin/gvim
and I restarted leo, but still when I double click on the icon (the square
before the node heading), it goes to the node heading editing mode.
Best
As of rev 5458, the screencast plugin should be usable in most situations.
Recent work:
- At last I am satisfied with the docstring.
- Added m.open_menu method. These took a lot of work. From the reference
part of the docstring:
QQQ
**m.open_menu(menu_name)** Opens the menu whose name
After yesterday's work on the executive summary, I remembered the advice of
the book Made to Stick to tell stories. Following this advice, I wrote
the following intro to the screencast plugin. It think it flows much more
naturally than the executive summary, and is more informative to boot
Trying to be too careful in describing a new topic is often
counter-productive. So it is with the screencast plugin. Really, the
ideas are straightforward; it's only the communication that is harder ;-)
Here is my first draft of an executive summary of the plugin. This will be
the first
Thanks for the reply. So in myLeoSettings.leo, I have
@settings
Plugins
+vim plugin
+@string vim_cmd = /usr/bin/gvim --servername LEO
+@string vim_exe = /usr/bin/gvim
and I restarted leo, but still when I double click on the icon (the square
before the node heading), it goes to the node heading
Hi,
I have been aware of leo for quite a while, but finally I started using it
seriously.
Anyway, I have copied @settings node from the basic settings file to
~/.leo/myLeoSettings.leo, and uncommented vim.py in @enabled-plugins. I
restarted Leo and I see vim in Plugin Menu.
However, when I
Hi,
I am having some difficulties using the viewrendered plugin.
I am new to Leo, so it is probably me misunderstanding something..
My understanding was that if one selected a node and chose the
viewrendered option from the Plugins menu,
a rendering pane would open, besides the body pane
On Wed, 18 Jul 2012 18:47:13 -0700 (PDT)
tsuchi noko nokotsu...@gmail.com wrote:
Hi,
I am having some difficulties using the viewrendered plugin.
I am new to Leo, so it is probably me misunderstanding something..
My understanding was that if one selected a node and chose
)
tsuchi noko wrote:
Hi,
I am having some difficulties using the viewrendered plugin.
I am new to Leo, so it is probably me misunderstanding something..
My understanding was that if one selected a node and chose the
viewrendered option from the Plugins menu,
a rendering pane
What OS are you on?
Sorry, of course that would be relevant; Win7 x64.
Leo 4.11 devel, build 5374, 2012-05-31 15:00:27
Python 2.7.2, qt version 4.7.1
Windows 6, 1, 7601, 2, Service Pack 1
--
-matt
--
You received this message because you are subscribed to the Google Groups
leo-editor
actually. How does one
test or report if a plugin is actually being loaded, or even attempted
to load? I added notebook.py to myLeoSettings.leo but [alt-x] nb- is
showing zero completions, with no errors in log pane or shell console.
shell:
{{{
O:\leoc
O:\
** isPython3: False
Leo 4.11 devel, build
initially reported
from.They're supposed to be identical as far as python, qt, etc. goes
but apparently a difference as crept in.
[*] not giving me any results or errors at all actually. How does one
test or report if a plugin is actually being loaded, or even attempted
to load? I added
On Mon, Jun 4, 2012 at 2:39 PM, Ville M. Vainio vivai...@gmail.com wrote:
I finally took the plunge to productize the qml notebook stuff a bit
(with all the buzz around light tables and ipython notebook ;-).
Lovely demo. Thanks so much for it.
A picture is worth at least 100 words: The
On Tue, Jun 5, 2012 at 8:12 AM, Edward K. Ream edream...@gmail.com wrote:
A picture is worth at least 100 words.
Haha. at least 1000 words :-)
--
You received this message because you are subscribed to the Google Groups
leo-editor group.
To post to this group, send email to
, 2012-06-04 13:01:33
Python 2.7.2, qt version 4.7.1
Windows 6, 1, 7600, 2,
reading settings in B:\apps\leo-editor\leo\config\leoSettings.leo
reading settings in C:\Users\mwilkie\.leo\myLeoSettings.leo
reading settings in C:\Users\mwilkie\.leo\workbook.leo
loadOnePlugin can not load enabled plugin
Can you change the import in the qml file to import QtQuick 1.0?
Sent from my Windows Phone
From: Matt Wilkie
Sent: 6/5/2012 6:37 PM
To: leo-editor@googlegroups.com
Subject: Re: ANN: notebook.py plugin finally on trunk (nb-subtree,
nb-all)
From my work computer, which shows notebook in Plugins
I finally took the plunge to productize the qml notebook stuff a bit
(with all the buzz around light tables and ipython notebook ;-).
Leo says ...\leo\plugins\qmlnb\qml\leonbmain.qml:2:1: module
QtQuick version 1.1 is not installed.
The download link from http://qt.nokia.com/qtquick/ leads to
On Mon, 4 Jun 2012 22:39:52 +0300
Ville M. Vainio vivai...@gmail.com wrote:
So far, you can use it to see a nice nested view of your document
(full tree, or subtree).
Looks like it could have a lot of potential.
Seemed to bind to the wrong controller / outline if you have more than
one open,
What OS are you on?
On linux, you have to ensure libqt4-declarative or somesuch is installed.
On Mon, Jun 4, 2012 at 11:26 PM, Matt Wilkie map...@gmail.com wrote:
I finally took the plunge to productize the qml notebook stuff a bit
(with all the buzz around light tables and ipython notebook
Forgive my imperfect understanding of this, but I think that the old
Leo-Ipython stuff worked by having the same python interpreter
instance running both leo and ipython shifting things of interest back
and forth through namespaces that either could look at.
While this still may be possible with
On Apr 2, 9:21 am, tfer tfethers...@aol.com wrote:
Forgive my imperfect understanding of this, but I think that the old
Leo-Ipython stuff worked by having the same python interpreter
instance running both leo and ipython shifting things of interest back
and forth through namespaces that
On Mon, 2 Apr 2012 08:32:40 -0700 (PDT)
Edward K. Ream edream...@gmail.com wrote:
Yes. zmq is exciting. Alas, I have not been able to build it either
on Windows or Ubuntu.
It's available as a package in the package management system for
Ubuntu. Unfortunately tfer said zmq in windows was
Unfortunately tfer said zmq in windows was hard, if that's
true, then that's a pain,
I have pyzmq working I think, or at least I was able to get ipython
notebook running on my computer last week (python 2.7). I believe I
just used `pip install pyzmq` and it was off to the races.
I was
Hello Edward,
Am Sonntag, 1. April 2012 01:29:57 UTC+2 schrieb Edward K. Ream:
In practice, the separation of code between the ipython.py plugin and
leo/external/ipy_leo.py is inconvenient for me and a bit confusing for
users. Indeed, Leo's --ipython command-line arg should be all
On Sun, Apr 1, 2012 at 12:31 AM, Ville M. Vainio vivai...@gmail.com wrote:
Iirc, ipy_leo is leo 'helpers' that you load from ipython (as ipython
plugin), and ipython.py is a leo plugin that enables the ipython bridge.
Having them be separate seems natural to me, and users only know about
On Apr 1, 6:34 am, Edward K. Ream edream...@gmail.com wrote:
Unless [there are technical objections] my plan is to merge both into Leo's
core.
Creating a new core file, say leoIPython.py will allow us to keep
ipy_leo.py and ipython.py unchanged during development of the new
IPython support
On Sun, Apr 1, 2012 at 7:31 AM, Edward K. Ream edream...@gmail.com wrote:
Hmm. Perhaps Leo will need a --legacy_ipython command-line arg.
A ridiculously bad idea ;-) The new IPython controller will determine
which version of IPython is in effect and act accordingly.
EKR
--
You received
In practice, the separation of code between the ipython.py plugin and
leo/external/ipy_leo.py is inconvenient for me and a bit confusing for
users. Indeed, Leo's --ipython command-line arg should be all that is
needed to create the ILeo bridge.
I plan to fold the code in ipython.py
Iirc, ipy_leo is leo 'helpers' that you load from ipython (as ipython
plugin), and ipython.py is a leo plugin that enables the ipython bridge.
Having them be separate seems natural to me, and users only know about
ipython.py.
On Apr 1, 2012 2:29 AM, Edward K. Ream edream...@gmail.com wrote
The checkin log for rev 5171 is simply:
Refactored URL handling, and revised bookmarks plugin to use the new
code.
Let me expand on this. I folded Terry's lenient_url_from_node into
g.getUrlFromNode, so now bookmarks.py simply calls g.getUrlFromNode(p)
instead of lenient_url_from_node(p
by the
bookmarks plugin now automatically have access to these features.
EKR
--
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-editor
On Tue, 20 Mar 2012 06:04:21 -0700 (PDT)
Edward K. Ream edream...@gmail.com wrote:
just #'. I believe this is best. One can imagine # being used a s
comment delimiter in headlines especially. Terry, let me know if
this more strict test causes problems.
Yes, sorry, I changed this to
On Tue, Mar 20, 2012 at 11:20 AM, Terry Brown terry_n_br...@yahoo.com wrote:
Yes, sorry, I changed this to s.startswith('#') and pushed before I read
this email.
5173 looks good to me. Thanks for the changes. Imo, this should be
good enough for b1: we can deal with any other problems as they
This plugin appears to be completely obsolete. I'll remove it soon
unless somebody explains why it should stay.
Edward
--
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
- enable bigdash.py plugin
Is there a new way to enable plugins?
When I open LeoPlugins.leo from the help menu I have an empty file
with single node called LeoSettings.leo.
bigdash doesn't exist anywhere in LeoSettings.leo. Just adding
bigdash.py to @enabled-plugins in myLeoSettings.leo got
And in a way of formal announcement:
I have now pushed a way to do global search, with one line of context
(one line before, one line after).
Screenshot here:
https://plus.google.com/103097156557482112329/posts/6qSngscG38Y
Instructions (with current trunk):
- enable bigdash.py plugin
- alt-x
).
On Sat, Mar 3, 2012 at 12:28 AM, Ville M. Vainio vivai...@gmail.com wrote:
I have pushed raw demo of global-search.
Screenshot attached. To try, enable bigdash.py plugin, do alt-x
global-search, enter s foobar to search for foobar.
Benefits over nav pane;
- Will display more context (maybe 4
Sorry for the extended intro, skip to the bottom for a concise question if
the topic isn't of interest.
For a variety of reasons, all my own fault I'm sure, I've got two
relatively large Leo files that have gotten out of sync with the external
files in my filesystem, including hundreds of the
On Tue, 7 Feb 2012 07:43:25 -0800 (PST)
HansBKK hans...@gmail.com wrote:
My question - once I've emptied and deleted these two current .leo files
and am managing the content externally, is there a recommended way to use
Leo (presumably with activepath) so that I can automate bringing the
?
If that's no good, then I'll try @shadow (which I've been using without any
apparent trouble) with the read-only plugin. . .
For updating, as long as you're sure there's nothing in the tree you want,
you can just delete the whole thing and have active_path load it again.
When you do
On Tue, 7 Feb 2012 11:16:36 -0800 (PST)
HansBKK hans...@gmail.com wrote:
for importing files. It's possibly, if my import approach was quick and
dirty enough :-) that you could get away with setting that to
@view, and you'll just get the file contents loaded into a node which
will
On Wednesday, February 8, 2012 2:31:27 AM UTC+7, Terry wrote:
Um, I didn't know it was a directive - I just made it up :-)
LMAO! I was feeling guilty for having missed something like an entirely new
@file type 8-)
It's implemented by the at-view
On Tue, 7 Feb 2012 11:53:50 -0800 (PST)
HansBKK hans...@gmail.com wrote:
And I assume you mean activepath will create a node
Yep.
Cheers -Terry
--
You received this message because you are subscribed to the Google Groups
leo-editor group.
To post to this group, send email to
finish. :)
A few unorganized thoughts:
- Leo has command line options and can run in batch mode:
http://webpages.charter.net/edreamleo/scripting.html#running-leo-in-batch-mode.
Meaning if you (or anyone) writes a txt2tags leo plugin it can be
called in response to 2x-click in file system explorer
Just thinking out loud here, if you're busy feel free to ignore.
If I were to start learning Python by taking on a little project, I
figure it should help extend Leo's capabilities.
My ideas are very much related to this
Somewhere in a recent thread Edward announced top level key handling so
Leo's keys have their default behavior in *all* windows which don't
provide specific overrides. This is fantastic - now you can move
around the tree with keys, doing things to nodes by clicking in plugin
windows without
the tree with keys, doing things to nodes by clicking in plugin
windows without having to click back to a core Leo window to get Leo
keys to work again.
I think Edward also asked wondered why he didn't do it that way in the
first place - I seem to remember it was attempted but not realized
On Thu, Nov 10, 2011 at 9:07 PM, Edward K. Ream edream...@gmail.com wrote:
skipToMatchingTag should do a better job of error recovery.
Further testing revealed some glaring problems with html parsing. A
few simple unit tests will fix them.
skipToMatchingTag will require some design unit
On Nov 11, 7:12 am, Edward K. Ream edream...@gmail.com wrote:
data.html is contains many challenging features. In this regard, it is a
good test. But it is a bad *unit* test, because the challenges are hidden in
a lot of cruft.
After a pleasant hour or so of distilling, here is the
On Nov 11, 9:37 am, Edward K. Ream edream...@gmail.com wrote:
This improperly nested and terminated tags are going to be quite a
trick for skipToMatchingTag to handle so as not to disrupt the proper
nesting of the imported Leo nodes.
There is an additional complication. The nodes that Leo
On Fri, Nov 11, 2011 at 9:37 AM, Edward K. Ream edream...@gmail.com wrote:
After a pleasant hour or so of distilling, here is the essence of
the problems contained in data.html, imo::
Lots of progress this morning. skipToMatchingTag is now much simpler.
However, the following (bizarre) code
On Thu, Nov 10, 2011 at 12:42 AM, zpcspm zpc...@gmail.com wrote:
Thanks for your work on this, Edward,
You're welcome.
I was a bit impatient yesterday to push what I had so far. That
wasn't a bad idea: those who use @auto on languages other than html
may be affected, independently of html.
On Nov 10, 6:37 am, Edward K. Ream edream...@gmail.com wrote:
On Thu, Nov 10, 2011 at 12:42 AM, zpcspm zpc...@gmail.com wrote:
It looks like leo still makes a difference between lowercase and
uppercase tags when importing HTML.
Yes, this was a bug and a bad one. Rev 4771 fixes it. It
On Nov 10, 10:21 am, Edward K. Ream edream...@gmail.com wrote:
Last night I made progress on a better html token filter. This will
allow more accurate comparisons.
Rev 4771 uses the so-called permissive comparison in
ic.filterTokens. This allows all unit tests to pass.
In the middle
On Nov 10, 5:38 pm, Edward K. Ream edream...@gmail.com wrote:
Here is the test case, boiled down to its essence from data.html::
tda href=1Standards/a a href=2Fees/a/td
[snip]
The problem is that there seems to be no way to pull the whitespace into
either class (element)
Not sure why
701 - 800 of 1500 matches
Mail list logo