hi, I'm starting to play with autocompletions. I'm using the development
version (dowloaded around 20 days ago).

The first inconsistency I've found between what the docs say, and the real
keystrokes needed to get @language python autocompletion is:

* the docs say that if you type a dot, autocompletion activates opening the
objects correlated to the object that precedes the dot; if no object
precedes the dot, you get a list of available modules.

* if in a node which has no text in its head, I type @language python, then
if I type g. nothing appears; however if I type ctrl space (which it
ocurred to me based in pgadmin3's keystrokes to autocomplete, just trial
and error on my part, since tab did not do nothing special), then I get a
list of autocompletions. That's fine.

* I'd make the autocompletion window taller, since where there are dozens
of options, browsing a 7-line window gets hard. I plan to hack it myself.

* if in an empty line I type a dot, nothing appears.  If I type ctrl space,
I get this exception:

exception executing command
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/leo/core/leoCommands.py", line
560, in doCommand
    val = command(event)
  File "/usr/lib/python2.7/site-packages/leo/core/leoKeys.py", line 165, in
autoCompleteForce
    return self.autoComplete(event,force=True)
  File "/usr/lib/python2.7/site-packages/leo/core/leoKeys.py", line 157, in
autoComplete
    self.start(event)
  File "/usr/lib/python2.7/site-packages/leo/core/leoKeys.py", line 992, in
start
    self.init_qcompleter(event)
  File "/usr/lib/python2.7/site-packages/leo/core/leoKeys.py", line 837, in
init_qcompleter
    self.exit()
  File "/usr/lib/python2.7/site-packages/leo/core/leoKeys.py", line 251, in
exit
    self.qw.end_completer()
  File "/usr/lib/python2.7/site-packages/leo/plugins/qtGui.py", line 350,
in end_completer
    self.leo_qc.end_completer()
  File "/usr/lib/python2.7/site-packages/leo/plugins/qtGui.py", line 157,
in end_completer
    self.deleteLater()
RuntimeError: wrapped C/C++ object of type LeoQListWidget has been deleted


any hint is welcome

best,

Haroldo

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to