After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 648944 - gedit Word Completion Plugin: should display the word currently typed
gedit Word Completion Plugin: should display the word currently typed
Status: RESOLVED WONTFIX
Product: gedit-plugins
Classification: Other
Component: General
3.0.x
Other Linux
: Normal enhancement
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2011-04-29 14:42 UTC by Mildred
Modified: 2019-03-23 20:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mildred 2011-04-29 14:42:26 UTC
The word completion is wonderful, except that sometimes it gets in the way.

For example, if I type the following code:

    def select_line_ending
      case platform
        when windows
          ending = CRLF
        else
          ending = LF
      end
    end⏎

When I type ENTER after the second "end" keyword, I get the following code:

    def select_line_ending
      ...
    ending

But that was not at all what I wanted. I just wanted to get a new line, and leave the legitimate "end" keyword there.

In fact, when I type "en" I get the completion for "end" and "ending"
When I type 'd', I loose the completion for "end" and get only "ending"
So when I type ENTER, I get "ending" on the screen

I would like the behavior to be changed so that when the current word is on the completion list, it stays, even if there is no more characters to complete.
Comment 1 Sébastien Wilmet 2013-06-08 18:13:29 UTC
As you said on bug #648946, there is a better way to fix this problem.

When we want to complete a word, if we always have the currently typed word as the first proposal, we must use the arrows keys (or other shortcuts) to select another proposal. So it would not be convenient for the majority of cases.