A Bug in Leo editor 5.0 about dabbrev-expand

18 views
Skip to first unread message

翅膀

unread,
Dec 30, 2014, 8:33:22 PM12/30/14
to leo-e...@googlegroups.com
*
editor panel text

main
m
 
*  press  alt + /

minibuffer show :

dabbrev-expand: main

* press enter

        editor panel text
       
        main
        m

I check some codes  ::

            def getLabel (self,ignorePrompt=False):

        k = self ; w = self.w
        if not w: return ''

        s = w.getAllText()

        if ignorePrompt:
            return s[len(k.mb_prefix):]
        else:
            return s or ''

the k.mb_prefix value is "dabbrev-expand: main".

         

Edward K. Ream

unread,
Dec 31, 2014, 10:09:58 AM12/31/14
to leo-editor
On Tue, Dec 30, 2014 at 8:33 PM, 翅膀 <wzy...@gmail.com> wrote:
*
editor panel text

main
m
 
*  press  alt + /

minibuffer show :

dabbrev-expand: main

* press enter

        editor panel text
       
        main
        m

​Thanks for this report.  I'll fix it asap.

Edward
Reply all
Reply to author
Forward
0 new messages