Fix typos in info-box: availabe, encodngs, highglighters…

This commit is contained in:
Delapouite 2017-05-27 22:37:25 +02:00
parent 55d1d1020d
commit c9c868d4de
2 changed files with 6 additions and 6 deletions

View File

@ -1881,7 +1881,7 @@ const CommandDesc on_key_cmd = {
"on-key",
nullptr,
"on-key <command>: wait for next user key then and execute <command>, "
"with key availabe in the `key` value",
"with key available in the `key` value",
ParameterDesc{ {}, ParameterDesc::Flags::None, 1, 1 },
CommandFlags::None,
CommandHelper{},

View File

@ -48,7 +48,7 @@ void highlight_range(DisplayBuffer& display_buffer,
BufferCoord begin, BufferCoord end,
bool skip_replaced, T func)
{
// tolerate begin > end as that can be triggered by wrong encodngs
// tolerate begin > end as that can be triggered by wrong encodings
if (begin >= end or end <= display_buffer.range().begin
or begin >= display_buffer.range().end)
return;
@ -87,7 +87,7 @@ template<typename T>
void replace_range(DisplayBuffer& display_buffer,
BufferCoord begin, BufferCoord end, T func)
{
// tolerate begin > end as that can be triggered by wrong encodngs
// tolerate begin > end as that can be triggered by wrong encodings
if (begin >= end or end <= display_buffer.range().begin
or begin >= display_buffer.range().end)
return;
@ -2001,7 +2001,7 @@ void register_highlighters()
"ref",
{ create_reference_highlighter,
"Parameters: [-passes <passes>] <path>\n"
"Reference the highlighter at <path> in shared highglighters\n"
"Reference the highlighter at <path> in shared highlighters\n"
"<passes> is a flags(colorize|move|wrap) defaulting to colorize\n"
"which specify what kind of highlighters can be referenced" } });
registry.insert({