Skip to content

Commit

Permalink
Update code introduction
Browse files Browse the repository at this point in the history
  • Loading branch information
singerdmx committed Jul 21, 2022
1 parent eb15a3e commit 4f851e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CodeIntroduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This document describes the most important files and classes in Quill.
**abstract RenderAbstractEditor**
- Base interface for editable render objects
- Defines which methods the RenderEditor must implement
- Seems to be defined for the sake of documenting the most important operations
- Defined for the sake of documenting the most important operations
Useful:
- selectWordAtPosition() selectLineAtPosition();
- getLocalRectForCaret() - Useful to enforce visibility of full caret at given position
Expand Down Expand Up @@ -90,7 +90,7 @@ There methods are pivotal for synchronising the position of inline reactions to
- Selection coordinates
- _getOffsetForCaret()
- size - Dimensions of the render box from Flutter.
- setDocument() - Seems to be unused
- setDocument()
- setSelection()
- getEndpointsForSelection() - Selection coordinates
- handleDragStart() handleDragEnd()
Expand Down Expand Up @@ -425,7 +425,7 @@ The Document contains the Delta which contains all the operations. Inside operat
- setCustomRules -→ Could be extremely useful because we can edit the text editor each time something outstanding happens

**/rules**
- Seems to contain business logic for handling operations and delta modifications
- Contain business logic for handling operations and delta modifications
- PreserveLineStyleOnSplitRule - Preserves the style to the split line

**node.dart**
Expand Down

0 comments on commit 4f851e1

Please sign in to comment.