Edward K. Ream
Edward K. Ream
On Sun, Nov 15, 2020 at 9:21 AM sprajagopal wrote: > First of all, amazing project. I love the concepts and I really wish to > use it. > Thanks...
@tbpassin Thanks for these remarks. Stylesheets are difficult to debug because to my knowledge there are no Qt tools similar to browser debug windows.
@tbpassin There is already a (far-from-obvious) way to do this: FastRead().readFileFromClipboard(s) where s is an xml string. Does this suffice for your purpose?
I'm not completely sure that readFileFromClipboard is what is needed, but s must contain the contents of the .leo file. See fc.getLeoFile for an example of using FastRead.readFile. Note the...
@tbpassin Call c.setChanged(True) to ensure Leo will warn when closing the outline. **BIG OOPS**: the code above does not read any external files, nor does it call at.rememberReadPath for any...
@tbpassin I won't approve code with this kind of hack. p0.setDirty() and c.setChanged(True) should work.
@tbpassin I'm not sure about external files. This is turning out to be tricky.
@tbpassin I am tempted to remove the 6.6 milestone, but I won't pull the plug just yet :-)
@tbpassin OK. I'll remove the milestone. I may jump in and see what I can do...
@vitalije First, it is *never* too late to change code :-) Classes are python's way of sharing common, *related* code. I see nothing wrong or dubious about the Cython importer....