EHTMLEditorView

EHTMLEditorView

Functions

EHTMLEditorView * e_html_editor_view_new ()
EHTMLEditorSelection * e_html_editor_view_get_selection ()
gboolean e_html_editor_view_exec_command ()
gboolean e_html_editor_view_get_changed ()
void e_html_editor_view_set_changed ()
gboolean e_html_editor_view_get_html_mode ()
void e_html_editor_view_set_html_mode ()
void e_html_editor_view_save_history_for_drop ()
gboolean e_html_editor_view_get_inline_spelling ()
void e_html_editor_view_set_inline_spelling ()
gboolean e_html_editor_view_get_magic_links ()
void e_html_editor_view_set_magic_links ()
void e_html_editor_view_insert_smiley ()
gboolean e_html_editor_view_get_magic_smileys ()
void e_html_editor_view_set_magic_smileys ()
gboolean e_html_editor_view_get_unicode_smileys ()
void e_html_editor_view_set_unicode_smileys ()
ESpellChecker * e_html_editor_view_get_spell_checker ()
gchar * e_html_editor_view_get_text_html ()
gchar * e_html_editor_view_get_text_html_for_drafts_with_images ()
gchar * e_html_editor_view_get_text_html_for_drafts ()
gchar * e_html_editor_view_get_body_text_html_for_drafts ()
gchar * e_html_editor_view_get_text_plain ()
void e_html_editor_view_convert_and_insert_plain_text ()
void e_html_editor_view_convert_and_insert_html_to_plain_text ()
void e_html_editor_view_convert_element_from_html_to_plain_text ()
void e_html_editor_view_set_text_html ()
void e_html_editor_view_set_text_plain ()
void e_html_editor_view_paste_as_text ()
void e_html_editor_view_paste_clipboard_quoted ()
void e_html_editor_view_embed_styles ()
void e_html_editor_view_remove_embed_styles ()
void e_html_editor_view_update_fonts ()
void e_html_editor_view_check_magic_links ()
WebKitDOMElement * e_html_editor_view_quote_plain_text_element ()
WebKitDOMElement * e_html_editor_view_quote_plain_text ()
void e_html_editor_view_dequote_plain_text ()
void e_html_editor_view_turn_spell_check_off ()
void e_html_editor_view_force_spell_check_for_current_paragraph ()
void e_html_editor_view_force_spell_check ()
void e_html_editor_view_force_spell_check_in_viewport ()
void e_html_editor_view_quote_plain_text_element_after_wrapping ()
void e_html_editor_view_add_inline_image_from_mime_part ()
void remove_image_attributes_from_element ()
gboolean e_html_editor_view_is_message_from_draft ()
void e_html_editor_view_set_is_editting_message ()
void e_html_editor_view_set_is_message_from_draft ()
void e_html_editor_view_set_is_message_from_selection ()
gboolean e_html_editor_view_is_message_from_edit_as_new ()
void e_html_editor_view_set_is_message_from_edit_as_new ()
gboolean e_html_editor_view_content_is_new_message ()
void e_html_editor_view_set_content_is_new_message ()
void e_html_editor_view_insert_quoted_text ()
void e_html_editor_view_set_link_color ()
void e_html_editor_view_set_visited_link_color ()
void e_html_editor_view_fix_file_uri_images ()
gboolean e_html_editor_view_can_undo ()
void e_html_editor_view_undo ()
gboolean e_html_editor_view_can_redo ()
void e_html_editor_view_redo ()
void e_html_editor_view_insert_new_history_event ()
void e_html_editor_view_clear_history ()
gboolean e_html_editor_view_is_undo_redo_in_progress ()
void e_html_editor_view_set_undo_redo_in_progress ()
void e_html_editor_view_block_style_updated_callbacks ()
void e_html_editor_view_unblock_style_updated_callbacks ()
gboolean e_html_editor_view_is_pasting_content_from_itself ()
void e_html_editor_view_remove_input_event_listener_from_body ()
void e_html_editor_view_register_input_event_listener_on_body ()
gchar * e_html_editor_view_insert_signature ()
gboolean e_html_editor_view_is_ready ()
void e_html_editor_view_reconnect_paste_clipboard_signals ()

