KHTML
editor.cpp
Go to the documentation of this file.
252 static void updateState(CSSStyleDeclarationImpl *desiredStyle, CSSStyleDeclarationImpl *computedStyle, bool &atStart, Editor::TriState &state)
409 // make sure we have all the changes in rendering tree applied with relayout if needed before setting caret
528 kDebug(6200) << "pos.inLastEditableInRootEditableElement " << pos.inLastEditableInRootEditableElement() << " pos.offset " << pos.offset() << " pos.max " << pos.node()->caretMaxRenderedOffset() << endl;
Contextual information about the caret and the built-in editor.
Definition: editing_p.h:38
DOMString queryCommandValue(const DOMString &command)
Returns the given command's value.
Definition: editor.cpp:133
Definition: editor.h:71
void reappliedEditing(khtml::EditCommandImpl *)
Called when editing has been reapplied.
Definition: editor.cpp:447
bool execCommand(const DOMString &command, bool userInterface, const DOMString &value)
Executes the given editor command.
Definition: editor.cpp:103
bool strcasecmp(const DOMString &a, const DOMString &b)
Definition: dom_string.cpp:295
bool queryCommandEnabled(const DOMString &command)
Checks whether the given command is enabled.
Definition: editor.cpp:109
bool selectionStartHasStyle(DOM::CSSStyleDeclarationImpl *) const
returns whether the selection has got applied the given style
Definition: editor.cpp:308
Definition: khtmlview.h:37
DOM::Selection startingSelection() const
Definition: htmlediting_impl.h:113
DOM::Selection endingSelection() const
Definition: htmlediting_impl.h:114
DOM::CSSStyleDeclarationImpl * selectionComputedStyle(DOM::NodeImpl *&nodeToRemove) const
computed style of current selection
Definition: editor.cpp:361
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
bool canPaste() const
returns whether clipboard contains data to be pasted
Definition: editor.cpp:198
bool queryCommandIndeterm(const DOMString &command)
Checks whether the given command's style is indeterminate.
Definition: editor.cpp:115
Definition: htmlediting_impl.h:91
void unappliedEditing(khtml::EditCommandImpl *)
Called when editing has been unapplied.
Definition: editor.cpp:429
DOM::DOMString selectionStartStylePropertyValue(int stylePropertyID) const
?
Definition: editor.cpp:341
KParts::BrowserExtension * browserExtension() const
Returns a pointer to the KParts::BrowserExtension.
Definition: khtml_part.cpp:1046
Definition: editor.h:71
bool queryCommandState(const DOMString &command)
Checks whether the given command's style is state.
Definition: editor.cpp:121
virtual bool isTypingCommand() const
Definition: htmlediting_impl.h:123
void applyStyle(DOM::CSSStyleDeclarationImpl *)
applies the given style to the current selection
Definition: editor.cpp:230
void appliedEditing(khtml::EditCommandImpl *)
Called when editing has been applied.
Definition: editor.cpp:404
Definition: htmlediting_impl.h:592
bool queryCommandSupported(const DOMString &command)
Checks whether the given command is supported in the current context.
Definition: editor.cpp:127
static void updateState(CSSStyleDeclarationImpl *desiredStyle, CSSStyleDeclarationImpl *computedStyle, bool &atStart, Editor::TriState &state)
Definition: editor.cpp:252
This is the BrowserExtension for a KHTMLPart document.
Definition: khtml_ext.h:43
DOM::CSSStyleDeclarationImpl * typingStyle() const
Returns the typing style for the document.
Definition: editor.cpp:464
WTF::PassRefPtr< khtml::EditCommandImpl > lastEditCommand() const
Returns the most recent edit command applied.
Definition: editor.cpp:399
Definition: dom2_range.h:79
TriState selectionHasStyle(DOM::CSSStyleDeclarationImpl *) const
returns whether the selection has got applied the given style
Definition: editor.cpp:271
void setTypingStyle(DOM::CSSStyleDeclarationImpl *)
Sets the typing style for the document.
Definition: editor.cpp:469
Definition: editor.h:71
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.