Re: Ipython not working after recent update

2016-05-16 Thread Fidel N
Just faced the same problem, the following solved it for me: > pip install jupyter I didnt know I needed to install jupyter in order to use ipython. Plus, I used "iptest" as they suggest in ipython docs (https://ipython.org/ipython-doc/2/install/install.html) and it suggested me to install

Using buttons as quick navigation tools

2015-02-22 Thread Fidel N
Just thought of something, it might be very useful: What if: - control+click a button were to act same as the current right-click, go to script (IE: Would send the user to the node) - shift+click a button were to remove it, performing the right-click, remove buton - shift+right click a node were

Re: How to close quotes

2015-02-05 Thread Fidel N
Thank you both. Just checked the abbreviations, and as I understood I should use ;; after each comma, so ended up going for an AHK solution: ':: Send, ''{Left} ; Will send twice the quote mark, then send the cursor left. return Those 3 lines of AHK code will do the replacement in any

How to close quotes

2015-02-05 Thread Fidel N
I believe this to be somewhat related to recent discussions about user friendliness. Recently, I used other IDE's, and when writing, they automatically close braces, quotes, and such. Now that I think of it, I realize the quotes and braces closing steals me a few seconds every day I code with

Re: Plan for 2015

2015-01-30 Thread Fidel N
There you are wrong Dufriz, Edward recently spent several months focusing on improving the manuals, videos and docs, and made Leo more intuitive to use. But Leo has so many features, that it is still required an intensive study to begin to use many of them (or even realize they exist). I

Re: Plan for 2015

2015-01-30 Thread Fidel N
​:-) I think Fidel's answer was a bit harsh. Sorry, was not my intention to be harsh, I actually totally simpatize with Dufriz, I had quite a struggle migrating into Leo coming from a non-programming background. -- You received this message because you are subscribed to the Google

Re: New Install

2015-01-28 Thread Fidel N
I also had troubles back in the time when installing, and it also was because of unproperly / not installed pyqt. Perhaps a warning message/GUI should appear to tell the user to check if he did install pyqt properly? I think this could be a frequent bummer for new users who just don't spend

Re: Running Leo and IPython

2015-01-10 Thread Fidel N
this is how I use it: c:\python27\python launchleo.py --ipython d:\path_to_leo_file\my_leo_file.leo --no-splash (No splash is for avoding the leo image in the start) -- You received this message because you are subscribed to the Google Groups leo-editor group. To unsubscribe from this group

Re: define the encoding of an @file file

2014-12-27 Thread Fidel N
And the following may be be helpful: https://docs.python.org/2/library/codecs.html#module-encodings.utf_8_sig https://www.google.com/url?q=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Fcodecs.html%23module-encodings.utf_8_sigsa=Dsntz=1usg=AFQjCNGQgcBRJ8vLWQ-ZrnmR0BoKA5Aw7Q Thank you so

Re: define the encoding of an @file file

2014-12-25 Thread Fidel N
Thank you Edward. The problem seems to be I need the text in utf-8 with BOM, and Leo creates the files without BOM. (learnt about its existence right now) And cant seem to find the utf-8 with BOM encoding name. I have tried the wikipedia UTF-8-BOM and BOM and some others, but Leo always gives

define the encoding of an @file file

2014-12-24 Thread Fidel N
Hi: Is there a way to define the encoding you want for a txt file? In notepad ++ you can do this by clicking enconding - encode in UTF-8, but when I create the same file through Leo the encoding seems to be different and I cant find where should I change it. Im using Leo to create .ahk files

Standarizing Leo outlines

2014-11-11 Thread Fidel N
Thanks Edward for your last remark on this discussion https://groups.google.com/forum/#!topic/leo-editor/tpALG8K8Zz4. Thinking on Leo versatility, often the reason given in the group for Leo not to have useful / shared tools is its great versatility, but the problem is we are confusing

Re: Advices for a newbie who want to turn Leo flexibility to the simplest Sphinx editor

2014-11-10 Thread Fidel N
I begun with Leo at the same time I begun with Python, and also found Leo a bit overwhelming to use in the beginning, but Edward and others have done much to help newbies ever since (Tutorials, easier settings, quick start guide, etc). I think its a great idea to use leo for your purpose, and I

Re: Eliminate cycle-all-focus? Comments pls

