Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aurigma/text-whizz

Package Overview
Dependencies
Maintainers
5
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aurigma/text-whizz - npm Package Compare versions

Comparing version 1.5.24 to 1.5.40

2

package.json
{
"version": "1.5.24",
"version": "1.5.40",
"name": "@aurigma/text-whizz",

@@ -4,0 +4,0 @@ "license": "SEE LICENSE IN License.md",

@@ -354,3 +354,10 @@ declare module "@aurigma/text-whizz/TextWhizzJS" {

}
export interface TextLimits
{
maxLineCount: number;
maxCharCount: number;
maxCharCountPerLine: number;
}
export interface Rectangle {

@@ -639,2 +646,10 @@ x: number;

/**
* Gets a TextPosition object from the logical position.
* @param lineIndex logical line index. Not a paragraph index!!!
* @param offset the offset inside of the logical line.
* @returns TextPosition object.
*/
getPositionByIndex(lineIndex: number, offset: number): TextPosition;
/**
* Gets a TextPosition object from the first position.

@@ -831,2 +846,19 @@ * @returns TextPosition object.

getParagraphMetadata(index: number): StringMap;
/**
* Sets limits for the text
* @param limits a structure containing limits.
* @param callback calls when the text doesn't meet any of the limits.
*/
setTextLimits(limits: TextLimits, callback: () => void);
/**
* Stops putting changes to undo/redo queue.
*/
pauseUndoRedo();
/**
* Starts putting changes to undo/redo queue.
*/
resumeUndoRedo();
}

@@ -833,0 +865,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc