Hi all: Im having trouble to keep Leo updated because of this, and wanted to ask if someone can think of a way around.
I like Leo to import any file I drop to it as h = "@url File_or_last_folder_name" // b = "path_to_the_item" Then my scripts will identify the kind of file it is, and offer me options on what to do with it. An imminent approach for this is to be able to import csv mind maps, and more. (The user drops the csv, my Leo dynamic menu will ask if he wants to import as mind map, and the user will have imported a file with 3 clicks, avoiding having to navigate in a file browser launched from Leo to find the file). I am finally making a self-contained well arranged set of classes (a plugin), and at last, it IS pythonic and will be shareable (at last). Anyway, for the standardized file importing, I needed to edit the way Leo imports files, and make Leo import any file dropped to it as "@url" For this, I replaced the following in LeoPyRef.leo: (qtGui.py-->Frame and component classes...-->class LeoQTreeWidget (QTreeWidget)-->Event handlers (LeoQTreeWidget)-->dropEvent & helpers-->urlDrop & helpers) self.doFileUrl with: self.doHttpUrl Is there a way I could still import files that way, without having to touch LeoPyRef? Having that file uncompatible with the main Leo repo keeps me away from making pull requests and such, since whenever I want to suggest something, that line gets in the way. And I cant update Leo quickly because then I have to edit that line again, etc. Thanks! -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.