Public bug reported:

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 I you press enter I get something
like

   begin(whwhilewhwhile)

instead of

   begin(while) ... end(while)

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

** Affects: gedit (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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” package in Ubuntu:
  New

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 I you press enter I get something
  like

     begin(whwhilewhwhile)

  instead of

     begin(while) ... end(while)

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

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to