Repository navigation
Expand file tree
/
Copy pathinline.ts
More file actions
53 lines (46 loc) · 1.94 KB
/
Copy pathinline.ts
File metadata and controls
53 lines (46 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* inline.ts :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dlesieur <dlesieur@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/09/15 00:00:00 by dlesieur #+# #+# */
/* Updated: 2026/09/15 00:00:00 by dlesieur ### ########.fr */
/* */
/* ************************************************************************** */
/**
* Inline editing surface — selection-based formatting, text edits, autoformat
* and the inline document model. Operates on the inline AST, NOT on the DOM,
* so everything here runs under a plain node test runner.
*
* DOM-bound helpers live in `./dom`.
*/
export {
applyInlineFormatting,
applyInlineFormattingToNodes,
type InlineColorKind,
type InlineFormatKind,
type InlineFormattingCommand,
type InlineTextSelection,
} from "./inlineFormatting";
export {
applyInlineTextEdit,
applyInlineTextEditToNodes,
type InlineNodeTextEditResult,
type InlineTextEditCommand,
type InlineTextEditResult,
} from "./inlineTextEditing";
export {
autoformatInlineMarkdown,
isMidDelimiterRun,
INLINE_CLOSING_DELIMITERS,
type InlineAutoformatResult,
} from "./inlineAutoformat";
export {
InlineDocument,
type InlineDocumentEditResult,
} from "./inlineDocument";
export { normalizeHexColor, normalizeInlineColorToken } from "./inlineColorTokens";
export { normalizeInlineLinkHref } from "./inlineLinks";
export { normalizeInlineSource } from "./inlineSource";