1 | import "../../";
|
2 |
|
3 | export interface HardwrapOptions {
|
4 | column?: number | undefined;
|
5 | paragraphStart?: RegExp | undefined;
|
6 | paragraphEnd?: RegExp | undefined;
|
7 | wrapOn?: RegExp | undefined;
|
8 | killTrailingSpace?: boolean | undefined;
|
9 | forceBreak?: boolean | undefined;
|
10 | }
|
11 |
|
12 | declare module "../../" {
|
13 | interface CommandActions {
|
14 | wrapLines(cm: Editor): void;
|
15 | }
|
16 |
|
17 | interface Editor {
|
18 |
|
19 | wrapParagraph(pos?: Position, options?: HardwrapOptions): void;
|
20 |
|
21 | wrapRange(from: Position, to: Position, options?: HardwrapOptions): void;
|
22 |
|
23 | wrapParagraphsInRange(from: Position, to: Position, options?: HardwrapOptions): void;
|
24 | }
|
25 | }
|