- Subject: Re: [Jed-users-l] edt_chgcase() broken?
- From: Ulli Horlacher <framstag@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 14 Dec 2011 19:21:35 +0100
On Wed 2011-12-14 (19:05), Ulli Horlacher wrote:
> After upgrading from jed 0.99-18 to 0.99-19 the function edt_chgcase()
> (from edt.sl) is no longer working: it should change the case of the
> current character or region, but it does nothing.
I did some more testing:
edt_chgcase() works if there is at least one uppercase character in the
region! WEIRD!
Tracing it down... the problem is in function xform_region():
The manual says:
USAGE
Void xform_region (Integer how)
DESCRIPTION
This function changes the characters in the region in a way specified
by the parameter `how'. This is an integer that can be any of of the
following:
'u' Upcase_region
'd' Downcase_region
'c' Capitalize region
Anything else will change case of region.
But xform_region('x') only works if the region contains at least one
uppercase character.
--
Ullrich Horlacher Server- und Arbeitsplatzsysteme
Rechenzentrum E-Mail: horlacher@xxxxxxxxxxxxxxxxxxxx
Universitaet Stuttgart Tel: ++49-711-685-65868
Allmandring 30 Fax: ++49-711-682357
70550 Stuttgart (Germany) WWW: http://www.rus.uni-stuttgart.de/
REF: <20111214180507.GA31687@xxxxxxxxxxxxxxxxxxxx>
_______________________________________________
Jed-users-l mailing list
Jed-users-l@xxxxxxxx
http://mailman.jtan.com/mailman/listinfo/jed-users-l
[2011 date index]
[2011 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]