improve frontend of emacs, ckeditor, tinymce, nicedit, meta and env functions
Improves in emacs: - use htmx to send content to the controller - show txt and formatted_txt content in the second panel - show two tabs if "tabs" winix parameter is used - add an option to show either one or two panels - correctly resize the editor window (F11) when two panels are shown Improves in ckeditor: - use htmx to send content to the controller - do not check automatically for ckeditor update Improves in tinymce/nicedit/meta/env: - use htmx to send content to the controller while here: - change PascalCase to snake_case in meta/env controllers - update CodeMirror editor to 5.65.16 - udpate Showdown (markdown to html converter) to 2.1.0
This commit is contained in:
@@ -185,6 +185,21 @@ public:
|
||||
virtual std::wstring prepare_doc_url(const wchar_t * local_url = nullptr);
|
||||
virtual std::wstring prepare_doc_url(const std::wstring & local_url);
|
||||
|
||||
virtual void prepare_current_dir(const wchar_t * local_url, pt::WTextStream & url);
|
||||
virtual void prepare_current_dir(const wchar_t * local_url, std::wstring & url);
|
||||
virtual std::wstring prepare_current_dir(const wchar_t * local_url = nullptr);
|
||||
virtual std::wstring prepare_current_dir(const std::wstring & local_url);
|
||||
|
||||
virtual void prepare_current_item(const wchar_t * local_url, pt::WTextStream & url);
|
||||
virtual void prepare_current_item(const wchar_t * local_url, std::wstring & url);
|
||||
virtual std::wstring prepare_current_item(const wchar_t * local_url);
|
||||
virtual std::wstring prepare_current_item(const std::wstring & local_url);
|
||||
|
||||
virtual void prepare_current_function(const wchar_t * local_url, pt::WTextStream & url);
|
||||
virtual void prepare_current_function(const wchar_t * local_url, std::wstring & url);
|
||||
virtual std::wstring prepare_current_function(const wchar_t * local_url);
|
||||
virtual std::wstring prepare_current_function(const std::wstring & local_url);
|
||||
|
||||
virtual void redirect_to(const wchar_t * url, bool append_domain = true);
|
||||
virtual void redirect_to(const std::wstring & url, bool append_domain = true);
|
||||
virtual void redirect_to(const pt::WTextStream & url, bool append_domain = true);
|
||||
@@ -211,6 +226,16 @@ public:
|
||||
|
||||
virtual void close_modal_dialogs();
|
||||
|
||||
virtual void push_url_to_current_dir(const wchar_t * local_url = nullptr);
|
||||
virtual void push_url_to_current_item(const wchar_t * local_url = nullptr);
|
||||
virtual void push_url_to_current_function(const wchar_t * local_url = nullptr);
|
||||
|
||||
virtual void redirect_to_current_dir();
|
||||
virtual void redirect_to_current_item();
|
||||
virtual void redirect_to_current_function();
|
||||
|
||||
virtual void redirect_if_needed(bool was_url_changed = false);
|
||||
|
||||
|
||||
/*
|
||||
* DEPRECATED
|
||||
|
||||
Reference in New Issue
Block a user