@hailin-zheng/editor-core 1.1.0 → 1.1.2

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.
@@ -1,6 +1,6 @@
1
1
  import { DocumentPaint } from "./document-paint";
2
2
  import { SelectionState } from "./document-selection";
3
- import { LeafElement, Rect, Element, Position, ViewOptions } from "./element-define";
3
+ import { Element, LeafElement, Position, Rect, ViewOptions } from "./element-define";
4
4
  import { ElementEvent, EventStage, EventTypes, HitEventInfo, HitRegion, ITrackTips, MouseElementEvent } from "./element-event-define";
5
5
  import { BorderType, CursorType, RenderObject } from "./render-define";
6
6
  import { EditorContext } from "./document-context";
@@ -262,6 +262,7 @@ export declare class ViewOptions {
262
262
  enableTrackHistory: boolean;
263
263
  trackHistoryMaxLength: number;
264
264
  enableDyExpression: boolean;
265
+ showRule: boolean;
265
266
  private _fullPageView;
266
267
  get fullPageView(): boolean;
267
268
  set fullPageView(value: boolean);
@@ -66,6 +66,11 @@ export declare class CanvasTextEditor extends NodeItems {
66
66
  * @returns
67
67
  */
68
68
  private refreshDocument;
69
+ /**
70
+ * 计算选区内容对象
71
+ * @private
72
+ */
73
+ private updateSelection;
69
74
  /**
70
75
  * 刷新绘制文档
71
76
  * @param rePaint
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": "hailin-zheng",
5
5
  "private": false,
6
6
  "license": "ISC",
7
- "version": "1.1.0",
7
+ "version": "1.1.2",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "bwip-js": "^3.0.5",