aBothe / Mono-D

D Add-In for MonoDevelop
http://wiki.dlang.org/Mono-D
Other
113 stars 26 forks source link

line break inserted when accepting completion list item #563

Open extrawurst opened 9 years ago

extrawurst commented 9 years ago

when typing the whole name of an item and pressing return to still accept it from the completion list just to get rid of the completion list a line-break is inserted:

md01

... then pressing return:

md02

Orvid commented 9 years ago

So, in the case where a user has already typed the entire word, Mono-D needs to be consuming the keystroke rather than passing it on.

extrawurst commented 9 years ago

i would think it should simply do the exact same thing that it does when accepting another entry in the completion list (which also does not insert a newline).