chen56 / you

flutter note

Home Page:https://chen56.github.io/you/flutter_web/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

简化note分析器&cell分割逻辑

chen56 opened this issue · comments

  1. 用Excption机制来定位到cell,以简化cell代码
  2. 重新设计cell分割的方法,简化现有逻辑
  3. 基于offset的语法分析定位,转为基于行的,不然,些许update也会重新生成
  4. source不再放在note.g.dart里,用Asset机制搞
  5. 分析后的cell数据从note.g.dart 改为note.json