-
Notifications
You must be signed in to change notification settings - Fork 76
Issue 172: Delete CodeController.theme, bump version to 0.3.0 #247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
CHANGELOG.md
Outdated
## 0.3.0 | ||
* **BREAKING:** Deleted `CodeController.stringMap`. | ||
* **BREAKING:** Deleted `theme` from `CodeController`, (Issue [172](https://github.com/akvelon/flutter-code-editor/issues/172)). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## 0.3.0 | |
* **BREAKING:** Deleted `CodeController.stringMap`. | |
* **BREAKING:** Deleted `theme` from `CodeController`, (Issue [172](https://github.com/akvelon/flutter-code-editor/issues/172)). | |
## 0.3.0 | |
* **BREAKING:** Deleted `CodeController.stringMap`. | |
* **BREAKING:** Deleted `CodeController.theme`, (Issue [172](https://github.com/akvelon/flutter-code-editor/issues/172)). |
// This check is disabled, because _processPatterns | ||
// breaks emoji display and is was not useful. | ||
// if (_styleRegExp != null) { | ||
// return _processPatterns(text, style); | ||
// } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete.
// TextSpan _processPatterns(String text, TextStyle? style) { | ||
// final children = <TextSpan>[]; | ||
|
||
// text.splitMapJoin( | ||
// _styleRegExp!, | ||
// onMatch: (Match m) { | ||
// if (_styleList.isEmpty) { | ||
// return ''; | ||
// } | ||
|
||
// int idx; | ||
// for (idx = 1; | ||
// idx < m.groupCount && | ||
// idx <= _styleList.length && | ||
// m.group(idx) == null; | ||
// idx++) {} | ||
|
||
// children.add( | ||
// TextSpan( | ||
// text: m[0], | ||
// style: _styleList[idx - 1], | ||
// ), | ||
// ); | ||
// return ''; | ||
// }, | ||
// onNonMatch: (String span) { | ||
// children.add(TextSpan(text: span, style: style)); | ||
// return ''; | ||
// }, | ||
// ); | ||
|
||
// return TextSpan(style: style, children: children); | ||
// } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete.
Codecov Report
@@ Coverage Diff @@
## main #247 +/- ##
==========================================
+ Coverage 81.96% 82.50% +0.54%
==========================================
Files 107 107
Lines 3166 3144 -22
==========================================
- Hits 2595 2594 -1
+ Misses 571 550 -21
|
Deleted
CodeController.stringMap
.Resolves #172