@hailin-zheng/editor-core 1.0.56 → 1.0.57
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.
- package/index-cjs.js +2 -2
- package/index-cjs.js.map +1 -1
- package/index.js +2 -2
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index-cjs.js
CHANGED
@@ -16048,13 +16048,13 @@ class CanvasTextEditor {
|
|
16048
16048
|
this.documentPaint.refreshView(rePaint);
|
16049
16049
|
this.setScrollSize();
|
16050
16050
|
this.setCursor();
|
16051
|
-
ssChanged && this.selectionChanged.next(this.documentSelection.selectionState);
|
16051
|
+
(ssChanged || rePaint) && this.selectionChanged.next(this.documentSelection.selectionState);
|
16052
16052
|
this.docRule.refreshRule();
|
16053
16053
|
}
|
16054
16054
|
hitInfoChanged(hitInfo) {
|
16055
16055
|
this.documentSelection.setSelectionState(hitInfo);
|
16056
16056
|
this.refreshDocument();
|
16057
|
-
this.selectionChanged.next(this.documentSelection.selectionState);
|
16057
|
+
//this.selectionChanged.next(this.documentSelection.selectionState);
|
16058
16058
|
}
|
16059
16059
|
/**
|
16060
16060
|
* 设置光标
|