Peter, in case you need @url nodes with paths to the files you are dropping, I found a workaround that actually is pretty useful for me, since it makes any dropped file into @url node, and then I can modify given url at my convenience. The main advantage of this is that you can use a "standarized" way of importing files or folders into Leo, and then use scripts to transform them into what you want, instead of having to guess how the file will be imported into Leo and making a specific script for each of the @directive given to the diferent kind of files/folders.
If you want this mod you have to go here: LeoPyRef.leo#Code-->Qt gui-->@file ../plugins/qtGui.py--> << define text widget classes >>--> << define leoQtBaseTextWidget class >>--> Birth-->ctor (leoQtBaseTextWidget)--><< define mouseReleaseEvent >> (leoQtBaseTextWidget) Then replace: self.doFileUrl with: self.doHttpUrl -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