Properties

gboolean can-copy Read
gboolean can-cut Read
gboolean can-paste Read
gboolean can-redo Read
gboolean can-undo Read
gboolean changed Read / Write
gboolean html-mode Read / Write / Construct
gboolean inline-spelling Read / Write / Construct
gboolean magic-links Read / Write / Construct
gboolean magic-smileys Read / Write / Construct
ESpellChecker * spell-checker Read
gboolean unicode-smileys Read / Write / Construct

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── WebKitWebView
                    ╰── EHTMLEditorView

Description

Functions

e_html_editor_view_new ()

EHTMLEditorView *
e_html_editor_view_new (void);

Returns a new instance of the editor.

Returns

A newly created EHTMLEditorView. [transfer-full]


e_html_editor_view_get_selection ()

EHTMLEditorSelection *
e_html_editor_view_get_selection (EHTMLEditorView *view);

Returns an EHTMLEditorSelection object which represents current selection or cursor position within the editor document. The EHTMLEditorSelection allows programmer to manipulate with formatting, selection, styles etc.

Parameters

view

an EHTMLEditorView

 

Returns

An always valid EHTMLEditorSelection object. The object is owned by the view and should never be free'd.


e_html_editor_view_exec_command ()

gboolean
e_html_editor_view_exec_command (EHTMLEditorView *view,
                                 EHTMLEditorViewCommand command,
                                 const gchar *value);

The function will fail when value is NULL or empty but the current command requires a value to be passed. The value is ignored when the command does not expect any value.

Parameters

view

an EHTMLEditorView

 

command

an EHTMLEditorViewCommand to execute

 

value

value of the command (or NULL if the command does not require value)

 

Returns

TRUE when the command was succesfully executed, FALSE otherwise.


e_html_editor_view_get_changed ()

gboolean
e_html_editor_view_get_changed (EHTMLEditorView *view);

Whether content of the editor has been changed.

Parameters

view

an EHTMLEditorView

 

Returns

TRUE when document was changed, FALSE otherwise.


e_html_editor_view_set_changed ()

void
e_html_editor_view_set_changed (EHTMLEditorView *view,
                                gboolean changed);

Sets whether document has been changed or not. The editor is tracking changes automatically, but sometimes it's necessary to change the dirty flag to force "Save changes" dialog for example.

Parameters

view

an EHTMLEditorView

 

changed

whether document has been changed or not

 

e_html_editor_view_get_html_mode ()

gboolean
e_html_editor_view_get_html_mode (EHTMLEditorView *view);

Whether the editor is in HTML mode or plain text mode. In HTML mode, more formatting options are avilable an the email is sent as multipart/alternative.

Parameters

view

an EHTMLEditorView

 

Returns

TRUE when HTML mode is enabled, FALSE otherwise.


e_html_editor_view_set_html_mode ()

void
e_html_editor_view_set_html_mode (EHTMLEditorView *view,
                                  gboolean html_mode);

When switching from HTML to plain text mode, user will be prompted whether he/she really wants to switch the mode and lose all formatting. When user declines, the property is not changed. When they accept, the all formatting is lost.

Parameters

view

an EHTMLEditorView

 

html_mode

TRUE to enable HTML mode, FALSE to enable plain text mode

 

e_html_editor_view_save_history_for_drop ()

void
e_html_editor_view_save_history_for_drop
                               (EHTMLEditorView *view);

e_html_editor_view_get_inline_spelling ()

gboolean
e_html_editor_view_get_inline_spelling
                               (EHTMLEditorView *view);

Returns whether automatic spellchecking is enabled or not. When enabled, editor will perform spellchecking as user is typing. Otherwise spellcheck has to be run manually from menu.

Parameters

view

an EHTMLEditorView

 

Returns

TRUE when automatic spellchecking is enabled, FALSE otherwise.


