Nana C++ Library. Reference for users.
What we need to use nana
|
Public Types | |
using | char_type = CharT |
using | string_type = std::basic_string< CharT > |
using | size_type = typename string_type::size_type |
using | path_type = std::filesystem::path |
Public Member Functions | |
textbase () | |
void | set_event_agent (textbase_event_agent_interface *evt) |
bool | empty () const |
bool | load (const path_type &file) |
bool | load (const path_type &file, nana::unicode encoding) |
void | store (const path_type &filename, bool is_unicode,::nana::unicode encoding) const |
void | text_changed () |
size_type | lines () const |
const string_type & | getline (size_type pos) const |
std::pair< size_t, size_t > | max_line () const |
void | replace (size_type pos, string_type &&text) |
void | insert (upoint pos, string_type &&str) |
void | insertln (size_type pos, string_type &&str) |
void | erase (size_type line, size_type pos, size_type count) |
bool | erase (size_type pos, std::size_t n) |
void | erase_all () |
void | merge (size_type pos) |
const path_type & | filename () const |
bool | edited () const |
void | reset_status (bool remain_saved_filename) |
bool | saved () const |
Static Public Member Functions | |
static void | byte_order_translate_2bytes (std::string &str) |
static void | byte_order_translate_4bytes (std::string &str) |
Additional Inherited Members | |
Protected Member Functions inherited from nana::noncopyable | |
noncopyable ()=default | |
using nana::widgets::skeletons::textbase< CharT >::char_type = CharT |
using nana::widgets::skeletons::textbase< CharT >::path_type = std::filesystem::path |
using nana::widgets::skeletons::textbase< CharT >::size_type = typename string_type::size_type |
using nana::widgets::skeletons::textbase< CharT >::string_type = std::basic_string<CharT> |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |