mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-11-14 17:37:37 +00:00
29 lines
732 B
Rust
29 lines
732 B
Rust
|
|
use crate::{
|
||
|
|
client::view::FormatExt,
|
||
|
|
core::{Attribute, Delta, Interval},
|
||
|
|
};
|
||
|
|
|
||
|
|
pub struct FormatLinkAtCaretPositionExt {}
|
||
|
|
|
||
|
|
impl FormatExt for FormatLinkAtCaretPositionExt {
|
||
|
|
fn apply(&self, delta: &Delta, interval: Interval, attribute: &Attribute) -> Option<Delta> {
|
||
|
|
unimplemented!()
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
pub struct ResolveLineFormatExt {}
|
||
|
|
|
||
|
|
impl FormatExt for ResolveLineFormatExt {
|
||
|
|
fn apply(&self, delta: &Delta, interval: Interval, attribute: &Attribute) -> Option<Delta> {
|
||
|
|
unimplemented!()
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
pub struct ResolveInlineFormatExt {}
|
||
|
|
|
||
|
|
impl FormatExt for ResolveInlineFormatExt {
|
||
|
|
fn apply(&self, delta: &Delta, interval: Interval, attribute: &Attribute) -> Option<Delta> {
|
||
|
|
unimplemented!()
|
||
|
|
}
|
||
|
|
}
|