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 774998 - Text insertion at wrong position while expanding snippets
Text insertion at wrong position while expanding snippets
Status: RESOLVED OBSOLETE
Product: gnome-builder
Classification: Other
Component: editor
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-11-24 11:19 UTC by alsoijw
Modified: 2018-01-11 10:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description alsoijw 2016-11-24 11:19:59 UTC
I create new class. After I type "pub" and press Tab I don't get "public" but IDE insert "public" in text above and delete close bracket on next line. If I write something and press backspace IDE does'n remove this word but cursor moves on next line. I record small video
https://drive.google.com/file/d/0BziQCLYZMd2jajFGYzRwT1VQR0k/view
Comment 1 Christian Hergert 2016-11-29 21:58:40 UTC
So the problem here is caused by the snippet engine. While that "blue background rectangle" is drawn behind the snippet area, we try very hard to ensure that we capture input to the current "snippet tab-stop". That has some unfortunate side-effects today that are very difficult to fix correctly with GtkTextView.

There are two workarounds I can think of:

 1) Hit Escape to exit snippet expansion mode.
 2) Use Tab to move to the next tab-stop (which should be the end, and land you in a position to extend the class).
Comment 2 GNOME Infrastructure Team 2018-01-11 10:13:15 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-builder/issues/156.