Thx, Matt.
--
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+unsubscr...@googlegroups.com.
For more options, visit this group
So, nobody wants to help me with the simple tabwidth question?
--
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+unsubscr...@
Edward, can you give the instruction, how to set @tabwidth? In
myLeoSettings as well?
--
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
> 1) the panes are empty and I have to select a recent file for
> instance
Did you try to use File -> Recent Files? I use it quite often and
don't feel any inconvenience that leo quits when I close the last tab.
As I always have at least 1 file opened.
--
You received this message because you ar
> In the same vein, if I close the only xxx.leo open file, Leo exits ! I
> would expect Leo to stay up so that I can eventually start a new
> xxx.leo file ?!
Try adding
--gui=qttabs
to the end of command in leo shortcut. It must give you the multitabs
interface. For my shortcut the command will b
Edward, for God's sake. Why do you torture us? Who can comprehend your
bed sheets? I'll try to show my position upon decomposition of
complexity in the nearest future.
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send ema
> Does anyone have any objections?
Please, give an tutorial, how to use codewisecompleter!
--
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 emai
> In any event, rev 3933 now disabled keyboard tracing.
Got rev 3935. Russian works now.
Thank you, 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.
To unsubscribe from thi
> Rev 3931 of the trunk enables some key traces. Please type a single
> non-ascii character and report the resulting traces.
I could only download rev 3930 from launchpad. In 3930 I can't type
the russian characters. So this severe problem exists.
--
You received this message because you are su
> Leo is loosing the focus at the end of the body of a node
> where I type. - It always goes back several lines after I switched for
> example to the web-browser to copy some content and I have to
> explicitely set the focus to the end of the body again.
I am using Qt for a long time. Never had th
Edward, before you implemented the user-friendly rendering pane
management, how can I make a function, that will have a variable
inside and be executed by Alt-,
When I first call it - it shows the pane. When I click Alt-, again -
hides? Like a switch.
--
You received this message because you are
> You must enable the viewrendered plugin for the rendering pane commands to
> work.
Merci beaucoup, Edward and Ville. It works now.
I added
show-rendering-pane = Alt-,
to 'myLeoSettings' -> '@settings' -> 'Keyboard shortcuts' -> '@keys
EKR bindings' -> '@shortcuts Other commands'
Now it's ev
> You're using Qt, right? :)
I started leo with this command
pythonw launchLeo.py --gui=qt
no luck
Terry, may I have your skype? Mine is usr345
It would be an honor to talk to you. I have an idea about leo, but
it's hard to describe it in this dull text format. If you have a
little free time.
> It sounded like you weren't even getting the 'full-command:' prompt?
No. I got the 'full-command:' prompt. And downloaded the latest
version from your site. But nothing happens when I type the command '
show-rendering-pane' and click enter.
Do I need to add some plugin?
--
You received this m
Terry, can you tell me, how to start the rendering pane to view the
images? show-rendering-pane command doesn't work.
--
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
> Have you tried the rendering pane? alt-x
> show-rendering-pane?
Doesn't work. When I type this and click Enter - text doesn't
disappear in minibuffer and nothing happens.
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, s
Edward, this is ridiculous. I got the latest revision and still there
are no images. How did you break the plugin?
--
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 fro
Edward, SOS:
http://www.live-wtr.ru/leo/good.png
http://www.live-wtr.ru/leo/bad.png
Look at the versions. I took the old image plugin, but it still
doesn't work. So it's something inside leo core.
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
I updated leo to
Leo 4.8 final, build 3752, November 26, 2010
and the @image node, that worked with the previous version now stopped
working. Also Edward, please, change in @file image.py
init
return ok to return True
as it gives the warning in log panel.
--
You received this message because
Can someone tell me, how to get the full path to the currently opened
leo file, so I could save the log in the save directory?
--
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 uns
I updated the plugin, using logging module, that is thread safe. Also
added the check for FTP errors while connecting. Please, add the new
version to leo.
bzr branch lp:~usr345/leo-editor/ftp-plugin
Also how to get the path to current opened leo file? As now I create
the log in the same folder wi
> In essence, you are asking for the viewrendered plugin to place its
> results in "half" of the body pane rather than in a separate window.
I thought about creating several body panes side by side, like
structure and log panes. In one pane will be the code, in the other -
image or other code. Ema
I am developing a programming project and have an ER-diagram, saved as
png image, that I referenced in leo and code, that uses the DB.
But it's very uncomfortable to switch between the code and image each
time. How to put an image to the right from the code or inside the log
pane?
Plz, check scre
> Don't even think about it.
>
> Edward
I will think, and even try to do.
:P
Dmitriy
--
In Qt, you would queue the messages in a list when running in a
thread, and use QTimer.singleShot to dump the message to the UI. This
would make all ui manipulation happen in main loo
I googled about the problem and found this question:
http://stackoverflow.com/questions/3842558/pyqt-and-threads
and this:
http://diotavelli.net/PyQtWiki/Threading,_Signals_and_Slots
http://doc.qt.nokia.com/4.6/threads-qobject.html
Now I start the work in new thread, using 1 call:
def run(sel
The reason for using threads is that leo freezes when I upload big
files.
> If that is not possible, Leo could grow an output function that is
> thread safe (g.es_thread?). It would only use the ui when running on
> main thread.
Yes, it would be great. But would the user see the messages in log
p
After some testing I found, that leo breaks on line:
g.es(files[i][0])
In console I get a message:
QWidget::repaint: Recursive repaint detected
In test module I tried to comment all g.es and the error disappeared.
Maybe, that's because QWidget is not thread safe and I use threads?
How can I o
The previous message was written directly after thanks, but was added
much later.
--
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-
Hiya. I updated the plugin. Please, someone update it in leo main
branch:
bzr branch lp:~usr345/leo-editor/ftp-plugin
Also I created a video tutorial, describing, how to use the plugin:
http://www.youtube.com/watch?v=bnj0NQuljQo&hd=1
--
You received this message because you are subscribed to t
Don't know, why, but sometimes the plugin drops leo on the line:
node.b = json.dumps(files)
I repeted the same sequence and it worked well.
Can somebody tell me, how to effectively program leo plugins, so I
won't need to restart leo after I modify the code, so it would load
the new plugin again?
Can anybody tell me, how to easily debug leo plugins? It's painful to
open/close leo file, so leo would reload the plugins code and how can
I use a debugger? Also I couldn't create a script button, cause I use
functions, that could be used only inside a plugin:
def upload (self,event=None):
c
Terry and Edward thanks for help!
--
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+unsubscr...@googlegroups.com.
For more op
Ville, can you tell me, how to get the subnodes of a leo node in
python? I thought, that you know.
--
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, se
Hello. I want to improve the plugin by allowing the user to use
multiple servers. The input data will be stored in the subnodes of
node '@data ftp' - one subnode for each server. I have a function,
that takes the node JSON content and uploads the file. So I just need
to apply it for each subnode.
It's ok if you copy and paste. The history is kept in my branch.
--
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+unsubscr..
I added multitheading to plugin. Now leo doesn't freeze, when
uploading the files. Edward or Ville can you merge my new version into
leo plugins:
bzr branch lp:~usr345/leo-editor/ftp-plugin
thx!
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
T
> There are plenty of workarounds.
What are they?
--
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+unsubscr...@googlegroups
Thanks for explanation!
Also I found this:
"
Every @file node with children must not leave any of its descendant
nodes' body text "unused" in its expansion. This means each named
node must be referenced in body text , and unamed nodes have to be
collected by use of either an @all or @others dire
@nosent worked, thx. But tangling sucks.
--
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+unsubscr...@googlegroups.com.
For
I downloaded the latest version from bazaar:
Leo 4.8 final, build 3752, November 26, 2010
and created a test file:
http://live-wtr.ru/test.zip
My idea was to create the file:
#!/usr/bin/perl
use strict;
use warnings;
my $i = 1;
> I took just a brief look, then added ftp.py to the trunk and updated
> leoPluginsRef.leo.
>
> This should make it easier for people to see for themselves.
Thx!
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to
I made a branch on launchpad for my plugin. Anyone can get it, using:
bzr branch lp:~usr345/leo-editor/ftp-plugin
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to leo-edi...@googlegroups.com.
To unsubscribe fro
Edward, can you take a look at my ftp plugin and add it to the trunk.
Seems, that Ville doesn't want to do it. Hope, it won't take much
time:
http://live-wtr.ru/python.zip
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, sen
I found the bug myself :D. In __init__ function I had the code:
ib_w = self.c.frame.iconBar.w
action = QtGui.QAction('Upload', ib_w)
action.connect(action, QtCore.SIGNAL("triggered()"),
self.upload)#<--- this is the reason, why function self.upload was
called twice. I removed it.
At last I finished the first version of the plugin. But 1 problem is
left: function upload is called twice.
In processed leo file I have a node '@data ftp', that contains the
following info:
[ main array
[array of credentials],
[file_1 to upload],
[file_2 to upload],
...
[file
> can't think why this location would not be robust
I thought, that you uploaded the docs, but they removed them.
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to leo-edi...@googlegroups.com.
To unsubscribe fro
On http://webpages.charter.net/edreamleo/plugins.html#todo-py there
are 2 links:
http://leo.zwiki.org/ToDo
http://leo.zwiki.org/tododoc.html
Then all lead to a missing page. Can someone, having the docs, put
them into a robust location?
--
You received this message because you are subscribed to
Now it works. But I have 3 minor problems:
1. The first time I load leo 2 buttons are created instead of 1:
http://live-wtr.ru/1.png
2. When I click 1 button upload function is called twice. It means,
that onCreate function is called twice for some reason.
3. When I open another instance of leo
Ville, sorry, I can't fix it myself - the code, used as an example for
plugins gives an error:
c.k.registerCommand('upload',shortcut=None,func=self.upload)
script = "c.k.simulateCommand('upload')"
g.app.gui.makeScriptButton(c,script=script,buttonText='Upload') <---
here it breaks, saying
"Attrib
The script button works fine. But when I tried to create a plugin - it
gave an error:
File "C:\Python26\Lib\site-packages\Leo-4.7.1-final\leo\plugins
\ftp.py", line 55, in __init__
g.app.gui.makeScriptButton(c,script=script,buttonText='Upload')
File "C:\Python26\Lib\site-packages\Leo-4.7.1-fin
Ville, can you tell me those 2 functions: for searching of the node
and getting it's value. I am stuck with the development because of
that. And you were very helpful during the maximize window plugin
fixing.
--
You received this message because you are subscribed to the Google Groups
"leo-edito
"But there are plenty of plugins that do that sort of thing, which you
could use as examples. The nav_qt plugin (on by default) is one
example, although maybe not the best one, as it adds icon buttons, not
regular text buttons."
Sorry, I looked for and didn't find. For example we have a leo file:
Hurray, it worked after the fix. Thx, Edward - you saved my time - as
I am so accustomed to Shift-Delete.
For those, who have the same problem - @file qtGui.py is in /plugins/
leoGuiPluginsRef.leo.
Bug submitted.
--
You received this message because you are subscribed to the Google Groups
"leo
Yesterday I installed Qt interface for leo. In settings I have 2
shortcuts:
cut-text= Shift-Delete
delete-char = Delete
Under Tk Shift-Delete was working, now it just deletes the text. How
can I fix it?
Leo 4.8 devel, build 3005, February 26, 2
Here you are, sir. Create a script button with the code:
import os
os.system('/path_to_runme/runme.sh')
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to leo-edi...@googlegroups.com.
To unsubscribe from this gro
I decided to create a leo ftp plugin and need help. Please, someone
experienced in leo programming, read my pdf with scheme and questions:
http://live-wtr.ru/ftp.pdf
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send emai
smcho, I already had the same problem with 4.7.1 version, look at the
thread:
http://groups.google.com/group/leo-editor/browse_thread/thread/fe9a5d31670643d8/36e34622ef329e65
Nobody knew, how to fix it. But after I installed 4.8 from launchpad
it was gone.
--
You received this message because y
I decided to store the DB in an external file, called files.txt in
JSON format.
import json
import os
from ftplib import FTP
ftp = FTP('host.ru') # connect to host, default port
ftp.login('user', 'pass')
for file in files:
n = len(file)
if n < 3:
file.append(-1)
time = os
As a web programmer I have a local copy of files and the same files,
stored on server. So I made a button, that allows to upload the files
to server from leo:
from ftplib import FTP
ftp = FTP('host.ru') # connect to host, default port
ftp.login('user', 'pass')
files = [
['d:/www/dubai/modules/f
How can I load an abbrev file on the start of leo? For testing I tried
to create a script button:
c.executeMinibufferCommand("read-abbrev-file D:\Dmitry\abbrev")
but it didn't work.
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this
Will Edward answer?
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to leo-edi...@googlegroups.com.
To unsubscribe from this group, send email to
leo-editor+unsubscr...@googlegroups.com.
For more options, visit t
> +1 for this. I don't see while the "editor" part of Leo should be
> everything + kitchen sink.
I disagree - leo is very ergonomic and switching between leo and emacs
will waste the time. Macroes are already implemented and many people
will benefit from learning, how to use them in leo.
Edward,
In Emacs I made very useful buttons.
F11 - start writing a macro.If F11 was pressed before - stop writing a
macro.
F12 - execute macro.
For example, I have a LaTeX file, in which I must write subscripts for
the line:
A1, A2, ..., An
transfer it to:
$A_1$, $A_2$, ..., $A_n$
1. I go to the begin
I submitted the bug to launchpad
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to leo-edi...@googlegroups.com.
To unsubscribe from this group, send email to
leo-editor+unsubscr...@googlegroups.com.
For more opt
I created a file time.leo. When it's in the dir d:/Dmitry it's being
opened fine. But when I put it into the dir with russian characters:
D:/Личное/Время leo prints squares at the window header and doesn't
open the file correctly. This problem existed in one of the revisions,
then it was fixed in t
I got the last version of leo, using Bazaar, and found a bug. Here is
the file abbrev.txt:
--
eachwhile=while(my ($key, $value) = each(%))\n{\n}\n
Gives an error:
exception executing command
Traceback (most recent call last
Is it possible to make them work as in emacs. I write an abbreviation,
press space and it's being automatically substituted, if the abbrev
mode is on? It seems, that the abbreviations are loaded from the file
correctly - I tested that. The file is being read line by line:
for x in f:
a
I found abbrevCommandsClass (test) in the file. And there was a help:
"
type some text, set its abbreviation with Control-x a i g, type the
text for abbreviation expansion
type Control-x a e ( or Alt-x expand-abbrev ) to expand abbreviation
type Alt-x abbrev-on to turn on automatic abbreviation exp
Thanks, zpcspm.
It was the missing newline in file. I added it and the blinking
stopped :).
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to leo-edi...@googlegroups.com.
To unsubscribe from this group, send ema
how can I disable it in Python code? Blinking irritates everyone I
think.
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to leo-edi...@googlegroups.com.
To unsubscribe from this group, send email to
leo-editor+u
yes
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to leo-edi...@googlegroups.com.
To unsubscribe from this group, send email to
leo-editor+unsubscr...@googlegroups.com.
For more options, visit this group at
ht
ran
C:\Python26\pythonw.exe "C:\Python26\\Lib\site-packages\Leo-4.7.1-final
\launchLeo.py"
small window is created for a second, then it disappeares.
no messages
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email t
How can I use the abbreviations? What is the file format and the
sequence of commands? Sorry, I didn't find any info on site.
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to leo-edi...@googlegroups.com.
To unsu
I created it, but now leo exits without any message when loading.
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to leo-edi...@googlegroups.com.
To unsubscribe from this group, send email to
leo-editor+unsubscr.
Leo 4.7.1 final, build 3005, February 26, 2010
Python 2.6.4, Tk 8.5, Pmw 1.3
Windows 5, 1, 2600, 2, Service Pack 3
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to leo-edi...@googlegroups.com.
To unsubscribe fro
> Try creating
> file "foo", then at the command line doing "rename foo bar".
It worked without errors.
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to leo-edi...@googlegroups.com.
To unsubscribe from this gro
> This does seem like a permssions problem: Leo
> creates the tangle candidate in the same directory as the intended
> result, then renames within that directory if it needs to update (or
> create) the file.
Checking the permissions was my first step. I even moved leo file to
another folder, in wh
Leo 4.7.1 final, build 3005, February 26, 2010
Python 2.6.4, Tk 8.5, Pmw 1.3
Windows 5, 1, 2600, 2, Service Pack 3
I found out, that this bug occurs only when leo needs to create a new
file. I created the file 'view.html.php' on disk and it was
successfully rewritten.
--
You received this messag
I am using leo on Windows. I have this data in leo file:
@silent
@root "view.html.php";
http://groups.google.com/group/leo-editor?hl=en.
79 matches
Mail list logo