@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
|
-
|
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
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
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
|
* 向右移动光标
|
@@ -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
|
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
|
314
|
+
static getRecursionNextSiblingElement(currElement: Element | null, inPara: boolean | undefined, forCursor: boolean | undefined, viewOptions: ViewOptions): LeafElement | null;
|
314
315
|
/**
|
315
316
|
* 获取行内最大渲染单元格高度,主要处理纵向合并单元格问题
|
316
317
|
* @param row
|