[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] BBEdit bugs seen by others ?



while I'm currently using BBEdit 5.1.1, these bugs have been around for
several years. To be fair, I only reported them once, but I'm wondering
whether it's something about my source files that brings out these bugs, or
whether other people see them.

These problems are not related to syntax errors - they occur with files
which successfully run under MacPerl with both '-w' & 'use strict' in
effect.

These bugs are not rare occurences - for example I can see several, even
dozens, of instances of (2) per day.


1) the syntax colouring can get confused. Now one can't blame BBEdit too
much for this because perl does not have a formal grammar, still it's
annoying when the miscolouring extends over dozens, even hundreds of lines.
What's more sometimes adding and removing a space character fixes the
colouring!

Here's one example of a line causing this problem:
        $last =~ tr/\[\{A-I/001-9/;


2) The results of a Find All will sometimes mis-display in the search
   result window. Suppose the search was on 'fred'. You expect each line
   in the result window to have 'fred' in it, but sometimes BBEdit
   gets confused which line it should display - in fact sometimes it
   loses line breaks, so that a single line appearing in the search
   result window actually is two lines in the file.

HERE'S AN EXAMPLE taken from a Save As of the search result window
the search was on 'substr'.
UQ_GL_Read.pm, line 1372: PLE_SALARY{$name}{$staff_code}{"name"});
            my      $proj = substr $
UQ_GL_Read.pm, line 1373: ecp->{"dept_ref"}, 0, 6;
            my $item_type = substr $recp->{
UQ_GL_Read.pm, line 1374: batch_code"}, 0, 2;
            my   $digits3 = substr $recp->{"uq_gl_code"}, 9, 3;
            if (not exists $UQ_SALARY_GL_MA
UQ_GL_Read.pm, line 1405:                substr($recp->{"dept_ref"}, 6, 4)
= $gl;

HERE'S lines 1372-4 from the file (eliding some leading whitespace
1372:  my $role = $PEOPLE_SALARY{$name}{$staff_code}{"proj"}{$proj};
1373:  if (not exists $UQ_SALARY_GL_MAP{$digits3}{$role}) {
1374:      printf "GL type of '%s' shouldn't be used for '%s' role of '%s';
line %d\n",...

take note that 'my      $proj = substr $' is actually on line 1358


3) the list under the function pop-up is often truncated. In some
   cases files with dozens of functions have an empty pop-up list!


cheers,
Danny Thomas



# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org