1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
|
Description: correct some small errors in pod, including version
number, str->file as doFile parameter, and spelling.
Index: libsyntax-highlight-engine-simple-languages-perl/src/Syntax-Highlight-Engine-Simple-Perl-0.02/lib/Syntax/Highlight/Engine/Simple/Perl.pm
===================================================================
--- libsyntax-highlight-engine-simple-languages-perl.orig/src/Syntax-Highlight-Engine-Simple-Perl-0.02/lib/Syntax/Highlight/Engine/Simple/Perl.pm 2009-06-06 08:50:58.000000000 -0300
+++ libsyntax-highlight-engine-simple-languages-perl/src/Syntax-Highlight-Engine-Simple-Perl-0.02/lib/Syntax/Highlight/Engine/Simple/Perl.pm 2009-06-06 09:03:16.000000000 -0300
@@ -333,11 +333,11 @@
=head1 VERSION
-This document describes Syntax::Highlight::Engine::Simple::Perl version 0.0.1
+This document describes Syntax::Highlight::Engine::Simple::Perl version 0.2
=head1 SYNOPSIS
-Constractor
+Constructor
use Syntax::Highlight::Engine::Simple::Perl;
@@ -358,13 +358,13 @@
tab_width => 4);
$highlighter->doFile(
- str => $str,
+ file => $name,
tab_width => 4,
encode => 'utf8');
=head1 DESCRIPTION
-This is a sub class of Syntax::Highlight::Engine::Simple.
+This is a subclass of Syntax::Highlight::Engine::Simple.
A working example of This module is at bellow.
@@ -378,7 +378,7 @@
=item type
-File type. This argument causes specific sub class to be loaded.
+File type. This argument causes specific subclass to be loaded.
=back
@@ -388,7 +388,7 @@
=item html_escape_code_ref
-HTML escape code ref. Default subroutine escapes 3 charactors '&', '<' and '>'.
+HTML escape code ref. Default subroutine escapes 3 characters '&', '<' and '>'.
=back
@@ -425,7 +425,7 @@
=item tab_width
-Tab width for tab-space conversion. -1 for disable it. -1 is the defult.
+Tab width for tab-space conversion. -1 for disable it. -1 is the default.
=back
@@ -434,7 +434,7 @@
Highlighting files.
$highlighter->doStr(
- str => $str,
+ file => $name,
tab_width => 4,
encode => 'utf8'
);
@@ -447,7 +447,7 @@
=item tab_width
-Tab width for tab-space conversion. -1 for disable it. -1 is the defult.
+Tab width for tab-space conversion. -1 for disable it. -1 is the default.
=item encode
@@ -473,7 +473,7 @@
=head2 setSyntax
-This is a method for initializing the syntax. It is called by constractor so
+This is a method for initializing the syntax. It is called by the constructor so
you may not have to call it manually.
=head2 getKeywords
@@ -518,7 +518,7 @@
=head1 CONFIGURATION AND ENVIRONMENT
-Syntax::Highlight::Engine::Simple::Perl requires no configuration files or environment variables. Specific language syntax can be defined with sub classes and loaded in constractor if you give it the type argument.
+Syntax::Highlight::Engine::Simple::Perl requires no configuration files or environment variables. Specific language syntax can be defined with subclasses and loaded in the constructor if you give it the type argument.
=head1 DEPENDENCIES
|