e_html_editor_view_set_inline_spelling ()

void
e_html_editor_view_set_inline_spelling
                               (EHTMLEditorView *view,
                                gboolean inline_spelling);

Enables or disables automatic spellchecking.

Parameters

view

an EHTMLEditorView

 

inline_spelling

TRUE to enable automatic spellchecking, FALSE otherwise

 

e_html_editor_view_get_magic_links ()

gboolean
e_html_editor_view_get_magic_links (EHTMLEditorView *view);

Returns whether automatic links conversion is enabled. When enabled, the editor will automatically convert any HTTP links into clickable HTML links.

Parameters

view

an EHTMLEditorView

 

Returns

TRUE when magic links are enabled, FALSE otherwise.


e_html_editor_view_set_magic_links ()

void
e_html_editor_view_set_magic_links (EHTMLEditorView *view,
                                    gboolean magic_links);

Enables or disables automatic links conversion.

Parameters

view

an EHTMLEditorView

 

magic_links

TRUE to enable magic links, FALSE to disable them

 

e_html_editor_view_insert_smiley ()

void
e_html_editor_view_insert_smiley (EHTMLEditorView *view,
                                  EEmoticon *emoticon);

e_html_editor_view_get_magic_smileys ()

gboolean
e_html_editor_view_get_magic_smileys (EHTMLEditorView *view);

Returns whether automatic conversion of smileys is enabled or disabled. When enabled, the editor will automatically convert text smileys ( :-), ;-),...) into images or Unicode characters.

Parameters

view

an EHTMLEditorView

 

Returns

TRUE when magic smileys are enabled, FALSE otherwise.


e_html_editor_view_set_magic_smileys ()

void
e_html_editor_view_set_magic_smileys (EHTMLEditorView *view,
                                      gboolean magic_smileys);

Enables or disables magic smileys.

Parameters

view

an EHTMLEditorView

 

magic_smileys

TRUE to enable magic smileys, FALSE to disable them

 

e_html_editor_view_get_unicode_smileys ()

gboolean
e_html_editor_view_get_unicode_smileys
                               (EHTMLEditorView *view);

Returns whether to use Unicode characters for smileys.

Parameters

view

an EHTMLEditorView

 

Returns

TRUE when Unicode characters should be used, FALSE otherwise.

Since: 3.16


e_html_editor_view_set_unicode_smileys ()

void
e_html_editor_view_set_unicode_smileys
                               (EHTMLEditorView *view,
                                gboolean unicode_smileys);

Enables or disables the usage of Unicode characters for smileys.

Parameters

view

an EHTMLEditorView

 

unicode_smileys

TRUE to use Unicode characters, FALSE to use images

 

Since: 3.16


e_html_editor_view_get_spell_checker ()

ESpellChecker *
e_html_editor_view_get_spell_checker (EHTMLEditorView *view);

Returns an ESpellChecker object that is used to perform spellchecking.

Parameters

view

an EHTMLEditorView

 

Returns

An always-valid ESpellChecker object


e_html_editor_view_get_text_html ()

gchar *
e_html_editor_view_get_text_html (EHTMLEditorView *view,
                                  const gchar *from_domain,
                                  GList **inline_images);

Returns processed HTML content of the editor document (without elements attributes used in Evolution composer)

Parameters

view

an EHTMLEditorView:

 

Returns

A newly allocated string


e_html_editor_view_get_text_html_for_drafts_with_images ()

gchar *
e_html_editor_view_get_text_html_for_drafts_with_images
                               (EHTMLEditorView *view,
                                const gchar *from_domain,
                                GList **inline_images);

e_html_editor_view_get_text_html_for_drafts ()

gchar *
e_html_editor_view_get_text_html_for_drafts
                               (EHTMLEditorView *view);

Returns HTML content of the editor document (with elements attributes used in Evolution composer)

Parameters

view

an EHTMLEditorView:

 

Returns

A newly allocated string


e_html_editor_view_get_body_text_html_for_drafts ()

