# lexi **Repository Path**: jidaxia/lexi ## Basic Information - **Project Name**: lexi - **Description**: 实现 Gang of Four's 《Design Pattern》中的Lexi编辑器 clone from https://github.com/AmitDutta/lexi.git - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 1 - **Created**: 2020-03-10 - **Last Updated**: 2023-08-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Lexi ==== Implementation of Lexi editor as described in Gang of Four's Design Pattern Book. All the following Design Patterns are implemented in this Editor; 1. Composite: Creating a Glyph hierarchy (Character, Glyph and recursive composition), Row 2. Strategy: Line breaking algorithm 3. Decorator: To add a Scrollbar dynamically at runtime and also removing it 4. Command: Implementation of Command pattern (encapsulating requests as objects) and all undo, redo, command history management Implemented Commands are: Font Size Increase, Decrease, Bold, Italic, Insert, Delete 5. Observer: Classic implementation of Observer pattern. Try to load the Editor with a same mode and multiple views. Right now it runs this way. 6. Visitor: Full visitor pattern implementation for spell checking. It can highlight the misspelled words in red, 7. Multiline selection by mouse drag, Glyph Highlight is done. 8. Singletone In CommandManager Class