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.50 to 1.5.56

2

package.json
{
"version": "1.5.50",
"version": "1.5.56",
"name": "@aurigma/text-whizz",

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

@@ -9,2 +9,4 @@ declare module "@aurigma/text-whizz/TextWhizzJS" {

export const EndLineOffset: number;
interface Collection<TItem> {

@@ -641,5 +643,6 @@ get(index: number): TItem;

* @param y coordinate y.
* @param forSelection true means that EndOfLine offset is possible to return.
* @returns TextPosition object.
*/
getPosition(x: number, y: number): TextPosition;
getPosition(x: number, y: number, forSelection: boolean): TextPosition;

@@ -665,2 +668,8 @@ /**

getLastPosition(): TextPosition;
/**
* Gets a TextPosition object from the end position.
* @returns TextPosition object.
*/
getEndPosition(): TextPosition;

@@ -835,5 +844,5 @@ /**

/**
* Gets a paragraph text range.
* Gets a paragraph metadata.
* @param index paragraph index.
* @returns TextRange
* @param metadata metadata
*/

@@ -843,5 +852,5 @@ setParagraphMetadata(index: number, metadata: StringMap);

/**
* Gets a paragraph text range.
* Gets a paragraph metadata.
* @param index paragraph index.
* @returns TextRange
* @returns StringMap
*/

@@ -851,2 +860,16 @@ getParagraphMetadata(index: number): StringMap;

/**
* Sets a paragraph char style
* @param index paragraph index.
* @param cs char style.
*/
setParagraphCharStyle(index: number, cs: CharStyle);
/**
* Gets a paragraph char style
* @param index paragraph index.
* @returns char style.
*/
getParagraphCharStyle(index: number): CharStyle;
/**
* Sets limits for the text

@@ -1016,3 +1039,3 @@ * @param limits a structure containing limits.

getPosition(): TextPosition;
move(MoveDirection);
move(direction: MoveDirection, forSelection: boolean): boolean;
set(pos: TextPosition);

@@ -1019,0 +1042,0 @@ insertText(text: string): TextPosition;

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