mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
LibWeb: Move editing stuff into EditEventHandler.
This commit is contained in:
parent
82aac98bea
commit
bbcc5a9332
11 changed files with 161 additions and 22 deletions
|
@ -27,6 +27,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/RefPtr.h>
|
||||
#include <LibWeb/DOM/Node.h>
|
||||
#include <LibWeb/Forward.h>
|
||||
|
||||
namespace Web::DOM {
|
||||
|
@ -44,6 +45,7 @@ public:
|
|||
const Node* node() const { return m_node; }
|
||||
|
||||
unsigned offset() const { return m_offset; }
|
||||
void set_offset(unsigned value) { m_offset = value; }
|
||||
|
||||
bool operator==(const Position& other) const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue