dabbrev should use QCompleter

Bug #1141122 reported by tbnorth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
leo-editor
Confirmed
Wishlist
Edward K. Ream

Bug Description

dabbrev should use QCompleter if c.config.getBool('use_qcompleter'), not the tab completer, which requires more typing and doesn't allow completion selection using cursor keys.

doing

  w = self.c.frame.body.bodyCtrl.widget
  qcompleter = w.init_completer(aList)

instead of

  self.dynamicExpandHelper(event,prefix,aList,w)

in LeoPyRef.leo#Code-->Core classes-->@file leoEditCommands.py-->abbrevCommandsClass-->dynamic abbreviation...-->dynamicExpansion M-/

is almost enough, the completer is posted and works with cursor keys, but typing additional letters doesn't refine the completion.

Changed in leo-editor:
status: New → Confirmed
assignee: nobody → Edward K. Ream (edreamleo)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.