2014-11-10 Thread Fidel N
Im normally a power user of such commands, but never saw use on this one specially because of the lack of traceability, IE, you cycle all but dont know which one is next or which one you are on etc. Well this is my chatty way to say I totally agree, and I like clearness of the focus-to-x thing.

Re: Eliminate cycle-all-focus? Comments pls

2014-11-10 Thread Fidel N
I dont understand well your concern, so far, the focus-to-body, focus-to-tree etc commands work perfectly, plus if you want to focus on the log you can do: c.frame.log.selectTab('LogTabNameHere'), and you will focus your selected log pane. Also, when I was trying to identify where did the user

Re: Advices for a leo cub - Want to turn Leo into basic Sphinx editor

2014-11-10 Thread Fidel N
I have been trying to define tree-structures-templates ever since I got into Leo. Always trying to create useful-for-more-than-myself templates. But the problem is what Terry just said, I often found it very difficult to find the sweet spot, in which they are easy to document and understand, and

Re: Advices for a leo cub - Want to turn Leo into basic Sphinx editor

2014-11-10 Thread Fidel N
PM, Fidel N fidelpe...@gmail.com wrote: I have been trying to define tree-structures-templates ever since I got into Leo. Always trying to create useful-for-more-than-myself templates. But the problem is what Terry just said, I often found it very difficult to find the sweet spot, in which

Re: Advices for a leo cub - Want to turn Leo into basic Sphinx editor

2014-11-10 Thread Fidel N
Thank you Terry, those posts go to my To-study list for when I finish the exam :D On Mon, Nov 10, 2014 at 10:27 PM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: On Mon, 10 Nov 2014 15:12:15 -0600 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: It's pretty

Re: My new workflow

2014-10-31 Thread Fidel N
While I was reading your description, I was only thinking on how a screencast would be of great use for this. Then I read Matt comment, so here is my +1. On Thu, Oct 30, 2014 at 10:09 PM, Matt Wilkie map...@gmail.com wrote: Thank you for sharing this Edward! I often find myself wondering about

Re: Clickable links in editing pane?

2014-10-28 Thread Fidel N
In case someone ends up digging into this, this code might be useful. The following script embeds an hyper link inside the selected node, but its not clickable for some reason: c.frame.body.widget.setOpenExternalLinks(True) c.frame.body.widget.insertHtml(a

Re: Houston, we have a problem with gnx's

2014-10-23 Thread Fidel N
Couldn't two gnx be stored? - a short one visually acceptable for inside the documents that the external user will see, just with a refference to the actual gnx it refers to. Maybe just an index of the place that the real gnx has within the Leo document. - A second one, embedded in the Leo file,

Re: Towards a portable Leo, with chocolate

2014-10-15 Thread Fidel N
I think I tried a while ago, here is something I was using, if you dont go very specific on your scripts (a noob wont do) you shouldnt need anything else: http://portablepython.com/ On Wed, Oct 15, 2014 at 10:00 AM, Edward K. Ream edream...@gmail.com wrote: On Wed, Oct 15, 2014 at 1:30 AM,

Re: Towards a portable Leo, with chocolate

2014-10-15 Thread Fidel N
I dont know how to answer those, but I do know I was able to run leo with portable python. My problems begun when I needed extra libraries such as kivy, for developments etc, but noob users using portable python shouldnt be needing thoose. So i think this could match our needs. On Wed, Oct 15,

Re: Towards a portable Leo, with chocolate

2014-10-13 Thread Fidel N
and start instead of minutes, it's just a better user experience. That said, I wouldn't let the large size of the bundle stop us from creating it. :) -matt On Sun, Oct 12, 2014 at 2:17 AM, Fidel N fidelpe...@gmail.com wrote: I would say its only good news, with the current online storage

Re: In-Browser Leo

2014-10-13 Thread Fidel N
wow its great, isnt that what everyone is talking about? Is it easy to setup? On Mon, Oct 13, 2014 at 4:34 PM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: On Mon, 13 Oct 2014 08:59:41 -0500 Edward K. Ream edream...@gmail.com wrote: On Mon, Oct 13, 2014 at 6:16 AM, Kent

Re: Towards a portable Leo, with chocolate

2014-10-12 Thread Fidel N
I would say its only good news, with the current online storage websites offering so many gb's and the price of new usb's / hardrives, I dont think 200mb should be a problem anymore. On Sun, Oct 12, 2014 at 10:10 AM, Matt Wilkie map...@gmail.com wrote: I just tested this new Chocolatey recipe.

