Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#17 last char of script not displayed

Devel-ptkdb-1.1x
closed
nobody
5
2007-12-29
2007-11-02
Anonymous
No

for those users that use a non-windows editor to develop scripts (e.g. xemacs or vim), the last char of each script line is removed from the script text widget:

in set_file function the "\r" char is removed with no verification if it is really a "\r" (last char before "\n" is removed, may be something other than "\r")
if line 2788:
_____________________
substr $lineStr, -2, 1, '' if $isWin32 ;
_____________________
is replaced by:
_____________________
substr $lineStr, -2, 1, '' if(substr($lineStr,-2,1) eq "\r");#if $isWin32 ;
_____________________
it will be OK
thanks to verify

Discussion

  • Logged In: YES
    user_id=317337
    Originator: NO

    Fixed in CVS already

     
    • status: open --> closed