We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
enhanceTextSelection
1 parent 403ed07 commit 815c28dCopy full SHA for 815c28d
src/display/text_layer.js
@@ -18,6 +18,7 @@ import {
18
createPromiseCapability,
19
Util,
20
} from "../shared/util.js";
21
+import { deprecated } from "./display_utils.js";
22
23
/**
24
* Text layer render parameters.
@@ -569,6 +570,11 @@ class TextLayerRenderTask {
569
570
textContentItemsStr,
571
enhanceTextSelection,
572
}) {
573
+ if (enhanceTextSelection) {
574
+ deprecated(
575
+ "The `enhanceTextSelection` functionality will be removed in the future."
576
+ );
577
+ }
578
this._textContent = textContent;
579
this._textContentStream = textContentStream;
580
this._container = container;
0 commit comments