Public bug reported:

$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)

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


** Tags: apport-bug i386 oneiric running-unity

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

Title:
  snippets delete selected text with non-ascii characters

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to