|
@@ -1,9 +1,8 @@
|
|
-use crate::util::is_newline;
|
|
|
|
|
|
+use crate::{document::InsertExt, util::is_newline};
|
|
use lib_ot::{
|
|
use lib_ot::{
|
|
core::{CharMetric, DeltaBuilder, DeltaIter, NEW_LINE},
|
|
core::{CharMetric, DeltaBuilder, DeltaIter, NEW_LINE},
|
|
rich_text::{RichTextAttributeKey, RichTextAttributes, RichTextDelta},
|
|
rich_text::{RichTextAttributeKey, RichTextAttributes, RichTextDelta},
|
|
};
|
|
};
|
|
-use crate::document::InsertExt;
|
|
|
|
|
|
|
|
pub struct ResetLineFormatOnNewLine {}
|
|
pub struct ResetLineFormatOnNewLine {}
|
|
impl InsertExt for ResetLineFormatOnNewLine {
|
|
impl InsertExt for ResetLineFormatOnNewLine {
|