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
