KHTML
editor.cpp File Reference
#include "editor.h"#include "jsediting.h"#include "htmlediting_impl.h"#include "css/css_renderstyledeclarationimpl.h"#include "css/css_valueimpl.h"#include "xml/dom_selection.h"#include "xml/dom_docimpl.h"#include "xml/dom_elementimpl.h"#include "xml/dom_textimpl.h"#include "xml/dom2_rangeimpl.h"#include "khtml_part.h"#include "khtml_ext.h"#include "khtmlpart_p.h"#include <QStack>#include "editor.moc"Go to the source code of this file.
Classes | |
| class | ApplyStyleCommandImpl |
| class | EditCommandImpl |
| struct | EditorContext |
| class | IndentOutdentCommandImpl |
| class | TypingCommandImpl |
Namespaces | |
| namespace | DOM |
Macros | |
| #define | assert(x) |
| #define | DEBUG_COMMANDS |
| #define | PREPARE_JSEDITOR_CALL(command, retval) |
Functions | |
| static void | updateState (CSSStyleDeclarationImpl *desiredStyle, CSSStyleDeclarationImpl *computedStyle, bool &atStart, Editor::TriState &state) |
Variables | |
| static const int | DOM::sMaxUndoSteps = 1000 |
Macro Definition Documentation
◆ assert
| #define assert | ( | x | ) |
Value:
Q_ASSERT(x)
Definition at line 43 of file editor.cpp.
◆ DEBUG_COMMANDS
| #define DEBUG_COMMANDS |
Definition at line 51 of file editor.cpp.
◆ PREPARE_JSEDITOR_CALL
| #define PREPARE_JSEDITOR_CALL | ( | command, | |
| retval ) |
Value:
JSEditor *js = m_part->xmlDocImpl() ? m_part->xmlDocImpl()->jsEditor() : 0; \
if (!js) return retval; \
const CommandImp *imp = js->commandImp(command)
Definition jsediting.h:38
const CommandImp * commandImp(const DOMString &command)
Definition jsediting.cpp:613
Definition at line 46 of file editor.cpp.
Function Documentation
◆ updateState()
|
static |
Definition at line 252 of file editor.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2026 The KDE developers.
Generated on by doxygen 1.16.1 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2026 The KDE developers.
Generated on by doxygen 1.16.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.