reqable / re-editor Goto Github PK
View Code? Open in Web Editor NEWRe-Editor is a powerful lightweight text and code editor widget.
Home Page: https://pub.dev/packages/re_editor
License: MIT License
Re-Editor is a powerful lightweight text and code editor widget.
Home Page: https://pub.dev/packages/re_editor
License: MIT License
Describe the bug
I'm downloading the text at this URL: https://youtube.co.jp probably others will fail, but that's what I'm testing
To Reproduce
Get the text for the the url https://youtube.co.jp and display it in a CodeEditor
Expected behavior
Should no crash
Screenshots
Device:
Hi,
I would like to express my gratitude for the editor; it has been indispensable to me. However, I am encountering a problem with the autocompletion functionality: Currently, when utilizing the arrow keys to navigate through the list of suggested keywords, the functionality does not permit movement beyond the initially visible options. For instance, if five keywords are displayed in the autocomplete dropdown, it is not possible to navigate to the sixth keyword or beyond. I would appreciate any assistance you could provide to resolve this matter.
Is there any way to disable auto closing of brackets and quotes? If yes, how do I do that
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Device:
Additional context
Add any other context about the problem here.
During my use on iOS, I found that both double clicking and long pressing will trigger the toolbar, which makes it impossible to move both cursors to select content.
Simultaneously long press and hold to select a section of text, and you will find that only the last selected short section of text is copied to the clipboard after copying.
Describe the bug
The cursor does not move when long pressing the space key.
Device:
CodeEditorStyle(
backgroundColor: Colors.white,
codeTheme: CodeHighlightTheme(
languages: {
'json': CodeHighlightThemeMode(mode: langJson),
'txt': CodeHighlightThemeMode(mode: langPlaintext),
},
theme: atomOneDarkTheme,
),
)
I want to parse a big json and level is deep, how can I use indent line in my CodeEditor?
I need to format HTML. lots of language are supported but not HTML.
Can you please help and support HTML ? it would be so great
This package uses dart:isolate which is not supported on web platforms:
Unsupported operation: dart:isolate is not supported on dart4web
https://dart.dev/language/concurrency#concurrency-on-the-web suggests using web works instead. Would it be possible to implement this? After a quick search I found two different packages that might help:
https://pub.dev/packages/isolate_manager
https://pub.dev/packages/isolated_worker
Describe the bug
findController.nextMatch() works only, if the editor does not have the focus. This makes it impossible to implement the following feature: pressing some kind of shortcut to jump to the next match while editing the text (like Ctrl+K in IntelliJ) won't work.
To Reproduce
Expected behavior
We should navigate to the next match in that case.
Analysis
The reason nothing works is the following code:
/// File _code_editable.dart
void _onCodeFindChanged() {
final CodeFindValue? value = widget.findController.value;
if (value == null) {
widget.focusNode.requestFocus();
return;
}
/// -> prevents further processing. Why is this check necessary? Is it to avoid unintended onCodeFindChanged actions? Can we
/// avoid those using a different check?
if (widget.focusNode.hasFocus) {
return;
}
Device:
安卓平台收起键盘后点击输入框无法重新弹出键盘,还有当点击其他区域失去焦点后点击输入框无法重新获取焦点
ios平台使用原生键盘长按空格无法移动光标,键盘不会跟随夜间模式
如何自定义自己的快捷键,例如我是增加快捷键 command + enter。我在codeEditor外层套了一层shortcuts,但是不管用,是不是事件被code editor给拦截了
Hi,
Thanks for this editor. I followed your example code for autocompletion. I want to turn off all auto keywords prompts. I need only "directPrompts" words. It should match with directPrompts whatever I type(Upper or lower case word) How do I achieve this?
Pls help me.
Thanks in advance
Srimathi
Thankyou for this editor. However, I am encountering a persistent issue as follows:
Despite selecting a keyword by pressing the Enter key, the autocomplete feature continues to display suggestions similar to the chosen keyword. For instance, consider the keywords “Apple” and “Apples.” When typing “appl,” the autocomplete suggests both options. After selecting “Apple” and pressing Enter, the autocomplete feature persists in showing “Apples” as a suggested keyword.
It would be greatly appreciated if you could provide a solution to this issue.
Thanks in advance
Describe the bug
Keyboard won't use night mode on iOS
Device:
I think pageView scrollable is taking over the space control for re_editor
platform: web
Hi,
I am using codeLineEditingController.text to set and get the text on the editor. I want to blink the cursor at the end of the line or document. How can I achieve this? I tried the below code while clicking the button. The cursor is not moving to the end. please help me.
setState(() {
codeLineEditingController.text =
formatted text;
codeLineEditingController
.moveCursorToLineEnd();
});
Thanks in advance
Srimathi
I am very satisfied with the speed of editing.
But, Highlighting is slow when code is large.
When entering new code after several thousand lines of code, highlighting takes more than a few seconds.
Is there any solution?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.