← Back to team overview

desktop-packages team mailing list archive

[Bug 1335613] Re: Bad interaction between "code snippets" and "autocompletion plugin" in gedit

 

** Changed in: gedit
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/1335613

Title:
  Bad interaction between "code snippets" and "autocompletion plugin" in
  gedit

Status in gedit:
  Fix Released
Status in gedit package in Ubuntu:
  Triaged

Bug description:
  On ubuntu 14.04 64bits (did not occur in 12.04)
  gedit 3.10.4-0ubuntu4
  gedit-plugins 3.10.1-1ubuntu2

  I have activated the completion plugin provided in the
  'Edit>Preference>Plugins' menu.
  When using a code snippet that uses variables to put the same text at various places, autocompleting this text causes a mess in the snippet.

  Example: with the following test snippet

      begin($1) ... end($1)

  suppose I start typing 'wh...' in place of $1 and  'while' is proposed
  by the autocompletion plugin, then if I press enter, I get something
  like

     begin(whwhilewhwhile)

  instead of

     begin(while) ... end(while)

  Moreover pressing ctrl+z to cancel yiels even messier results.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/1335613/+subscriptions