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 615220 - Inserting nested snippets doesn't work
Inserting nested snippets doesn't work
Status: RESOLVED FIXED
Product: gedit
Classification: Applications
Component: snippets
2.30.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2010-04-08 20:14 UTC by Amit Mendapara
Modified: 2014-04-13 12:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[snippets] Block cursor-moved handler while inserting snippet (1.68 KB, patch)
2014-04-12 16:43 UTC, jessevdk@gmail.com
committed Details | Review

Description Amit Mendapara 2010-04-08 20:14:44 UTC
When I try to insert a snippet inside another before completing the tab cycle the nested snippet doesn't work.

Here is a snippet for SPAN tag (HTML)
 
<span ${1}>$2</span>$0
 
and for INPUT tag
 
<input type="${1:text}" id="${2:some_id}" name="${2}" value="$4"/>$0

Now when I insert span and then inside the span if I insert input it doesn't work. It was working perfect with gedit 2.28.
Comment 1 jessevdk@gmail.com 2014-04-12 16:43:00 UTC
Created attachment 274171 [details] [review]
[snippets] Block cursor-moved handler while inserting snippet
Comment 2 jessevdk@gmail.com 2014-04-13 12:19:31 UTC
Attachment 274171 [details] pushed as 3664571 - [snippets] Block cursor-moved handler while inserting snippet