Skip to content
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

FormatException: Nothing to repeat #78

Closed
t-m-z opened this issue May 19, 2023 · 2 comments
Closed

FormatException: Nothing to repeat #78

t-m-z opened this issue May 19, 2023 · 2 comments

Comments

@t-m-z
Copy link

t-m-z commented May 19, 2023

I try to implement a Befunge-Interpreter. Hence I defined a Map<String, TextStyle> BEFUNGE_SYNTAX for the relevant syntax-Highlighting.
The following code causes the FormatException:
void initState() {
super.initState();
_befungeGenerateController = TextEditingController(text: _currentGenerate);
_befungeInterpretCodeController = CodeController(
text: _currentInterpret,
stringMap: BEFUNGE_SYNTAX,
);
_inputController = TextEditingController(text: _currentInput);
_codeGenerateController = TextEditingController(text: _sourceCodeGenerated);
}

@BertrandBev
Copy link
Owner

Hi! I think that question would better be answered over at https://pub.dev/packages/flutter_highlight!

@t-m-z
Copy link
Author

t-m-z commented Jun 16, 2023

Hi, thank you for your answer. I apologize for my little knowledge.
Your hint leads to another question.
When starting to raise an issue I saw a note (git-touch/highlight.dart#47), that this project seems abandoned, so we forked it. The new package is published as:
https://pub.dev/packages/highlighting
https://pub.dev/packages/flutter_highlighting

Could you have a look at this. Maybe this new fork also solves my problem when using your package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants