Skip to content

Commit

Permalink
Add TODO about ANSI sequences.
Browse files Browse the repository at this point in the history
  • Loading branch information
michal-josef-spacek committed Apr 16, 2014
1 parent eb62ea1 commit e8d25f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Indent/Word.pm
Expand Up @@ -79,6 +79,7 @@ sub indent {
$last_second_length = $self->_length($second);

# Parse to indent length.
# TODO fix algorithm with ANSI sequences.
($first, my $tmp) = $second
=~ /^(.{0,$self->{'line_size'}})\s+(.*)$/msx;

Expand Down
3 changes: 2 additions & 1 deletion TODO
Expand Up @@ -19,7 +19,8 @@ TODO
pripadne, ze mam 'use Module qw(' pak promenlivou delku a na konci ');'
50. Test pro regexp jako hodnota.
51. Sjednotit testy do souboru podle metod.
52.
52. Opravit Indent::Word regexp pro ANSI sequence.
53.

Applied
=======
Expand Down

0 comments on commit e8d25f1

Please sign in to comment.