aki2o / emacs-plsense

Provide omni completion for Perl.
29 stars 4 forks source link

Documentation is not displayed more than one time #10

Open ghost opened 8 years ago

ghost commented 8 years ago

If the auto-complete pops up and the documentation for the symbol is shown everything works fine. But if I move to another off of the symbol the "w" disappears and the documentation will not be shown again if I move again on it.

I traced the source of this issue to this line (l. 753)

        (set-text-properties 0 (string-width selected) nil selected) 

If commented out everything is working okay. I am not quite sure why this line is needed.

aki2o commented 8 years ago

Hi, @fallchildren Thanks for your advice. I forgot the reason... Let's see how it goes tentatively.