@hailin-zheng/editor-core 1.0.36 → 1.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -69,8 +69,8 @@ export declare class DocumentEvent {
69
69
  */
70
70
  private getTips;
71
71
  /**
72
- * 滚动视图的时候,需要手动触发mousemove
73
- */
72
+ * 滚动视图的时候,需要手动触发mousemove
73
+ */
74
74
  onScrollView(): void;
75
75
  /**
76
76
  * 处理鼠标按下事件
@@ -156,12 +156,12 @@ export declare class DocumentEvent {
156
156
  */
157
157
  private pubHitInfo;
158
158
  /**
159
- * 获取鼠标所在的渲染元素对象
160
- * @param renderObject
161
- * @param parent
162
- * @param position
163
- * @returns
164
- */
159
+ * 获取鼠标所在的渲染元素对象
160
+ * @param renderObject
161
+ * @param parent
162
+ * @param position
163
+ * @returns
164
+ */
165
165
  private getMouseoverRender;
166
166
  /**
167
167
  * 缩放元素
@@ -195,8 +195,8 @@ export declare class DocumentEvent {
195
195
  */
196
196
  private moveCursorToHomeOrEnd;
197
197
  /**
198
- * 向左移动光标
199
- */
198
+ * 向左移动光标
199
+ */
200
200
  moveCursorToLeft(): void;
201
201
  /**
202
202
  * 向右移动光标
@@ -28,6 +28,12 @@ export declare class ElementTrackManage {
28
28
  * 生成留痕的信息
29
29
  */
30
30
  generateTrack(): void;
31
+ /**
32
+ * 合并操作,
33
+ * 文本的相同类型,一定时间周期内要合并
34
+ * @private
35
+ */
36
+ private mergeOps;
31
37
  private getSelection;
32
38
  /**
33
39
  * 执行撤销
@@ -299,9 +299,10 @@ export declare class ElementUtil {
299
299
  * @param currElement
300
300
  * @param inPara 是否在同一段落中寻找
301
301
  * @param forCursor 查找结果是否用于光标定位
302
+ * @param viewOptions
302
303
  * @returns
303
304
  */
304
- static getRecursionPrevSiblingElement(currElement: Element | null, inPara?: boolean, forCursor?: boolean): LeafElement | null;
305
+ static getRecursionPrevSiblingElement(currElement: Element | null, inPara: boolean | undefined, forCursor: boolean | undefined, viewOptions: ViewOptions): LeafElement | null;
305
306
  /**
306
307
  * 循环向前寻找可定位的数据元
307
308
  * @param currElement
@@ -310,7 +311,7 @@ export declare class ElementUtil {
310
311
  /**
311
312
  * 递归向后寻找最近的元素
312
313
  */
313
- static getRecursionNextSiblingElement(currElement: Element | null, inPara?: boolean, forCursor?: boolean): LeafElement | null;
314
+ static getRecursionNextSiblingElement(currElement: Element | null, inPara: boolean | undefined, forCursor: boolean | undefined, viewOptions: ViewOptions): LeafElement | null;
314
315
  /**
315
316
  * 获取行内最大渲染单元格高度,主要处理纵向合并单元格问题
316
317
  * @param row
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": "hailin-zheng",
5
5
  "private": false,
6
6
  "license": "ISC",
7
- "version": "1.0.36",
7
+ "version": "1.0.37",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "bwip-js": "^3.0.5",