Move is_basic_alpha to unicode.hh
This commit is contained in:
parent
111732005a
commit
1bf0a964ce
|
@ -1073,11 +1073,6 @@ void select_to_next_char(Context& context, NormalParams params)
|
|||
}, "select to next char","enter char to select to");
|
||||
}
|
||||
|
||||
static bool is_basic_alpha(Codepoint c)
|
||||
{
|
||||
return (c >= 'a' and c <= 'z') or (c >= 'A' and c <= 'Z');
|
||||
}
|
||||
|
||||
void start_or_end_macro_recording(Context& context, NormalParams params)
|
||||
{
|
||||
if (context.input_handler().is_recording())
|
||||
|
|
|
@ -42,6 +42,11 @@ inline bool is_punctuation(Codepoint c)
|
|||
return not (is_word(c) or is_horizontal_blank(c) or is_eol(c));
|
||||
}
|
||||
|
||||
inline bool is_basic_alpha(Codepoint c)
|
||||
{
|
||||
return (c >= 'a' and c <= 'z') or (c >= 'A' and c <= 'Z');
|
||||
}
|
||||
|
||||
enum class CharCategories
|
||||
{
|
||||
Blank,
|
||||
|
|
Loading…
Reference in New Issue
Block a user