KHTML
editor.cpp
Go to the documentation of this file.
252static void updateState(CSSStyleDeclarationImpl *desiredStyle, CSSStyleDeclarationImpl *computedStyle, bool &atStart, Editor::TriState &state)
528 kDebug(6200) << "pos.inLastEditableInRootEditableElement " << pos.inLastEditableInRootEditableElement() << " pos.offset " << pos.offset() << " pos.max " << pos.node()->caretMaxRenderedOffset() << endl;
DOMString queryCommandValue(const DOMString &command)
Returns the given command's value.
Definition editor.cpp:133
void applyStyle(DOM::CSSStyleDeclarationImpl *)
applies the given style to the current selection
Definition editor.cpp:230
void unappliedEditing(khtml::EditCommandImpl *)
Called when editing has been unapplied.
Definition editor.cpp:429
bool queryCommandEnabled(const DOMString &command)
Checks whether the given command is enabled.
Definition editor.cpp:109
WTF::PassRefPtr< khtml::EditCommandImpl > lastEditCommand() const
Returns the most recent edit command applied.
Definition editor.cpp:399
TriState selectionHasStyle(DOM::CSSStyleDeclarationImpl *) const
returns whether the selection has got applied the given style
Definition editor.cpp:271
DOM::CSSStyleDeclarationImpl * selectionComputedStyle(DOM::NodeImpl *&nodeToRemove) const
computed style of current selection
Definition editor.cpp:361
bool execCommand(const DOMString &command, bool userInterface, const DOMString &value)
Executes the given editor command.
Definition editor.cpp:103
bool selectionStartHasStyle(DOM::CSSStyleDeclarationImpl *) const
returns whether the selection has got applied the given style
Definition editor.cpp:308
bool queryCommandIndeterm(const DOMString &command)
Checks whether the given command's style is indeterminate.
Definition editor.cpp:115
DOM::CSSStyleDeclarationImpl * typingStyle() const
Returns the typing style for the document.
Definition editor.cpp:464
DOM::DOMString selectionStartStylePropertyValue(int stylePropertyID) const
?
Definition editor.cpp:341
void appliedEditing(khtml::EditCommandImpl *)
Called when editing has been applied.
Definition editor.cpp:404
void setTypingStyle(DOM::CSSStyleDeclarationImpl *)
Sets the typing style for the document.
Definition editor.cpp:469
bool queryCommandState(const DOMString &command)
Checks whether the given command's style is state.
Definition editor.cpp:121
bool queryCommandSupported(const DOMString &command)
Checks whether the given command is supported in the current context.
Definition editor.cpp:127
void reappliedEditing(khtml::EditCommandImpl *)
Called when editing has been reapplied.
Definition editor.cpp:447
Definition dom2_range.h:80
This is the BrowserExtension for a KHTMLPart document.
Definition khtml_ext.h:44
Definition khtmlview.h:37
static void insertNewline0(DocumentImpl *document)
Definition htmlediting_impl.cpp:2694
static void insertText0(DocumentImpl *document, const DOMString &text)
Definition htmlediting_impl.cpp:2709
static void deleteKeyPressed0(DocumentImpl *document)
Definition htmlediting_impl.cpp:2681
Definition htmlediting_impl.h:92
virtual bool isTypingCommand() const
Definition htmlediting_impl.h:123
DOM::Selection endingSelection() const
Definition htmlediting_impl.h:114
DOM::Selection startingSelection() const
Definition htmlediting_impl.h:113
static void updateState(CSSStyleDeclarationImpl *desiredStyle, CSSStyleDeclarationImpl *computedStyle, bool &atStart, Editor::TriState &state)
Definition editor.cpp:252
#define kDebug
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
Definition IntSizeHash.h:29
Contextual information about the caret and the built-in editor.
Definition editing_p.h:38
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.