gchar *
e_html_editor_view_get_body_text_html_for_drafts
                               (EHTMLEditorView *view);

e_html_editor_view_get_text_plain ()

gchar *
e_html_editor_view_get_text_plain (EHTMLEditorView *view);

Returns plain text content of the view . The algorithm removes any formatting or styles from the document and keeps only the text and line breaks.

Parameters

view

an EHTMLEditorView

 

Returns

A newly allocated string with plain text content of the document.


e_html_editor_view_convert_and_insert_plain_text ()

void
e_html_editor_view_convert_and_insert_plain_text
                               (EHTMLEditorView *view,
                                const gchar *text);

e_html_editor_view_convert_and_insert_html_to_plain_text ()

void
e_html_editor_view_convert_and_insert_html_to_plain_text
                               (EHTMLEditorView *view,
                                const gchar *html);

e_html_editor_view_convert_element_from_html_to_plain_text ()

void
e_html_editor_view_convert_element_from_html_to_plain_text
                               (EHTMLEditorView *view,
                                WebKitDOMElement *element);

e_html_editor_view_set_text_html ()

void
e_html_editor_view_set_text_html (EHTMLEditorView *view,
                                  const gchar *text);

Loads given text into the editor, destroying any content already present.

Parameters

view

an EHTMLEditorView

 

text

HTML code to load into the editor

 

e_html_editor_view_set_text_plain ()

void
e_html_editor_view_set_text_plain (EHTMLEditorView *view,
                                   const gchar *text);

Loads given text into the editor, destryoing any content already present.

Parameters

view

an EHTMLEditorView

 

text

A plain text to load into the editor

 

e_html_editor_view_paste_as_text ()

void
e_html_editor_view_paste_as_text (EHTMLEditorView *view);

Pastes current content of clipboard into the editor without formatting

Parameters

view

an EHTMLEditorView

 

e_html_editor_view_paste_clipboard_quoted ()

void
e_html_editor_view_paste_clipboard_quoted
                               (EHTMLEditorView *view);

Pastes current content of clipboard into the editor as quoted text

Parameters

view

an EHTMLEditorView

 

e_html_editor_view_embed_styles ()

void
e_html_editor_view_embed_styles (EHTMLEditorView *view);

e_html_editor_view_remove_embed_styles ()

void
e_html_editor_view_remove_embed_styles
                               (EHTMLEditorView *view);

e_html_editor_view_update_fonts ()

void
e_html_editor_view_update_fonts (EHTMLEditorView *view);

Forces the editor to reload font settings from WebKitWebSettings and apply it on the content of the editor document.

Parameters

view

an EHTMLEditorView

 

e_html_editor_view_check_magic_links ()

void
e_html_editor_view_check_magic_links (EHTMLEditorView *view,
                                      gboolean while_typing);

Check if actual selection in given editor is link. If so, it is surrounded with ANCHOR element.

Parameters

view

an EHTMLEditorView

 

include_space

If TRUE the pattern for link expects space on end

 

e_html_editor_view_quote_plain_text_element ()

WebKitDOMElement *
e_html_editor_view_quote_plain_text_element
                               (EHTMLEditorView *view,
                                WebKitDOMElement *element);

e_html_editor_view_quote_plain_text ()

WebKitDOMElement *
e_html_editor_view_quote_plain_text (EHTMLEditorView *view);

Quote text inside citation blockquotes in plain text mode.

As this function is cloning and replacing all citation blockquotes keep on mind that any pointers to nodes inside these blockquotes will be invalidated.

Parameters

view

an EHTMLEditorView

 

e_html_editor_view_dequote_plain_text ()

void
e_html_editor_view_dequote_plain_text (EHTMLEditorView *view);

Dequote already quoted plain text in editor. Editor have to be quoted with e_html_editor_view_quote_plain_text otherwise it's not working.

Parameters

view

an EHTMLEditorView

 

e_html_editor_view_turn_spell_check_off ()

void
e_html_editor_view_turn_spell_check_off
                               (EHTMLEditorView *view);

