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 774073 - Buffer corruption when tabbing between function parameters
Buffer corruption when tabbing between function parameters
Status: RESOLVED FIXED
Product: gnome-builder
Classification: Other
Component: editor
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-11-07 18:37 UTC by Nathaniel McCallum
Modified: 2016-11-07 22:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
source-view: make Tab prefer snippet movement before completion (2.55 KB, patch)
2016-11-07 22:56 UTC, Christian Hergert
committed Details | Review

Description Nathaniel McCallum 2016-11-07 18:37:47 UTC
After performing an autocompletion - say, fread() - the highlighting seems to indicate that you can tab between the parameters. But if you do this, the editor buffer gets corrupted and you basically have to delete the whole completion.
Comment 1 Christian Hergert 2016-11-07 22:56:12 UTC
Created attachment 339286 [details] [review]
source-view: make Tab prefer snippet movement before completion

When we are in a snippet, such as those from function parameter completion,
we would much rather prefer to use tab to move to the next snippet location
not complete the (possibly overactive) completion list.

We might need to revisit all of this as we make completion much better
about completing symbols in scope that might work, but this is better
for what we have today.
Comment 2 Christian Hergert 2016-11-07 22:58:07 UTC
Attachment 339286 [details] pushed as 4ba13a0 - source-view: make Tab prefer snippet movement before completion