← Back to team overview

desktop-packages team mailing list archive

[Bug 874134] Re: snippets delete selected text with non-ascii characters

 

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: gedit (Ubuntu)
       Status: New => Confirmed

-- 
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/874134

Title:
  snippets delete selected text with non-ascii characters

Status in “gedit” package in Ubuntu:
  Confirmed

Bug description:
  $GEDIT_SELECTED_TEXT variable used in snippets does not work correctly for non-ascii characters.
  For example, the standard LaTeX macro:

  {\\${1:bf} $GEDIT_SELECTED_TEXT}

  works correctly for 'alpha' text, giving:
  {\bf alpha}

  but for any utf-8 sequence, like 'głąb' deletes the selected text, producing
  {\bf }

  if gedit is run from the terminal, the following message appears:
  Token class not supported: environment

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: gedit 3.2.0-0ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic-pae 3.0.4
  Uname: Linux 3.0.0-12-generic-pae i686
  ApportVersion: 1.23-0ubuntu3
  Architecture: i386
  Date: Fri Oct 14 14:06:58 2011
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
  SourcePackage: gedit
  UpgradeStatus: Upgraded to oneiric on 2011-10-13 (0 days ago)

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


References