e_html_editor_view_force_spell_check_for_current_paragraph ()

void
e_html_editor_view_force_spell_check_for_current_paragraph
                               (EHTMLEditorView *view);

e_html_editor_view_force_spell_check ()

void
e_html_editor_view_force_spell_check (EHTMLEditorView *view);

e_html_editor_view_force_spell_check_in_viewport ()

void
e_html_editor_view_force_spell_check_in_viewport
                               (EHTMLEditorView *view);

e_html_editor_view_quote_plain_text_element_after_wrapping ()

void
e_html_editor_view_quote_plain_text_element_after_wrapping
                               (WebKitDOMDocument *document,
                                WebKitDOMElement *element,
                                gint quote_level);

e_html_editor_view_add_inline_image_from_mime_part ()

void
e_html_editor_view_add_inline_image_from_mime_part
                               (EHTMLEditorView *view,
                                CamelMimePart *part);

This adds the mime part part to composer as an inline image.

Parameters

composer

a composer object

 

part

a CamelMimePart containing image data

 

remove_image_attributes_from_element ()

void
remove_image_attributes_from_element (WebKitDOMElement *element);

e_html_editor_view_is_message_from_draft ()

gboolean
e_html_editor_view_is_message_from_draft
                               (EHTMLEditorView *view);

e_html_editor_view_set_is_editting_message ()

void
e_html_editor_view_set_is_editting_message
                               (EHTMLEditorView *view,
                                gboolean value);

e_html_editor_view_set_is_message_from_draft ()

void
e_html_editor_view_set_is_message_from_draft
                               (EHTMLEditorView *view,
                                gboolean value);

e_html_editor_view_set_is_message_from_selection ()

void
e_html_editor_view_set_is_message_from_selection
                               (EHTMLEditorView *view,
                                gboolean value);

e_html_editor_view_is_message_from_edit_as_new ()

gboolean
e_html_editor_view_is_message_from_edit_as_new
                               (EHTMLEditorView *view);

e_html_editor_view_set_is_message_from_edit_as_new ()

void
e_html_editor_view_set_is_message_from_edit_as_new
                               (EHTMLEditorView *view,
                                gboolean value);

e_html_editor_view_content_is_new_message ()

gboolean
e_html_editor_view_content_is_new_message
                               (EHTMLEditorView *view);

e_html_editor_view_set_content_is_new_message ()

void
e_html_editor_view_set_content_is_new_message
                               (EHTMLEditorView *view,
                                gboolean value);

e_html_editor_view_insert_quoted_text ()

void
e_html_editor_view_insert_quoted_text (EHTMLEditorView *view,
                                       const gchar *text);

e_html_editor_view_set_link_color ()

void
e_html_editor_view_set_link_color (EHTMLEditorView *view,
                                   GdkRGBA *color);

e_html_editor_view_set_visited_link_color ()

void
e_html_editor_view_set_visited_link_color
                               (EHTMLEditorView *view,
                                GdkRGBA *color);

e_html_editor_view_fix_file_uri_images ()

void
e_html_editor_view_fix_file_uri_images
                               (EHTMLEditorView *view);

e_html_editor_view_can_undo ()

gboolean
e_html_editor_view_can_undo (EHTMLEditorView *view);

e_html_editor_view_undo ()

void
e_html_editor_view_undo (EHTMLEditorView *view);

e_html_editor_view_can_redo ()

gboolean
e_html_editor_view_can_redo (EHTMLEditorView *view);

e_html_editor_view_redo ()

void
e_html_editor_view_redo (EHTMLEditorView *view);

e_html_editor_view_insert_new_history_event ()

void
e_html_editor_view_insert_new_history_event
                               (EHTMLEditorView *view,
                                EHTMLEditorViewHistoryEvent *event);

e_html_editor_view_clear_history ()

void
e_html_editor_view_clear_history (EHTMLEditorView *view);

e_html_editor_view_is_undo_redo_in_progress ()

