File: spelling.patch

package info (click to toggle)
libtickit-widgets-perl 0.29-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 632 kB
  • sloc: perl: 5,701; makefile: 4
file content (74 lines) | stat: -rw-r--r-- 2,818 bytes parent folder | download
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
Description: fix some spelling mistakes in the POD
Origin: vendor
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2018-07-30
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=125960
Bug: https://rt.cpan.org/Ticket/Display.html?id=125960

--- a/lib/Tickit/Style.pm
+++ b/lib/Tickit/Style.pm
@@ -115,9 +115,9 @@
    key3: true;
  }
 
-While it is more traditional for keys in stylesheet files to contain hypens
+While it is more traditional for keys in stylesheet files to contain hyphens
 (C<->), it is more convenient in Perl code to use underscores (C<_>) instead.
-The parser will convert hypens in key names into underscores.
+The parser will convert hyphens in key names into underscores.
 
 As well as giving visual styling information, stylesheets can also associate
 behavioural actions with keypresses. These are given by a keypress key name in
--- a/lib/Tickit/Style/Parser.pm
+++ b/lib/Tickit/Style/Parser.pm
@@ -13,7 +13,7 @@
 
 use Struct::Dumb;
 
-# Identifiers can include hypens
+# Identifiers can include hyphens
 use constant pattern_ident => qr/[A-Z0-9_-]+/i;
 
 # Allow #-style line comments
--- a/lib/Tickit/Widget.pm
+++ b/lib/Tickit/Widget.pm
@@ -309,7 +309,7 @@
 A shortcut to calling C<get_style_values> to collect up the pen attributes,
 and form a L<Tickit::Pen::Immutable> object from them. If C<$prefix> is
 supplied, it will be prefixed on the pen attribute names with an underscore
-(which would be read from the stylesheet file as a hypen). Note that the
+(which would be read from the stylesheet file as a hyphen). Note that the
 returned pen instance is immutable, and may be cached.
 
 =cut
@@ -938,7 +938,7 @@
 =head2 A Trivial "Hello, World" Widget
 
 The following is about the smallest possible C<Tickit::Widget> implementation,
-containing the bare minimum of functionallity. It displays the fixed string
+containing the bare minimum of functionality. It displays the fixed string
 "Hello, world" at the top left corner of its window.
 
  package HelloWorldWidget;
--- a/lib/Tickit/Widget/Button.pm
+++ b/lib/Tickit/Widget/Button.pm
@@ -218,7 +218,7 @@
 =head2 $button->click
 
 Behave as if the button has been clicked; running its C<on_click> handler.
-This is provided for convenience of activating its handler programatically via
+This is provided for convenience of activating its handler programmatically via
 other parts of code.
 
 =cut
--- a/lib/Tickit/Widget/Entry.pm
+++ b/lib/Tickit/Widget/Entry.pm
@@ -578,7 +578,7 @@
 
 Replace the text in the entry box. This completely redraws the widget's
 window. It is largely provided for initialisation; for normal edits (such as
-from keybindings), it is preferrable to use C<text_insert>, C<text_delete> or
+from keybindings), it is preferable to use C<text_insert>, C<text_delete> or
 C<text_splice>.
 
 =cut