I don't get it.
Any chance of a snippet demonstrating
how to make use if the new code?
Thanks,
Kent
On Thu, May 3, 2012 at 12:45 AM, Ville M. Vainio vivai...@gmail.com wrote:
The sets are only valid during hook invocation (childrenModified,
contentModified). They are cleared after calling the
On Thu, 3 May 2012 08:09:51 -0500
Kent Tenney kten...@gmail.com wrote:
I don't get it.
Any chance of a snippet demonstrating
how to make use if the new code?
if 1:
def moded(tag, kwords):
nodes = kwords['nodes']
for i in nodes:
print i.h
Ah, cool. That takes care of mtime for the body.
Is a new focusChanged hook of interest?
(which would provide atime)
Thanks,
Kent
On Thu, May 3, 2012 at 8:36 AM, Terry Brown terry_n_br...@yahoo.com wrote:
On Thu, 3 May 2012 08:09:51 -0500
Kent Tenney kten...@gmail.com wrote:
I don't get it.
On Wed, May 2, 2012 at 2:44 PM, Ville M. Vainio vivai...@gmail.com wrote:
Useful optimization is doing:
v = p.v
v = foo
v = bar
I regard this mainly as a readability issue. Unless this occurs in a
frequently executed loop the gains will be on the order of
microseconds at best. Otoh, I
On Mon, Apr 30, 2012 at 9:05 AM, technatica technat...@gmail.com wrote:
I would like to be able to use shortcut keys to markup italic, bold,
etc. etc. So to highlight a word, hit ctrl+i or ctrl+b to add the **
before and after etc.
Interesting question. My first thought was that
On Wed, May 2, 2012 at 10:20 AM, Edward K. Ream edream...@gmail.com wrote:
On Tue, May 1, 2012 at 12:29 PM, Ville M. Vainio vivai...@gmail.com wrote:
How about changes to the tree structure, I.e. on-children-changed?
The place to do these notifications are the low-level vnode methods:
@file
On Fri, Apr 13, 2012 at 4:22 PM, Edward K. Ream edream...@gmail.com wrote:
On Fri, Apr 13, 2012 at 3:55 PM, Ville M. Vainio vivai...@gmail.com wrote:
Yes, it does work, and improves the performance a lot.
How about making it a default even?
Seems reasonable to me. Anyone have any reason not
I don't see loss of context as drawback - rather, it makes the concept more
elegant and easy to grasp.
Note also that getting a signal does not yet mean something changed - if a
plugin creates a node and deletes it again, you will get a signal. Plugins
only know something *mat have changed*, and
... and yeah, plugins probably don't need to know whether something was
changed due to undo, or new user activity. If a plugin thinks it needs that
kind of information, there may be a fundamental problem in the logic
On May 3, 2012 5:39 PM, Edward K. Ream edream...@gmail.com wrote:
On Wed, May
Leo doesn't presently have a command that will do exactly these
operations, but you can create such a command your self with @button
or @command nodes. You can then bind a key to the command with the
@key=binding construction, as described
I figured out how to map keys to the buttons. You have to include the
@key portion before you script the button. So I can now create buttons
assigned to keys.
Now if I can track down that extra space I should be able to get the
markup I need mapped to key and I can start learning the strange
Hey, I went on to start a leo mylyn plugin to excercise using the
childrenModified and contentModified signals.
If you want to play with it, pull, enable leomylyn.py, modify stuff
around the tree and do alt-x mylyn-scores.
Of course as it is useless in this state, but becomes useful when it
has
Fixed the extra space.
Now creating @buttons for all of the reSt markup I am likely to ever
need.
Thanks again.
Chris George
On May 3, 1:32 pm, technatica technat...@gmail.com wrote:
I figured out how to map keys to the buttons. You have to include the
@key portion before you script the
On Monday, April 30, 2012 9:05:00 PM UTC+7, technatica wrote:
My question is: how can I bind common formatting keys for reSt markup
when writing?
If you happen to be using Windows, I do exactly this for various markup
syntaxes (pandoc-markdown, txt2tags) using AutoHotKey macros.
The
Thanks for the response.
I am firmly on Linux. I figured out how to make Leo do what I needed
it to do and by the time I need more I will hopefully know more. Its
good to know, though, that I have somewhere to ask questions.
Chris
On Thu, May 3, 2012 at 5:30 PM, HansBKK hans...@gmail.com wrote:
15 matches
Mail list logo