refactor functions
This commit is contained in:
@@ -49,7 +49,7 @@ namespace nana
|
||||
unsigned level;
|
||||
};
|
||||
|
||||
void linestr(const char_type*, std::size_t len, std::vector<entity> & reordered);
|
||||
std::vector<entity> reorder(const char_type*, std::size_t len);
|
||||
private:
|
||||
static unsigned _m_paragraph_level(const char_type * begin, const char_type * end);
|
||||
|
||||
@@ -65,13 +65,12 @@ namespace nana
|
||||
void _m_reordering_resolved_levels(std::vector<entity> & reordered);
|
||||
static bidi_category _m_bidi_category(bidi_char);
|
||||
static bidi_char _m_char_dir(char_type);
|
||||
private:
|
||||
void _m_output_levels() const;
|
||||
void _m_output_bidi_char() const;
|
||||
private:
|
||||
std::vector<entity> levels_;
|
||||
};
|
||||
|
||||
std::vector<unicode_bidi::entity> unicode_reorder(const wchar_t* text, std::size_t length);
|
||||
|
||||
}
|
||||
#include <nana/pop_ignore_diagnostic>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user