Changeset 30c5aab for perl/lib/BarnOwl/Completion
- Timestamp:
- Mar 7, 2010, 6:54:59 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- d64f963
- Parents:
- 2d232ed
- git-author:
- David Benjamin <davidben@mit.edu> (02/27/10 22:16:24)
- git-committer:
- David Benjamin <davidben@mit.edu> (03/07/10 18:54:59)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/lib/BarnOwl/Completion/Context.pm
r2d232ed r30c5aab 41 41 use base qw(Class::Accessor::Fast); 42 42 use Carp qw(croak); 43 use BarnOwl::Parse qw(tokenize );43 use BarnOwl::Parse qw(tokenize_with_point); 44 44 45 45 __PACKAGE__->mk_ro_accessors(qw(line point words word word_point … … 54 54 my $point = length ($before_point); 55 55 my ($words, $word, $word_point, 56 $word_start, $word_end) = tokenize ($line, $point);56 $word_start, $word_end) = tokenize_with_point($line, $point); 57 57 push @$words, '' if scalar @$words <= $word; 58 58
Note: See TracChangeset
for help on using the changeset viewer.