gboolean
e_html_editor_view_is_undo_redo_in_progress
                               (EHTMLEditorView *view);

e_html_editor_view_set_undo_redo_in_progress ()

void
e_html_editor_view_set_undo_redo_in_progress
                               (EHTMLEditorView *view,
                                gboolean value);

e_html_editor_view_block_style_updated_callbacks ()

void
e_html_editor_view_block_style_updated_callbacks
                               (EHTMLEditorView *view);

e_html_editor_view_unblock_style_updated_callbacks ()

void
e_html_editor_view_unblock_style_updated_callbacks
                               (EHTMLEditorView *view);

e_html_editor_view_is_pasting_content_from_itself ()

gboolean
e_html_editor_view_is_pasting_content_from_itself
                               (EHTMLEditorView *view);

e_html_editor_view_remove_input_event_listener_from_body ()

void
e_html_editor_view_remove_input_event_listener_from_body
                               (EHTMLEditorView *view);

e_html_editor_view_register_input_event_listener_on_body ()

void
e_html_editor_view_register_input_event_listener_on_body
                               (EHTMLEditorView *view);

e_html_editor_view_insert_signature ()

gchar *
e_html_editor_view_insert_signature (EHTMLEditorView *view,
                                     const gchar *content,
                                     gboolean is_html,
                                     const gchar *id,
                                     gboolean *set_signature_from_message,
                                     gboolean *check_if_signature_is_changed,
                                     gboolean *ignore_next_signature_change);

e_html_editor_view_is_ready ()

gboolean
e_html_editor_view_is_ready (EHTMLEditorView *view);

e_html_editor_view_reconnect_paste_clipboard_signals ()

void
e_html_editor_view_reconnect_paste_clipboard_signals
                               (EHTMLEditorView *view);

Types and Values

UNICODE_ZERO_WIDTH_SPACE

#define UNICODE_ZERO_WIDTH_SPACE "\xe2\x80\x8b"

UNICODE_NBSP

#define UNICODE_NBSP "\xc2\xa0"

SPACES_PER_INDENTATION

#define SPACES_PER_INDENTATION 3

SPACES_PER_LIST_LEVEL

#define SPACES_PER_LIST_LEVEL 3

SPACES_ORDERED_LIST_FIRST_LEVEL

#define SPACES_ORDERED_LIST_FIRST_LEVEL 6

MINIMAL_PARAGRAPH_WIDTH

#define MINIMAL_PARAGRAPH_WIDTH 5

TAB_LENGTH

#define TAB_LENGTH 8

enum EHTMLEditorViewHistoryEventType

Members

HISTORY_ALIGNMENT

   

HISTORY_AND

   

HISTORY_BLOCK_FORMAT

   

HISTORY_BLOCKQUOTE

   

HISTORY_BOLD

   

HISTORY_CELL_DIALOG

   

HISTORY_DELETE

   

HISTORY_FONT_COLOR

   

HISTORY_FONT_SIZE

   

HISTORY_HRULE_DIALOG

   

HISTORY_INDENT

   

HISTORY_INPUT

   

HISTORY_IMAGE

   

HISTORY_IMAGE_DIALOG

   

HISTORY_INSERT_HTML

   

HISTORY_ITALIC

   

HISTORY_LINK_DIALOG

   

HISTORY_MONOSPACE

   

HISTORY_PAGE_DIALOG

   

HISTORY_PASTE

   

HISTORY_PASTE_AS_TEXT

   

HISTORY_PASTE_QUOTED

   

HISTORY_REMOVE_LINK

   

HISTORY_REPLACE

   

HISTORY_REPLACE_ALL

   

HISTORY_CITATION_SPLIT

   

HISTORY_SMILEY

   

HISTORY_START

   

HISTORY_STRIKETHROUGH

   

HISTORY_TABLE_DIALOG

   

HISTORY_TABLE_INPUT

   

HISTORY_UNDERLINE

   

HISTORY_WRAP

   

HISTORY_UNQUOTE

   

EHTMLEditorViewStyleChange