Re: Todo: set priority in script

2014-09-23 Thread Fidel N
You get that message because leo is not an attribute or module of c, ie: This line is wrong: c.leo.setPri(20) I just checked your link, and there is a mistake in your code, in the original this is the line: c.cleo.setPri(20) Please replace that line, check it, and come back with the results

Re: Ctrl-F focus inconsistent

2014-09-21 Thread Fidel N
Just to sum up, in case Edward ends up jumping to the pool and swims inside the find code, the other recent issue that we talked about would be fixed if this were to happen: - The user press enter inside the find pattern here text input = this should unconditionally be equivalent to doing a new

Re: Completion bug

2014-09-20 Thread Fidel N
. This appears for any file that was open, IE, in the console appears too for the first leo file that was oppened etc. On Sat, Sep 20, 2014 at 12:40 AM, Edward K. Ream edream...@gmail.com wrote: On Fri, Sep 19, 2014 at 2:28 PM, Fidel N fidelpe...@gmail.com wrote: The focus goes to the log

Re: Completion bug

2014-09-20 Thread Fidel N
I tried removing myleosettings.leo and it works now, so its something in myleosettings So will remove any previous stylesheets config and will fix. Let me know if you need any information on that process. On Sat, Sep 20, 2014 at 1:44 PM, Fidel N fidelpe...@gmail.com wrote: I open the files

Re: Completion bug

2014-09-20 Thread Fidel N
edited QtGui node will have similar problems, IE, recent stylesheet changes were not totally backwards compatible. Hope this helps someone, thanks all for your support. On Sat, Sep 20, 2014 at 7:17 PM, Fidel N fidelpe...@gmail.com wrote: I tried removing myleosettings.leo and it works now, so

Re: Completion bug

2014-09-19 Thread Fidel N
Edward, I send pictures when copy/paste is not allowed, since the reports happen on the un-responsive console that appears in Windows when I open leo from a .bat file. Is there a way to copy that text?? Just updated from a very recent version and this Leo version has something wrong with the

Re: Completion bug

2014-09-19 Thread Fidel N
lol thanks Jake, next time it will be text hehe. Its way more comfortable to share on this side too! On Fri, Sep 19, 2014 at 4:15 PM, Jacob Peck gatesph...@gmail.com wrote: On 9/19/2014 10:04 AM, Fidel N wrote: Edward, I send pictures when copy/paste is not allowed, since the reports happen

Re: Completion bug

2014-09-19 Thread Fidel N
Edward, I also get, whenever I open a new Leo file (control+n), this conveniently copied log from the windows console: Could not parse stylesheet of widget 0x27db690 I guess we narrowed the options a bit :D -- You received this message because you are subscribed to the Google Groups

Re: Completion bug

2014-09-19 Thread Fidel N
The focus goes to the log, but nothing is reported when I do print-style-sheet On Fri, Sep 19, 2014 at 9:14 PM, Edward K. Ream edream...@gmail.com wrote: On Fri, Sep 19, 2014 at 12:08 PM, Fidel N fidelpe...@gmail.com wrote: Edward, I also get, whenever I open a new Leo file (control+n

Re: Delayed loading of large nodes

2014-09-17 Thread Fidel N
it works great here, thanks for this Edward With the update, also noticed the big blue square surrounding the selected widget, its also great. Those things improve usability big time IMO :D On Wed, Sep 17, 2014 at 9:26 PM, Edward K. Ream edream...@gmail.com wrote: On Sunday, September 7, 2014

Re: Say yes to yes to all :)

2014-09-16 Thread Fidel N
Oh so happy someone brought this up. My script also opens three files and always have that problem, although I never re-open files. 99% of the time its asking if they are open although the files are closed. Edward recently told me how to fix that, on top of everything,the splash would appear over

Re: Find / replace issue

2014-09-16 Thread Fidel N
, unfortunately I don't know the details. On Monday, September 15, 2014 9:27:24 PM UTC+3, Fidel N wrote: This was very difficult for me to understand, but I think this is it at last. In order to reproduce this issue, please do the following: In the Find tab, check the suboutline only Select

Re: Find / replace issue

2014-09-16 Thread Fidel N
knows the code around that and knows/wants to do a quick edit. On Tue, Sep 16, 2014 at 6:27 PM, Edward K. Ream edream...@gmail.com wrote: On Tue, Sep 16, 2014 at 10:03 AM, Fidel N fidelpe...@gmail.com wrote: When saying outline, I was not refering to another Leo file but another outline within

Completion bug

2014-09-15 Thread Fidel N
Hi, just retested with latest Leo, and still get the same bug. When hitting enter for completion to finish, Leo becomes unresponsive and shows this error: http://i.imgur.com/1ZV45oB.png -- You received this message because you are subscribed to the Google Groups leo-editor group. To

Find / replace issue

2014-09-15 Thread Fidel N
This was very difficult for me to understand, but I think this is it at last. In order to reproduce this issue, please do the following: In the Find tab, check the suboutline only Select an outline, and search for any text on its subtree, for instance a. This outline shouldnt have a within

Re: AttributeError: 'LeoQtBody' object has no attribute 'getSelectedText'

2014-09-14 Thread Fidel N
You must replace body.x with body.wrapper.x in all your scripts, as discussed recently, among other posts, here: https://groups.google.com/forum/#!topic/leo-editor/DvpF5IvTFSE On Sun, Sep 14, 2014 at 5:46 AM, zhaohe wang wangzha...@gmail.com wrote: Leo 4.11 final, build 20140913090303, Sat

Re: Moving Launchpad bugs to github: your requests please

2014-09-14 Thread Fidel N
I will have to go with two of my wishlist items. I ported both to Github, I guess that will be more comfortable. They are wishlist, but focused on everyday-use, I think both could improve noob's experiences and accesibility in general. Thanks! https://github.com/leo-editor/leo-editor/issues/56

Re: AttributeError: 'LeoQtBody' object has no attribute 'getSelectedText'

2014-09-14 Thread Fidel N
Gladly: Just use Leo to find all/ replace everywhere in your scripts the words c.frame.body with the words c.frame.body.wrapper Then, do a new find all / replace: c.frame.body.wrapper.wrapper with c.frame.body.wrapper (This one will avoid duplicates in case you had clones, etc.) On Sun, Sep 14,

Re: Moving Launchpad bugs to github: your requests please

2014-09-14 Thread Fidel N
Thank you, very glad to know! On Sun, Sep 14, 2014 at 2:03 PM, Edward K. Ream edream...@gmail.com wrote: On Sun, Sep 14, 2014 at 2:40 AM, Fidel N fidelpe...@gmail.com wrote: https://github.com/leo-editor/leo-editor/issues/56 https://github.com/leo-editor/leo-editor/issues/55 Thanks

Re: Proposed changes to settings (was Help! Messing with UI settings)

2014-09-11 Thread Fidel N
Hi: I can't elaborate much because I'm in aportable device but; - I like the idea very much and - I would go further and make the options as headers of children of the @style node. And their bodies would be a list of possible values, with one of them not being commented. For instance: - @style

Re: Delayed loading of large nodes

2014-09-07 Thread Fidel N
I have just been working with semi-large nodes, and noticed the increase in performance very much. Now its not a pain at all to work with such nodes, thanks Edward :) Also, didn't seem to notice the buttons yet. That is a work in progress, or should we see those already? -- You received this

Re: Delayed loading of large nodes

2014-09-07 Thread Fidel N
Great, thanks Edward. Going to be away for a few days, this is the first thing I'll do when Im back On Sun, Sep 7, 2014 at 9:59 PM, Edward K. Ream edream...@gmail.com wrote: On Sun, Sep 7, 2014 at 2:34 PM, Edward K. Ream edream...@gmail.com wrote: Also, didn't seem to notice the buttons

Re: Leo now uses a splash screen: non-copyrighted image needed

2014-09-06 Thread Fidel N
I like this a lot, but you can disable the feature by removing leo/ Icons/SplashScreen.jpg. Hi: Im having troubles with it. When I open a file, and leo thinks its already open, the confirmation wether if its open / open new appears behind the splash screen, and if I keep opening and

Re: Leo now uses a splash screen: non-copyrighted image needed

2014-09-06 Thread Fidel N
...@gmail.com wrote: On Sat, Sep 6, 2014 at 4:35 PM, Fidel N fidelpe...@gmail.com wrote: Is there currently any way to disable [the splash screen]? leo --help shows you the options. One of them is --no-splash. Afaik, I've never had a splash screen hide a dialog. What platform are you using

Re: Leo now uses a splash screen: non-copyrighted image needed

2014-09-06 Thread Fidel N
Works perfectly, Thanks Edward. I searched both in the groups and in myleosettings, next time ill have a look at leo help too. On Sat, Sep 6, 2014 at 11:57 PM, Fidel N fidelpe...@gmail.com wrote: Windows 7 The thing is my main Leo file opens other leo files on start up, and when leo thinks

Error when saving a file

2014-09-05 Thread Fidel N
Hi, I was trying to save my file (which is only open once), and got this error on the log pane, it wont save: MemoryError exception executing command Traceback (most recent call last): File D:\Dropbox\INSTALLED\LEO EDITOR\leo-editor\leo-editor\leo\core\leoCommands.py, line 567, in

Re: Error when saving a file

2014-09-05 Thread Fidel N
Find / Replace all is neither working, seems a related problem, since they both are memory error. This error I get in the shell (not the log). Here is the full report: http://i.imgur.com/h1iwiaQ.png -- You received this message because you are subscribed to the Google Groups leo-editor

Re: Error when saving a file

2014-09-05 Thread Fidel N
to think they are related :) On Fri, Sep 5, 2014 at 1:19 PM, Edward K. Ream edream...@gmail.com wrote: On Fri, Sep 5, 2014 at 2:04 AM, Fidel N fidelpe...@gmail.com wrote: Hi, I was trying to save my file (which is only open once), and got this error on the log pane, it wont save: MemoryError

Re: Error when saving a file

2014-09-05 Thread Fidel N
for your help Edward On Fri, Sep 5, 2014 at 3:07 PM, Edward K. Ream edream...@gmail.com wrote: On Fri, Sep 5, 2014 at 6:54 AM, Fidel N fidelpe...@gmail.com wrote: I have been using both with Dropbox (find replace all and saving files) ever since I started with Leo, and they never failed What

Re: API change?

2014-09-04 Thread Fidel N
are there more such things to be changed on the scripts? I was using c.frame.body a lot. On Thu, Sep 4, 2014 at 7:37 PM, Edward K. Ream edream...@gmail.com wrote: On Thu, Sep 4, 2014 at 11:11 AM, Kent Tenney kten...@gmail.com wrote: A button of mine checks for selected body text, what is the

Re: API change?

2014-09-04 Thread Fidel N
hehe I will. Thanks for the confirmation. On Thu, Sep 4, 2014 at 8:17 PM, Edward K. Ream edream...@gmail.com wrote: On Thu, Sep 4, 2014 at 12:54 PM, Fidel N fidelpe...@gmail.com wrote: are there more such things to be changed on the scripts? I was using c.frame.body a lot. body

Re: Incorrect text highlighted using Find commands

2014-08-30 Thread Fidel N
I found that to happen after you edited text in one node. Then,in its clones (or any other matches after that one), you will find the selection wrong, matching the previous position of the erased text. On Sat, Aug 30, 2014 at 3:29 AM, lewis lewisn...@operamail.com wrote: The same highlighting

Re: Delayed loading of large nodes

2014-08-29 Thread Fidel N
28, 2014 at 11:49 AM, Fidel N fidel...@gmail.com javascript: wrote: Actually, just some short of loading paused button instead of a node body, such as when you click it, the node body will load, would be enough. Great idea. Leo's body pane is a QTextBrowser, so filling the node

Re: view all parents and navigate?

2014-08-27 Thread Fidel N
Also, the goto-next-clone minibuffer command might be useful for you. On Wed, Aug 27, 2014 at 7:32 PM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: On Wed, 27 Aug 2014 10:22:47 -0700 (PDT) Todd Mars tamn...@gmail.com wrote: Hi, Is it possible to view all parents of a

Re: Making syntax coloring more responsive

2014-08-26 Thread Fidel N
nav tab rules the searches for me too Kent, nothing to be ashamed of. On Tue, Aug 26, 2014 at 5:31 PM, Kent Tenney kten...@gmail.com wrote: confession: I use the nav tab for searching, vim for replacing On Tue, Aug 26, 2014 at 9:43 AM, 'Terry Brown' via leo-editor

User contributed commands in leosettings.leo

2014-08-25 Thread Fidel N
Hi: Its been one year+ into python, and yesterday I realized again how I cant yet edit Leo core code when its not very simple. So I thought there might be a way for non-programming experts to add to Leo with useful snippets. For instance, the recent script for page up/page down

Re: User contributed commands in leosettings.leo

2014-08-25 Thread Fidel N
- Yes, I was assuming too that updates will be posted either by trusted coders or through pull requests from people not in the dev team. - Agree, a new file might be in order for those extra commands Say we make a new file that will include commands that will be loaded when Leo loads. Why

Re: [Simple script] Jump exactly one page with Page Down

2014-08-23 Thread Fidel N
Brian, if you are happy with that solution, I will try to replace the current code with the new one. Otherwise please tell me what to improve, I'll try and edit the script to do that. Fidel. -- You received this message because you are subscribed to the Google Groups leo-editor group. To

[Script] Dictionary to Leo outline

2014-08-23 Thread Fidel N
Hi: When working with a dictionary, some times I really need to see it, so I needed this small script. It will transform a dictionary into an outline, so you can navigate through it. Just in case its useful for anyone, here it goes: def dictionary_to_outline(p,dictionary): '''

Re: [Simple script] Jump exactly one page with Page Down

2014-08-21 Thread Fidel N
I've never use Leo to read long chunks of text linearly... Exactly, neither did I until I decided to study my public exam within Leo So there are misbehaviors in both implementations. I don't immediately Yes, I also noticed what you mention, but didn't think this had the possibility

Re: [Simple script] Jump exactly one page with Page Down

2014-08-21 Thread Fidel N
Btw, I meant to quote that I did neither notice that behaviour until I had to read so much in Leo. On Thu, Aug 21, 2014 at 9:45 AM, Fidel N fidelpe...@gmail.com wrote: I've never use Leo to read long chunks of text linearly... Exactly, neither did I until I decided to study my public exam

Re: [Simple script] Jump exactly one page with Page Down

2014-08-20 Thread Fidel N
Thanks Brian for your elaborate response. Its true, in general jumps just one page, but if the body pane is a bit bigger / smaller than X full lines (ie total length is, for instance, 12'5 lines), it jumps one line more than desirable, so you have to go back to read it. In the way I use Leo, I

[Simple script] Jump exactly one page with Page Down

2014-08-19 Thread Fidel N
Hi: For those of you reading a lot in Leo it might be uncomfortable to use Page Down/Up since it doesn't exactly jump one page, so you have to check where you were reading each time you use that. This script jumps exactly the number of lines in the text widget. So you can keep reading where you

Re: [Simple script] Jump exactly one page with Page Down

2014-08-19 Thread Fidel N
at 10:48 AM, Edward K. Ream edream...@gmail.com wrote: On Tue, Aug 19, 2014 at 3:36 AM, Fidel N fidelpe...@gmail.com wrote: for number in range(c.frame.body.bodyCtrl.linesPerPage()): c.executeMinibufferCommand(next-line) Excellent. This should be the default binding of the PageDn key

Re: OPI

2014-08-19 Thread Fidel N
Just checked again the link, and the video. Cant wait to have that coded into Leo, seems so useful!! On Tuesday, August 19, 2014 2:22:33 PM UTC+2, Kent Tenney wrote: Sounds like a brilliant direction to me. So many broad-shouldered giants out there ... On Tue, Aug 19, 2014 at 3:53 AM,

Re: Cmments please: proposal to eliminate tab cycling in completions pane

2014-08-18 Thread Fidel N
I never noticed that functionality. Was recently thinking about the minibuffer tho, it would be great to press arrow up and cycle previous commands, which we already have history dict for. Or at least not do what it does, it currently hangs the minibuffer and looks like locked. Well saying this

Re: Help! Messing with UI settings.

2014-08-14 Thread Fidel N
Dufriz is facing the same exact problems with GUI config I had when I joined Leo. I knew very few of programming, nothing of python, and now I know both, because I had the time, loved the concept of Leo, and could devote my time to study both. I also asked for a settings GUI, because IMO, this is

Re: Find-previous fails at last node

2014-08-13 Thread Fidel N
I often experience similar problems, and I also always use the mouse. My feeling is that it doesnt reset the search when the find command is issued throug the GUI, then you hit search next and it still uses the previous search. Many times I get no found when the text clearly is where im searching

Re: Autocompleting dictionaries keys

2014-08-12 Thread Fidel N
Done :) On Tue, Aug 12, 2014 at 4:39 PM, Edward K. Ream edream...@gmail.com wrote: On Mon, Aug 4, 2014 at 2:39 AM, Fidel N fidelpe...@gmail.com wrote: Hi: This is a feature request that I thought could be very nice. Interesting. Please file a wishlist bug. EKR -- You received

Re: Weird autocompleter bug

2014-08-10 Thread Fidel N
The autocompleter works normally for me now. Thanks Edward. On Sat, Aug 9, 2014 at 11:00 PM, Edward K. Ream edream...@gmail.com wrote: On Sat, Aug 9, 2014 at 11:19 AM, Edward K. Ream edream...@gmail.com wrote: So the mystery of my rollback of leoAtFile.py didn't solve the problem is

Re: Aha: vim trainer mode

2014-08-09 Thread Fidel N
I must warn you when you reach level 2, you need to buy a license =( So I checked for a while and would recommend those: Vim casts: http://vimcasts.org/ Learning and memorizing shortcuts: https://www.shortcutfoo.com/app/tutorial/vim More resources here:

Re: Aha: vim trainer mode

2014-08-09 Thread Fidel N
Sorry again, but the shortcutfoo website also asks for money when you reach certain level :( Seems like best solution right now is vim-trainer mode :D -- You received this message because you are subscribed to the Google Groups leo-editor group. To unsubscribe from this group and stop

Re: Weird autocompleter bug

2014-08-08 Thread Fidel N
Thanks for the fix, but I think it doesnt work yet: Doing c. will lead to autocompleter still completing wrong. Options such as p, redraw, etc just dont appear. baseescanner still appears as an option. On Fri, Aug 8, 2014 at 2:39 PM, Edward K. Ream edream...@gmail.com wrote: On Thu, Aug 7,

Re: Weird autocompleter bug

2014-08-08 Thread Fidel N
And when trying to complete c.p. no autocompletion appears, and this error pops up in the log pane: exception executing command Traceback (most recent call last): File D:\leo-editor\leo\core\leoCommands.py, line 539, in doCommand val = command(event) File

Re: Weird autocompleter bug

2014-08-08 Thread Fidel N
edream...@gmail.com wrote: On Fri, Aug 8, 2014 at 8:06 AM, Fidel N fidelpe...@gmail.com wrote: And when trying to complete c.p. no autocompletion appears, and this error pops up in the log pane: Not for me. I suspect this only happens when using the Qt-base auto-completer widget

Weird autocompleter bug

2014-08-07 Thread Fidel N
Hi all: Just realized that when doing c. and checking the autocompleter options it wont offer the usual (p,etc) but offers things like: CScanner basescanner and a few more. Anyone having this issue? -- You received this message because you are subscribed to the Google Groups leo-editor

Re: Weird autocompleter bug

2014-08-07 Thread Fidel N
hehe thx for reporting :D On Thu, Aug 7, 2014 at 4:02 PM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: On Thu, 7 Aug 2014 08:40:50 -0500 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: On Thu, 7 Aug 2014 06:37:07 -0700 (PDT) Fidel N fidelpe

Re: OT

2014-08-05 Thread Fidel N
I loved this, thanks for the link Kent On Monday, August 4, 2014 3:39:03 PM UTC+2, Kent Tenney wrote: http://radar.oreilly.com/2014/08/programming-in-concert-mode.html live coding of music with narration, quite remarkable. Answers the question 'What's all this excitement around

Re: OT

2014-08-05 Thread Fidel N
Edward, first step for that would indeed fix the Leo gui responsiveness bug we talked about: When a script is executing in any open Leo, all the open Leo windows shared from that GUI will be irresponsive, so a command could do nothing since it would make Leo irresponsive, and the user wouldnt be

Re: OT

2014-08-05 Thread Fidel N
This is for further reference and some more information on how we could fix the hang up fix. I was recently 'fighting' against pyqt way of executing code (will stop everything when a new GUI opens to, for instance, ask the user for input) versus Kivy (code goes on running, the programmer

Re: Threading thread

2014-08-05 Thread Fidel N
Wow very insightful. So its actually safer for the user not to be touching the tree while a script runs, since if he changes a position (or does any other change) that can explode in many ways. Thanks for the great explanation Terry. On Tue, Aug 5, 2014 at 6:07 PM, 'Terry Brown' via leo-editor

key logging

2014-08-05 Thread Fidel N
Hi: Im working in a way to make Leo do auto-suggestions depending on your recent actions, and for that im needing some short of key-logging. I got some questions about it: Is there a way to check the recent keys written in Leo? After a long search I found where the recent commands are stored:

Re: key logging

2014-08-05 Thread Fidel N
Awesome! Spent a couple of hours searching and only found the command history. This perfectly solves my needs, big thanks!! Edit: Just checked, doesn't work with the new vim mode, but Im guessing its just too early for that hehe. -- You received this message because you are subscribed to the

Autocompleting dictionaries keys

2014-08-04 Thread Fidel N
Hi: This is a feature request that I thought could be very nice. The idea is that, when using Leo autocomplete, if the user reaches a dictionary, leo could offer autocomplete with its keys. so if we want to reach, for instance, the hooks dictionary, we do: g.app.pluginsController.handlers

Re: custom background color for 'selected/highlighted text'

2014-07-30 Thread Fidel N
-gui-plugin-style-sheet) and changed only selection-background-color. Now I have issue only with the font in the outlines. (The font size is nearly half of the original) Is there another section I should copy? Thanks On Tuesday, July 29, 2014 9:01:15 PM UTC+3, Fidel N wrote: Hi Zoltan

Re: Download link for the latest version

2014-07-30 Thread Fidel N
The latest version is this one: https://github.com/leo-editor/leo-editor Click download zip in the right side of the screen. This is not an exe-installer though. I didnt change my qt installation so dont know about the latest, but according to what I read I would say yes. I would install pyqt

Re: Jedi autocompletion library for python

2014-07-30 Thread Fidel N
just watched some tutorials and I loved it. Thanks for the link. On Wed, Jul 30, 2014 at 4:39 PM, Edward K. Ream edream...@gmail.com wrote: On Wed, Jul 30, 2014 at 9:23 AM, Ville M. Vainio vivai...@gmail.com wrote: Something to evaluate: https://github.com/davidhalter/jedi Thanks for

Re: Jedi autocompletion library for python

2014-07-30 Thread Fidel N
wrote: On Wed, Jul 30, 2014 at 9:42 AM, Fidel N fidelpe...@gmail.com wrote: just watched some tutorials and I loved it. Thanks for the link. Which tutorials did you watch. I must be google-impaired this morning... Edward -- You received this message because you are subscribed

Re: Representing Leo outlines in git

2014-07-29 Thread Fidel N
scripts (its very quick and easy) and I could forget about unl's that way. Well, guess I'll have to put it in my @commands tree :) Thanks Edward. On Tue, Jul 29, 2014 at 12:28 PM, Edward K. Ream edream...@gmail.com wrote: On Thu, Jul 24, 2014 at 8:33 AM, Fidel N fidelpe...@gmail.com wrote

Re: custom background color for 'selected/highlighted text'

2014-07-29 Thread Fidel N
Hi Zoltan: If you are using Qt, could you check if changing the following does the trick? Go to the node: myLeoSettings.leo#@settings--Qt Gui (appearance)--@data qt-gui-plugin-style-sheet Then replace your color in this text: QTextEdit#richTextEdit { background-color: white; /* #fdf5f5;

Re: @url not working?

2014-07-24 Thread Fidel N
Hey: Did you try control + click the headline? On Thu, Jul 24, 2014 at 6:25 AM, Indrajith indrajit...@gmail.com wrote: I am returning to Leo after a very long time. The last time I was using it was in 2008 or so, when it was still developed using Tk. I used to use @url quite a lot, and is

Re: @url not working?

2014-07-24 Thread Fidel N
I think so, the only way a URL can be detected within a string is through the http// in the beginning. The fact is that common URL detection is being used for opening the url's, meaning, the common url detection script doesnt take the advantage of knowing that the node is a @url node to guess

Re: Representing Leo outlines in git

2014-07-24 Thread Fidel N
When you cut an outline, then paste it otherwhere (same or other file), you loose the gnx of every node in that outline. The Paste Node As Clone (paste-retaining-clones) command preserves gnx's, and hence clone links. Edward Shouldn't paste-clone do a paste-retaining-clones by

Re: Standarized file importing, and keeping Leo updated

2014-07-24 Thread Fidel N
Hehe yes, thanks :) On Thu, Jul 24, 2014 at 3:31 PM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: On Thu, 24 Jul 2014 02:31:34 -0700 (PDT) Fidel N fidelpe...@gmail.com wrote: #Replacement of your method: c.frame.tree.treeWidget.urlDrop = urlDrop

  1   2   3   4   >