enso/app/gui2/shared/ast
Kaz Wesley 4af33f077b
Documentation editor (#9910)
#### New documentation panel:
- Shows documentation of currently-entered method.
- Open/close with Ctrl+D or the extended menu.
- Renders markdown; supports WYSIWYG editing.
- Formatting can be added by typing the same markdown special characters that will appear in the source code, e.g.:
- `# Heading`
- `## Subheading`
- `*emphasis*`
- Panel left edge can be dragged to resize similarly to visualization container.

https://github.com/enso-org/enso/assets/1047859/6feb5d23-1525-48f7-933e-c9371312decf

#### Node comments are now markdown:
![image](https://github.com/enso-org/enso/assets/1047859/c5df13fe-0290-4f1d-abb2-b2f42df274d3)

#### Top bar extended menu improvements:
- Now closes after any menu action except +/- buttons, and on defocus/Esc.
- Editor/doc-panel buttons now colored to indicate whether editor/panel is open.

https://github.com/enso-org/enso/assets/1047859/345af322-c1a8-4717-8ffc-a5c919494fed

Closes #9786.

# Important Notes
New APIs:
- `DocumentationEditor` component: Lazily-loads and instantiates the implementation component (`MilkdownEditor`).
- `AstDocumentation` component: Connects a `DocumentationEditor` to the documentation of an `Ast` node.
- `ResizeHandles` component: Supports reuse of the resize handles used by the visualization container.
- `graphStore.undoManager`: Facade for the Y.UndoManager in the project store.
2024-05-10 17:23:16 +00:00
..
generated Syntactic synchronization, automatic parentheses, metadata in Ast (#8893) 2024-02-02 10:22:18 +01:00
debug.ts Enable the Code Editor, with new apply-text-edits algo. (#9055) 2024-02-19 23:57:42 +00:00
ffi.ts Run ydoc-server with GraalVM (#9528) 2024-05-02 06:28:57 +00:00
ffiPolyglot.ts Run ydoc-server with GraalVM (#9528) 2024-05-02 06:28:57 +00:00
index.ts Hide errors from input nodes (#9633) 2024-04-05 18:07:32 +00:00
mutableModule.ts Fix undoing node removal (#9561) 2024-03-29 16:31:00 +00:00
parse.ts Display argument placeholders for autoscoped constructors (#9737) 2024-04-24 13:40:42 +02:00
parserSupport.ts Syntactic synchronization, automatic parentheses, metadata in Ast (#8893) 2024-02-02 10:22:18 +01:00
sourceDocument.ts Vue dependency update, better selection performance, visible quotes in text inputs (#9204) 2024-03-06 15:34:07 +00:00
text.ts Copy/paste improvements (#9734) 2024-04-19 16:33:51 +00:00
token.ts Display argument placeholders for autoscoped constructors (#9737) 2024-04-24 13:40:42 +02:00
tree.ts Documentation editor (#9910) 2024-05-10 17:23:16 +00:00