typedef struct {
	gint from; /* From what format we are changing. */
	gint to; /* To what format we are changing. */
} EHTMLEditorViewStyleChange;

EHTMLEditorViewDOMChange

typedef struct {
	WebKitDOMNode *from; /* From what node we are changing. */
	WebKitDOMNode *to; /* To what node we are changing. */
} EHTMLEditorViewDOMChange;

EHTMLEditorViewStringChange

typedef struct {
	gchar *from; /* From what format we are changing. */
	gchar *to; /* To what format we are changing. */
} EHTMLEditorViewStringChange;

EHTMLEditorViewSelectionPoint

typedef struct {
	guint x;
	guint y;
} EHTMLEditorViewSelectionPoint;

EHTMLEditorViewSelection

typedef struct {
	EHTMLEditorViewSelectionPoint start;
	EHTMLEditorViewSelectionPoint end;
} EHTMLEditorViewSelection;

EHTMLEditorViewHistoryEvent

typedef struct {
	enum EHTMLEditorViewHistoryEventType type;
	EHTMLEditorViewSelection before;
	EHTMLEditorViewSelection after;
	union {
		WebKitDOMDocumentFragment *fragment;
		EHTMLEditorViewStyleChange style;
		EHTMLEditorViewStringChange string;
		EHTMLEditorViewDOMChange dom;
	} data;
} EHTMLEditorViewHistoryEvent;

Property Details

The “can-copy” property

  “can-copy”                 gboolean

Determines whether it's possible to copy to clipboard. The action is usually disabled when there is no selection to copy.

Flags: Read

Default value: FALSE


The “can-cut” property

  “can-cut”                  gboolean

Determines whether it's possible to cut to clipboard. The action is usually disabled when there is no selection to cut.

Flags: Read

Default value: FALSE


The “can-paste” property

  “can-paste”                gboolean

Determines whether it's possible to paste from clipboard. The action is usually disabled when there is no valid content in clipboard to paste.

Flags: Read

Default value: FALSE


The “can-redo” property

  “can-redo”                 gboolean

Determines whether it's possible to redo previous action. The action is usually disabled when there is no action to redo.

Flags: Read

Default value: FALSE


The “can-undo” property

  “can-undo”                 gboolean

Determines whether it's possible to undo last action. The action is usually disabled when there is no previous action to undo.

Flags: Read

Default value: FALSE


The “changed” property

  “changed”                  gboolean

Determines whether document has been modified

Flags: Read / Write

Default value: FALSE


The “html-mode” property

  “html-mode”                gboolean

Determines whether HTML or plain text mode is enabled.

Flags: Read / Write / Construct

Default value: TRUE


The “inline-spelling” property

  “inline-spelling”          gboolean

Check your spelling as you type.

Flags: Read / Write / Construct

Default value: TRUE


The “magic-links” property

  “magic-links”              gboolean

Determines whether automatic conversion of text links into HTML links is enabled.

Flags: Read / Write / Construct

Default value: TRUE


The “magic-smileys” property

  “magic-smileys”            gboolean

Determines whether automatic conversion of text smileys into images or Unicode characters is enabled.

Flags: Read / Write / Construct

Default value: TRUE


The “spell-checker” property

  “spell-checker”            ESpellChecker *

The ESpellChecker used for spell checking.

Flags: Read


The “unicode-smileys” property

  “unicode-smileys”          gboolean

Determines whether Unicode characters should be used for smileys.

Flags: Read / Write / Construct

Default value: TRUE

Signal Details

The “is-ready” signal

void
user_function (EHTMLEditorView *ehtmleditorview,
               gpointer         user_data)

Flags: Run Last


The “paste-primary-clipboard” signal

void
user_function (EHTMLEditorView *ehtmleditorview,
               gpointer         user_data)

Flags: Run Last


The “popup-event” signal

gboolean
user_function (EHTMLEditorView *ehtmleditorview,
               GdkEvent        *arg1,
               gpointer         user_data)

Flags: Run Last