![]() Server : Apache/2.4.52 (Ubuntu) System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64 User : www-data ( 33) PHP Version : 8.1.2-1ubuntu2.21 Disable Function : NONE Directory : /usr/share/nodejs/@types/codemirror/addon/wrap/ |
import '../../'; export interface HardwrapOptions { column?: number | undefined; paragraphStart?: RegExp | undefined; paragraphEnd?: RegExp | undefined; wrapOn?: RegExp | undefined; killTrailingSpace?: boolean | undefined; forceBreak?: boolean | undefined; } declare module '../../' { interface CommandActions { wrapLines(cm: Editor): void; } interface Editor { /** Wraps the paragraph at the given position. If pos is not given, it defaults to the cursor position. */ wrapParagraph(pos?: Position, options?: HardwrapOptions): void; /** Wraps the given range as one big paragraph. */ wrapRange(from: Position, to: Position, options?: HardwrapOptions): void; /** Wraps the paragraphs in (and overlapping with) the given range individually. */ wrapParagraphsInRange(from: Position, to: Position, options?: HardwrapOptions): void; } }